summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-stat.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2020-11-30 14:58:32 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-11-30 15:00:12 -0300
commit64b4778b863b6fa84e36e043fb34bde6b847fa96 (patch)
tree06f9e7fc018cffe1fcb3f856c8988e52adc69e82 /tools/perf/builtin-stat.c
parent7748bb7175ccad5ee29e7355134b0061d8edf3d2 (diff)
downloadlinux-stable-64b4778b863b6fa84e36e043fb34bde6b847fa96.tar.gz
linux-stable-64b4778b863b6fa84e36e043fb34bde6b847fa96.tar.bz2
linux-stable-64b4778b863b6fa84e36e043fb34bde6b847fa96.zip
perf evlist: Use the right prefix for 'struct evlist' event group methods
perf_evlist__ is for 'struct perf_evlist' methods, in tools/lib/perf/, go on completing this split. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-stat.c')
-rw-r--r--tools/perf/builtin-stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c
index 1e967c32db7c..89c32692f40c 100644
--- a/tools/perf/builtin-stat.c
+++ b/tools/perf/builtin-stat.c
@@ -759,7 +759,7 @@ try_again:
if ((errno == EINVAL || errno == EBADF) &&
counter->leader != counter &&
counter->weak_group) {
- perf_evlist__reset_weak_group(evsel_list, counter, false);
+ evlist__reset_weak_group(evsel_list, counter, false);
assert(counter->reset_group);
second_pass = true;
continue;