diff options
| author | Namhyung Kim <[email protected]> | 2024-04-04 17:57:11 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-04-08 20:43:20 +0000 |
| commit | 0c053ed27303660140ee5e9a82c06f923d4f9c73 (patch) | |
| tree | 3a4fb659d072daae9e47685bc6606230e46d3bae /tools/perf/util/annotate.h | |
| parent | perf annotate: Introduce annotated_source__get_line() (diff) | |
| download | kernel-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
