aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/arch
diff options
context:
space:
mode:
authorGravatar Arnaldo Carvalho de Melo <acme@redhat.com> 2020-04-30 11:03:49 -0300
committerGravatar Arnaldo Carvalho de Melo <acme@redhat.com> 2020-05-05 16:35:31 -0300
commit6b6017a20650d908d7b5830cc991947991146a5f (patch)
tree20b08bfb2152ef5db3c8707610868da34def09dd /tools/perf/arch
parentperf evsel: Rename *perf_evsel__read*() to *evsel__read() (diff)
downloadlinux-6b6017a20650d908d7b5830cc991947991146a5f.tar.gz
linux-6b6017a20650d908d7b5830cc991947991146a5f.tar.bz2
linux-6b6017a20650d908d7b5830cc991947991146a5f.zip
perf evsel: Rename perf_evsel__parse_sample*() to evsel__parse_sample*()
As these are '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/arch')
-rw-r--r--tools/perf/arch/x86/tests/perf-time-to-tsc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/perf/arch/x86/tests/perf-time-to-tsc.c b/tools/perf/arch/x86/tests/perf-time-to-tsc.c
index 909ead08a6f6..026d32ed078e 100644
--- a/tools/perf/arch/x86/tests/perf-time-to-tsc.c
+++ b/tools/perf/arch/x86/tests/perf-time-to-tsc.c
@@ -130,13 +130,11 @@ int test__perf_time_to_tsc(struct test *test __maybe_unused, int subtest __maybe
goto next_event;
if (strcmp(event->comm.comm, comm1) == 0) {
- CHECK__(perf_evsel__parse_sample(evsel, event,
- &sample));
+ CHECK__(evsel__parse_sample(evsel, event, &sample));
comm1_time = sample.time;
}
if (strcmp(event->comm.comm, comm2) == 0) {
- CHECK__(perf_evsel__parse_sample(evsel, event,
- &sample));
+ CHECK__(evsel__parse_sample(evsel, event, &sample));
comm2_time = sample.time;
}
next_event: