diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-06-17 14:24:21 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-06-22 21:28:09 +0200 |
commit | b3c2cc2bd21d1d97b34fcd1a08ca7f8cc29202a0 (patch) | |
tree | 85cdac59b47309c4e5a7e00c0dbab491f10772a3 /tools/perf/builtin-c2c.c | |
parent | perf evlist: Fix the class prefix for 'struct evlist' strerror methods (diff) | |
download | linux-b3c2cc2bd21d1d97b34fcd1a08ca7f8cc29202a0.tar.xz linux-b3c2cc2bd21d1d97b34fcd1a08ca7f8cc29202a0.zip |
perf evlist: Fix the class prefix for 'struct evlist' sample_type methods
To differentiate from libperf's 'struct perf_evlist' methods.
Cc: Adrian Hunter <adrian.hunter@intel.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-c2c.c')
-rw-r--r-- | tools/perf/builtin-c2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-c2c.c b/tools/perf/builtin-c2c.c index d617d5682c68..5938b100eaf4 100644 --- a/tools/perf/builtin-c2c.c +++ b/tools/perf/builtin-c2c.c @@ -2582,7 +2582,7 @@ parse_callchain_opt(const struct option *opt, const char *arg, int unset) static int setup_callchain(struct evlist *evlist) { - u64 sample_type = perf_evlist__combined_sample_type(evlist); + u64 sample_type = evlist__combined_sample_type(evlist); enum perf_call_graph_mode mode = CALLCHAIN_NONE; if ((sample_type & PERF_SAMPLE_REGS_USER) && |