simpleperf: fix hash function for CallChainJoiner.
Apps using AsyncTask may have multiple threads running the same
code. Recording these apps creates many callchain entries with the
same ip value but different tid and sp values. It drastically
increases callchain joining time because only ip value is used
in the hash function. This CL fixes the hash function by using
all values.
Also add time debug log for different stages of recording.
Bug: 110925438
Test: run simpleperf manually, the callchain joining time is decreased
Test: from 71s to 600ms in one case.
Change-Id: Idd7b5b4459fb7cca3d7cfb229c2f90cd7b48ea0b
2 files changed