aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2024-04-04 17:57:11 +0000
committerArnaldo Carvalho de Melo <[email protected]>2024-04-08 20:43:20 +0000
commit0c053ed27303660140ee5e9a82c06f923d4f9c73 (patch)
tree3a4fb659d072daae9e47685bc6606230e46d3bae /tools/perf/util/annotate.h
parentperf annotate: Introduce annotated_source__get_line() (diff)
downloadkernel-0c053ed27303660140ee5e9a82c06f923d4f9c73.tar.gz
kernel-0c053ed27303660140ee5e9a82c06f923d4f9c73.zip
perf annotate: Check annotation lines more efficiently
In some places, it checks annotated (disasm) lines for each byte. But as it already has a list of disasm lines, it'd be better to traverse the list entries instead of checking every offset with linear search (by annotated_source__get_line() helper). Signed-off-by: Namhyung Kim <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.h')
0 files changed, 0 insertions, 0 deletions