diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-06-17 14:16:20 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-06-22 21:28:09 +0200 |
commit | e251abee87cf9c49a2ec1b143bd71f92b71557c1 (patch) | |
tree | 8a7e10a4df6dcea2b2f2f5a57c4463386353c87c /tools/perf/builtin-trace.c | |
parent | perf pmu: Improve CPU core PMU HW event list ordering (diff) | |
download | linux-e251abee87cf9c49a2ec1b143bd71f92b71557c1.tar.xz linux-e251abee87cf9c49a2ec1b143bd71f92b71557c1.zip |
perf evlist: Fix the class prefix for 'struct evlist' 'add' evsel 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-trace.c')
-rw-r--r-- | tools/perf/builtin-trace.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index 4cbb64edc998..b9c8b40c7135 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c @@ -3917,8 +3917,7 @@ static int trace__run(struct trace *trace, int argc, const char **argv) } if (trace->sched && - perf_evlist__add_newtp(evlist, "sched", "sched_stat_runtime", - trace__sched_stat_runtime)) + evlist__add_newtp(evlist, "sched", "sched_stat_runtime", trace__sched_stat_runtime)) goto out_error_sched_stat_runtime; /* * If a global cgroup was set, apply it to all the events without an |