diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-06-17 09:29:48 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-06-22 16:28:10 -0300 |
commit | 8cedf3a5c1f232fd8adf60affd040d32c5d9800f (patch) | |
tree | 612a97f8be691993f3cc537c18710261316c1665 /tools/perf/builtin-record.c | |
parent | b3c2cc2bd21d1d97b34fcd1a08ca7f8cc29202a0 (diff) | |
download | linux-8cedf3a5c1f232fd8adf60affd040d32c5d9800f.tar.gz linux-8cedf3a5c1f232fd8adf60affd040d32c5d9800f.tar.bz2 linux-8cedf3a5c1f232fd8adf60affd040d32c5d9800f.zip |
perf evlist: Fix the class prefix for 'struct evlist' sample_id_all 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-record.c')
-rw-r--r-- | tools/perf/builtin-record.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 1eeb58eac5df..19b1d5effb7a 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c @@ -1646,7 +1646,7 @@ static int __cmd_record(struct record *rec, int argc, const char **argv) * Normally perf_session__new would do this, but it doesn't have the * evlist. */ - if (rec->tool.ordered_events && !perf_evlist__sample_id_all(rec->evlist)) { + if (rec->tool.ordered_events && !evlist__sample_id_all(rec->evlist)) { pr_warning("WARNING: No sample_id_all support, falling back to unordered processing\n"); rec->tool.ordered_events = false; } |