perf annotate: Use generic annotation line
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest35 patches 20 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/35 | perf annotate: Remove arch::cpuid_parse callbacktools/ tools/ tools/ +3 more | +27 | 0 replies | |
| 2/35 | perf annotate: Add annotation_line structtools/ tools/ tools/ +1 more | +42 | 2 replies | |
| 3/35 | perf annotate: Move line/offset into annotation_line structtools/ tools/ tools/ +1 more | +54 | 0 replies | |
| 4/35 | perf annotate: Move ipc/cycles into annotation_line structtools/ tools/ | +10 | 0 replies | |
| 5/35 | perf annotate: Add symbol__annotate functiontools/ tools/ tools/ +2 more | +42 | 0 replies | |
| 6/35 | perf annotate: Add struct annotate_argstools/ | +18 | 0 replies | |
| 7/35 | perf annotate: Add arch into struct annotate_argstools/ | +8 | 0 replies | |
| 8/35 | perf annotate: Add map into struct annotate_argstools/ | +11 | 0 replies | |
| 9/35 | perf annotate: Add offset/line/line_nr into struct annotate_argstools/ | +13 | 0 replies | |
| 10/35 | perf annotate: Add evsel into struct annotation_line_argstools/ tools/ tools/ +1 more | +11 | 0 replies | |
| 11/35 | perf annotate: Add annotation_line__next functiontools/ tools/ tools/ | +13 | 0 replies | |
| 12/35 | perf annotate: Add annotation_line__add functiontools/ | +3 | 0 replies | |
| 13/35 | perf annotate: Move rb_node into struct annotation_linetools/ tools/ | +17 | 0 replies | |
| 14/35 | perf annotate: Add annotation_line__(new|free) functionstools/ tools/ tools/ | +68 | 0 replies | |
| 15/35 | perf annotate: Add annotated_source__purge functiontools/ tools/ tools/ | +10 | 0 replies | |
| 16/35 | perf annotate: Add samples into struct annotation_linetools/ tools/ | +20 | 7 replies | |
| 17/35 | perf annotate: Add symbol__calc_percent functiontools/ | +64 | 0 replies | |
| 18/35 | perf annotate: Add symbol__calc_lines functiontools/ tools/ | +68 | 0 replies | |
| 19/35 | perf annotate: Remove disasm__calc_percent from disasm_line__printtools/ | +15 | 0 replies | |
| 20/35 | perf annotate: Remove disasm__calc_percent from annotate_browser__calc_percenttools/ tools/ tools/ | +8 | 0 replies | |
| 21/35 | perf annotate: Remove disasm__calc_percent functiontools/ tools/ | +0 | 0 replies | |
| 22/35 | perf annotate: Remove struct source_linetools/ | +0 | 0 replies | |
| 23/35 | perf annotate: Add annotation_line__print functiontools/ | +22 | 0 replies | |
| 24/35 | perf annotate: Factor annotation_line__print from disasm_line__printtools/ | +33 | 0 replies | |
| 25/35 | perf annotate browser: Use samples data from struct annotation_linetools/ | +20 | 0 replies | |
| 26/35 | perf annotate browser: Do not pass nr_events in disasm_rb_tree__inserttools/ | +6 | 0 replies | |
| 27/35 | perf annotate browser: Rename struct browser_disasm_line to browser_linetools/ | +13 | 1 reply | |
| 28/35 | perf annotate browser: Rename disasm_line__browser to browser_linetools/ | +8 | 1 reply | |
| 29/35 | perf annotate browser: Change selection to struct annotation_linetools/ | +34 | 1 reply | |
| 30/35 | perf annotate browser: Change offsets to struct annotation_linetools/ | +29 | 0 replies | |
| 31/35 | perf annotate browser: Use struct annotation_line in browser_linetools/ | +28 | 0 replies | |
| 32/35 | perf annotate browser: Use struct annotation_line in find functionstools/ | +20 | 0 replies | |
| 33/35 | perf annotate browser: Use struct annotation_line in browser toptools/ | +13 | 0 replies | |
| 34/35 | perf annotate browser: Add disasm_line__write functiontools/ | +53 | 0 replies | |
| 35/35 | perf annotate: Align source and offset linestools/ | +4 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/35] perf annotate: Use generic annotation line
hi,
I'm working on script profiling support and came up with some generic annotation code changes, which IMO make the code simpler and more generic.
The main idea of this patchset is to have generic struct (annotation_line), which holds the common profile data. Having this we can easily add new types, like script annotation support. Currently there's disasm_line support only.
It's also available at:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git perf/annotate
I'm getting same annotation results for this patchset as in the current perf, but I might have missed something.
thanks,
jirka
--- tools/perf/arch/arm/annotate/instructions.c | 3 +- tools/perf/arch/arm64/annotate/instructions.c | 3 +- tools/perf/arch/powerpc/annotate/instructions.c | 4 +- tools/perf/arch/s390/annotate/instructions.c | 4 +- tools/perf/arch/x86/annotate/instructions.c | 14 +++ tools/perf/builtin-top.c | 2 +- tools/perf/ui/browsers/annotate.c | 404 +++++++++++++++++++++++++++++++++++------------------------------------- tools/perf/ui/gtk/annotate.c | 23 ++--- tools/perf/util/annotate.c | 635 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------ tools/perf/util/annotate.h | 76 ++++++++------ 10 files changed, 609 insertions(+), 559 deletions(-)