diff options
| author | Kan Liang <[email protected]> | 2024-08-13 16:02:04 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-08-14 13:20:40 +0000 |
| commit | 7398bf181d59a8c8d8d13cb555bf3f44b70f6221 (patch) | |
| tree | 3f8bf0b846f03beff63bb3ada68caed196c5629f /tools/perf/builtin-diff.c | |
| parent | perf annotate: Save branch counters for each block (diff) | |
| download | kernel-7398bf181d59a8c8d8d13cb555bf3f44b70f6221.tar.gz kernel-7398bf181d59a8c8d8d13cb555bf3f44b70f6221.zip | |
perf evsel: Assign abbr name for the branch counter events
There could be several branch counter events. If perf tool output the
result via the format "event name + a number", the line could be very
long and hard to read.
An abbreviation is introduced to replace the full event name in the
display. The abbreviation starts from 'A' to 'Z9', which can support
up to 286 events. The same abbreviation will be assigned if the same
events are found in the evlist. The next patch will utilize the
abbreviation name to show the branch counter events in the output.
Reviewed-by: Andi Kleen <[email protected]>
Signed-off-by: Kan Liang <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-diff.c')
0 files changed, 0 insertions, 0 deletions
