summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2021-04-26 18:37:12 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-04-29 10:30:58 -0300
commitbf8f8587bfb6d1315771a252a1a3be20fda1d783 (patch)
tree01bc53c8629623b46968ac38ff2397d5a2b03dfd /tools/perf/builtin-annotate.c
parentd0713d4ca3e94827de77f8758e3e8045a0d85215 (diff)
downloadlinux-stable-bf8f8587bfb6d1315771a252a1a3be20fda1d783.tar.gz
linux-stable-bf8f8587bfb6d1315771a252a1a3be20fda1d783.tar.bz2
linux-stable-bf8f8587bfb6d1315771a252a1a3be20fda1d783.zip
perf top: Use evlist->events_stat to count events
It's mainly to count lost events for the warning so it should be ok to use the evlist->stats instead. This is needed for changes in the next commit. Reviewed-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Acked-by: Jiri Olsa <jolsa@redhat.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20210427013717.1651674-2-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions