commit | af979fb3cec23386e582b1a32bb4e1b196c3cf8b | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@kernel.org> | Thu Dec 18 16:29:07 2014 +0900 |
committer | Namhyung Kim <namhyung@kernel.org> | Wed Dec 24 08:42:42 2014 +0900 |
tree | 9fc86da826ae51db0aa1b4abb87e6a0935696ead | |
parent | a0065ca64273e26cd90b76fb9acfc4c742355936 [diff] |
perf tools: Add front cache for dso data access There's a high contention in dso_cache__find() due to the dso->lock when dwarf unwinding is done with libunwind. Add last accessed pointers of dso_cache to lockless lookup. It'll fallback to normal tree search when it misses the last cache. The size 16 is arbitrary and works best for my setting. Signed-off-by: Namhyung Kim <namhyung@kernel.org>