diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-05-06 17:55:06 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-05-28 15:03:24 +0200 |
commit | 4c70382824beafe81b9437c6a07dbef7798eb85e (patch) | |
tree | 4637b5b8a2881e248e97d5d994829d2422537003 /tools/perf/util/hist.c | |
parent | perf/x86/rapl: Add AMD Fam17h RAPL support (diff) | |
download | linux-4c70382824beafe81b9437c6a07dbef7798eb85e.tar.xz linux-4c70382824beafe81b9437c6a07dbef7798eb85e.zip |
perf evsel: Rename perf_evsel__object_config() to evsel__object_config()
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/util/hist.c')
-rw-r--r-- | tools/perf/util/hist.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c index 12b65d00cf65..a7dcd92d9332 100644 --- a/tools/perf/util/hist.c +++ b/tools/perf/util/hist.c @@ -2845,9 +2845,8 @@ static int hists_evsel__init(struct evsel *evsel) int hists__init(void) { - int err = perf_evsel__object_config(sizeof(struct hists_evsel), - hists_evsel__init, - hists_evsel__exit); + int err = evsel__object_config(sizeof(struct hists_evsel), + hists_evsel__init, hists_evsel__exit); if (err) fputs("FATAL ERROR: Couldn't setup hists class\n", stderr); |