diff options
| author | Namhyung Kim <[email protected]> | 2024-04-04 17:57:12 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-04-08 20:43:20 +0000 |
| commit | cee9b86043d3690bc9154dabe13e7d53ca44ef9b (patch) | |
| tree | 0bef638519d298a8c43c7db0449b892669ca471c /tools/perf/util/annotate-data.c | |
| parent | perf annotate: Check annotation lines more efficiently (diff) | |
| download | kernel-cee9b86043d3690bc9154dabe13e7d53ca44ef9b.tar.gz kernel-cee9b86043d3690bc9154dabe13e7d53ca44ef9b.zip | |
perf annotate: Get rid of offsets array
The struct annotated_source.offsets[] is to save pointers to
annotation_line at each offset. We can use annotated_source__get_line()
helper instead so let's get rid of the array.
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-data.c')
0 files changed, 0 insertions, 0 deletions
