summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/evsel-tp-sched.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2020-04-29 21:26:57 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-05-05 21:35:30 +0200
commitefc0cdc9ed5e6cfb060ff7b77834cad9d3c97d1d (patch)
treea910dc627d1fa9bad78253b7aad69077f8132108 /tools/perf/tests/evsel-tp-sched.c
parentperf evsel: Rename perf_evsel__open_per_*() to evsel__open_per_*() (diff)
downloadlinux-efc0cdc9ed5e6cfb060ff7b77834cad9d3c97d1d.tar.xz
linux-efc0cdc9ed5e6cfb060ff7b77834cad9d3c97d1d.zip
perf evsel: Rename perf_evsel__{str,int}val() and other tracepoint field metehods to to evsel__*()
As those 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/tests/evsel-tp-sched.c')
-rw-r--r--tools/perf/tests/evsel-tp-sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/evsel-tp-sched.c b/tools/perf/tests/evsel-tp-sched.c
index 261e6eaaee99..ce8aa32bc3ee 100644
--- a/tools/perf/tests/evsel-tp-sched.c
+++ b/tools/perf/tests/evsel-tp-sched.c
@@ -8,7 +8,7 @@
static int perf_evsel__test_field(struct evsel *evsel, const char *name,
int size, bool should_be_signed)
{
- struct tep_format_field *field = perf_evsel__field(evsel, name);
+ struct tep_format_field *field = evsel__field(evsel, name);
int is_signed;
int ret = 0;