perf tools: Speed up dwarf callchain post-unwinding for libunwind (v3)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | perf report: Set callchain_param.record_mode for future usetools/ | +6 | 0 replies | |
| 1/5 | perf report: Set callchain_param.record_mode for future usetools/ tools/ tools/ +1 more | +11 | 1 reply | |
| 2/5 | perf callchain: Create an address space per threadtools/ tools/ tools/ | +54 | 0 replies | |
| 3/5 | perf callchain: Use global caching provided by libunwindtools/ tools/ tools/ | +18 | 0 replies | |
| 4/5 | perf kvm: Use thread_{,_set}_priv helperstools/ | +3 | 0 replies | |
| 5/5 | perf trace: Use thread_{,_set}_priv helperstools/ | +8 | 0 replies |
Reviews trailers per patch
2 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Jean Pihet |
|---|---|
| 1/5 | |
| 1/5 | |
| 2/5 | A-b |
| 3/5 | A-b |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHSET 0/5] perf tools: Speed up dwarf callchain post-unwinding for libunwind (v3)
Hello,
This is v3 for libunwind callchain post processing speed up. It was able to reduce 50% of processing time by using global cache provided in libunwind. In this version, I decided to use the existing callchain_param.record_mode instead of adding a new field in the symbol_conf.
The patch 4 and 5 are just cleanups so that we can easily find out that which part of code uses the thread->priv.
You can also get it from 'perf/callchain-unwind-v3' branch on my tree:
git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git
Thanks,
Namhyung
Namhyung Kim (5):
perf report: Set callchain_param.record_mode for future use perf callchain: Create an address space per thread perf callchain: Use global caching provided by libunwind perf kvm: Use thread_{,_set}_priv helpers
perf trace: Use thread_{,_set}_priv helpers
tools/perf/builtin-kvm.c | 6 ++--- tools/perf/builtin-report.c | 6 +++++ tools/perf/builtin-trace.c | 16 ++++++------- tools/perf/tests/dwarf-unwind.c | 3 +++ tools/perf/util/callchain.h | 2 ++ tools/perf/util/hist.h | 2 -- tools/perf/util/thread.c | 9 +++++++ tools/perf/util/unwind-libunwind.c | 48 ++++++++++++++++++++++++++++++++++---- tools/perf/util/unwind.h | 20 ++++++++++++++++ 9 files changed, 94 insertions(+), 18 deletions(-)
Signature · 1 line
2.1.0