Commit 088519f3 authored by Jiri Olsa's avatar Jiri Olsa Committed by Arnaldo Carvalho de Melo

perf stat: Move the display functions to stat-display.c

Move perf_evlist__print_counters() with all its dependency functions to
the stat-display.c object.
Signed-off-by: default avatarJiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180830063252.23729-44-jolsa@kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent d0192fdb
This diff is collapsed.
...@@ -73,6 +73,7 @@ libperf-y += vdso.o ...@@ -73,6 +73,7 @@ libperf-y += vdso.o
libperf-y += counts.o libperf-y += counts.o
libperf-y += stat.o libperf-y += stat.o
libperf-y += stat-shadow.o libperf-y += stat-shadow.o
libperf-y += stat-display.o
libperf-y += record.o libperf-y += record.o
libperf-y += srcline.o libperf-y += srcline.o
libperf-y += data.o libperf-y += data.o
......
This diff is collapsed.
...@@ -215,4 +215,10 @@ int perf_stat_synthesize_config(struct perf_stat_config *config, ...@@ -215,4 +215,10 @@ int perf_stat_synthesize_config(struct perf_stat_config *config,
struct perf_evlist *evlist, struct perf_evlist *evlist,
perf_event__handler_t process, perf_event__handler_t process,
bool attrs); bool attrs);
void
perf_evlist__print_counters(struct perf_evlist *evlist,
struct perf_stat_config *config,
struct target *_target,
struct timespec *ts,
int argc, const char **argv);
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment