ART: Add method names to lock-contention samples
Obfuscators and optimizers will strip reliable source info from
dex files, making the traditional source file name and line number
emitted in lock-contention samples not very useful.
Add the method names to the sample. While this significantly
increases the size of the sample, it allows mapping obfuscated
code back to the source, pinpointing the involved locks.
Contention samples:
Before:
[com.google.android.gms,1,main,956,:com.google.android.gms,6,AssetManager.java,-2,100]
After:
[com.google.android.gms,1,main,956,:com.google.android.gms,6,bzv com.google.android.chimera.container.ConfigurationManager.b(),AssetManager.java,-2,int android.content.res.AssetManager.getStringBlockCount(),100]
Bug: 62241642
Test: m
Test: m test-art-host
Test: Device boots
Test: Manual inspection of reports
Change-Id: I8d7a65e16e022d53aba1ced2fdb202f24bced516
1 file changed