]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf annotate: Set notes->src->nr_events early
authorNamhyung Kim <namhyung@kernel.org>
Sat, 3 Aug 2024 21:13:29 +0000 (14:13 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 5 Aug 2024 19:11:03 +0000 (16:11 -0300)
commitcb1e8bfc7914747692c06b215539ef80105fddbc
treef21bd6c7746c75c09c1f2de4307dc527f3fa92c7
parent2dc02c26419b984692e20949252ca6cba515abaf
perf annotate: Set notes->src->nr_events early

We want to use it in different places so make sure it sets properly
in symbol__annotate() before creating the disasm lines.

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-3-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c