aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2024-08-03 21:13:28 +0000
committerArnaldo Carvalho de Melo <[email protected]>2024-08-05 19:07:02 +0000
commit2dc02c26419b984692e20949252ca6cba515abaf (patch)
treec194245691162ed6feb3b97348d6fcc93a089222 /tools/perf/builtin-annotate.c
parenttools build: Correct bpf fixdep dependencies (diff)
downloadkernel-2dc02c26419b984692e20949252ca6cba515abaf.tar.gz
kernel-2dc02c26419b984692e20949252ca6cba515abaf.zip
perf annotate: Use al->data_nr if possible
The data_nr keeps the number of entries in al->data[] so it should use it when it iterates the array. The notes->src->nr_events should have the same number but it'd be natural to use al->data_nr. 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/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions