diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-05-04 13:43:03 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-05-05 16:35:31 -0300 |
commit | 2bb72dbb826c40e2503949ea5d104c3af976d02c (patch) | |
tree | 24a7b484822990ee160fa3d6c060217bc13966b6 /tools/perf/builtin-record.c | |
parent | ae4308927e488435073a6aaf601a842ff7e5738f (diff) | |
download | lwn-2bb72dbb826c40e2503949ea5d104c3af976d02c.tar.gz lwn-2bb72dbb826c40e2503949ea5d104c3af976d02c.zip |
perf evsel: Rename perf_evsel__group_idx() to evsel__group_idx()
As it is a 'struct evsel' method, 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/builtin-record.c')
-rw-r--r-- | tools/perf/builtin-record.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 46aaa6b14ca1..e4efdbf1a81e 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c @@ -857,8 +857,7 @@ try_again: goto try_again; } rc = -errno; - perf_evsel__open_strerror(pos, &opts->target, - errno, msg, sizeof(msg)); + evsel__open_strerror(pos, &opts->target, errno, msg, sizeof(msg)); ui__error("%s\n", msg); goto out; } |