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>
This commit is contained in:
@@ -155,7 +155,7 @@ static int test1(struct evsel *evsel, struct machine *machine)
|
||||
goto out;
|
||||
|
||||
hists__collapse_resort(hists, NULL);
|
||||
perf_evsel__output_resort(evsel, NULL);
|
||||
evsel__output_resort(evsel, NULL);
|
||||
|
||||
if (verbose > 2) {
|
||||
pr_info("[fields = %s, sort = %s]\n", field_order, sort_order);
|
||||
@@ -255,7 +255,7 @@ static int test2(struct evsel *evsel, struct machine *machine)
|
||||
goto out;
|
||||
|
||||
hists__collapse_resort(hists, NULL);
|
||||
perf_evsel__output_resort(evsel, NULL);
|
||||
evsel__output_resort(evsel, NULL);
|
||||
|
||||
if (verbose > 2) {
|
||||
pr_info("[fields = %s, sort = %s]\n", field_order, sort_order);
|
||||
@@ -309,7 +309,7 @@ static int test3(struct evsel *evsel, struct machine *machine)
|
||||
goto out;
|
||||
|
||||
hists__collapse_resort(hists, NULL);
|
||||
perf_evsel__output_resort(evsel, NULL);
|
||||
evsel__output_resort(evsel, NULL);
|
||||
|
||||
if (verbose > 2) {
|
||||
pr_info("[fields = %s, sort = %s]\n", field_order, sort_order);
|
||||
@@ -387,7 +387,7 @@ static int test4(struct evsel *evsel, struct machine *machine)
|
||||
goto out;
|
||||
|
||||
hists__collapse_resort(hists, NULL);
|
||||
perf_evsel__output_resort(evsel, NULL);
|
||||
evsel__output_resort(evsel, NULL);
|
||||
|
||||
if (verbose > 2) {
|
||||
pr_info("[fields = %s, sort = %s]\n", field_order, sort_order);
|
||||
@@ -490,7 +490,7 @@ static int test5(struct evsel *evsel, struct machine *machine)
|
||||
goto out;
|
||||
|
||||
hists__collapse_resort(hists, NULL);
|
||||
perf_evsel__output_resort(evsel, NULL);
|
||||
evsel__output_resort(evsel, NULL);
|
||||
|
||||
if (verbose > 2) {
|
||||
pr_info("[fields = %s, sort = %s]\n", field_order, sort_order);
|
||||
|
Reference in New Issue
Block a user