diff options
| author | Namhyung Kim <[email protected]> | 2024-04-04 10:57:11 -0700 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-04-08 17:43:20 -0300 |
| commit | 0c053ed27303660140ee5e9a82c06f923d4f9c73 (patch) | |
| tree | 3a4fb659d072daae9e47685bc6606230e46d3bae /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 6f157d9af1e42aafa469deb7c16203e39a2f9545 (diff) | |
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/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions