diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-04-29 21:12:15 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-05-05 21:35:30 +0200 |
commit | 862b2f8fbc5b3a13d096b06560b6408f93388cf9 (patch) | |
tree | 0cf0548a064db8561118472c1e8e29709c731c61 /tools/perf/util/auxtrace.c | |
parent | perf evsel: Rename perf_evsel__group_desc() to evsel__group_desc() (diff) | |
download | linux-862b2f8fbc5b3a13d096b06560b6408f93388cf9.tar.xz linux-862b2f8fbc5b3a13d096b06560b6408f93388cf9.zip |
perf evsel: Rename *perf_evsel__*set_sample_*() to *evsel__*set_sample_*()
As they are not 'struct evsel' methods, not part of tools/lib/perf/, aka
libperf, to whom the perf_ prefix belongs.
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/util/auxtrace.c')
-rw-r--r-- | tools/perf/util/auxtrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/auxtrace.c b/tools/perf/util/auxtrace.c index bd27f73b6d60..e12696fe6f65 100644 --- a/tools/perf/util/auxtrace.c +++ b/tools/perf/util/auxtrace.c @@ -705,10 +705,10 @@ static int auxtrace_validate_aux_sample_size(struct evlist *evlist, pr_err("Cannot add AUX area sampling because group leader is not an AUX area event\n"); return -EINVAL; } - perf_evsel__set_sample_bit(evsel, AUX); + evsel__set_sample_bit(evsel, AUX); opts->auxtrace_sample_mode = true; } else { - perf_evsel__reset_sample_bit(evsel, AUX); + evsel__reset_sample_bit(evsel, AUX); } } |