diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-05-06 17:58:55 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-05-28 15:03:24 +0200 |
commit | 10c513f798d6482c51f943cf2bac8f7605558262 (patch) | |
tree | bb46c7905bc181812cd4511d3d7656fda0be1cf9 /tools/perf/tests/hists_cumulate.c | |
parent | perf evsel: Rename perf_evsel__object_config() to evsel__object_config() (diff) | |
download | linux-10c513f798d6482c51f943cf2bac8f7605558262.tar.xz linux-10c513f798d6482c51f943cf2bac8f7605558262.zip |
perf evsel: Rename perf_evsel__resort*() to evsel__resort*()
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/tests/hists_cumulate.c')
-rw-r--r-- | tools/perf/tests/hists_cumulate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/hists_cumulate.c b/tools/perf/tests/hists_cumulate.c index 7a542f1c1c78..3f2e1a581247 100644 --- a/tools/perf/tests/hists_cumulate.c +++ b/tools/perf/tests/hists_cumulate.c @@ -190,7 +190,7 @@ static int do_test(struct hists *hists, struct result *expected, size_t nr_expec * function since TEST_ASSERT_VAL() returns in case of failure. */ hists__collapse_resort(hists, NULL); - perf_evsel__output_resort(hists_to_evsel(hists), NULL); + evsel__output_resort(hists_to_evsel(hists), NULL); if (verbose > 2) { pr_info("use callchain: %d, cumulate callchain: %d\n", |