aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/hist.c
diff options
context:
space:
mode:
authorGravatar Arnaldo Carvalho de Melo <acme@redhat.com> 2020-11-30 14:55:12 -0300
committerGravatar Arnaldo Carvalho de Melo <acme@redhat.com> 2020-11-30 14:55:12 -0300
commit712737241980476a277a4108e3121240a29de968 (patch)
tree15dd0316f6fb4e33257867590eec90468dbc857a /tools/perf/util/hist.c
parentperf evlist: Use the right prefix for 'struct evlist' evsel list methods (diff)
downloadlinux-712737241980476a277a4108e3121240a29de968.tar.gz
linux-712737241980476a277a4108e3121240a29de968.tar.bz2
linux-712737241980476a277a4108e3121240a29de968.zip
perf evlist: Use the right prefix for 'struct evlist' print methods
perf_evlist__ is for 'struct perf_evlist' methods, in tools/lib/perf/, go on completing this split. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Ian Rogers <irogers@google.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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c
index 8a793e4c9400..7feeaa07c777 100644
--- a/tools/perf/util/hist.c
+++ b/tools/perf/util/hist.c
@@ -2654,7 +2654,7 @@ void hist__account_cycles(struct branch_stack *bs, struct addr_location *al,
}
}
-size_t perf_evlist__fprintf_nr_events(struct evlist *evlist, FILE *fp)
+size_t evlist__fprintf_nr_events(struct evlist *evlist, FILE *fp)
{
struct evsel *pos;
size_t ret = 0;