aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2024-08-03 14:13:28 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2024-08-05 16:07:02 -0300
commit2dc02c26419b984692e20949252ca6cba515abaf (patch)
treec194245691162ed6feb3b97348d6fcc93a089222 /tools/perf/util/scripting-engines/trace-event-python.c
parenttools build: Correct bpf fixdep dependencies (diff)
downloadwireguard-linux-2dc02c26419b984692e20949252ca6cba515abaf.tar.xz
wireguard-linux-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 <namhyung@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20240803211332.1107222-2-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions