aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/stat.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2018-08-30 08:32:52 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-08-30 15:52:25 -0300
commit088519f318be3a41d1afe8d628c4a1eb5a50b4c0 (patch)
tree488d5a3e13a77e66aeb62881780b5a350ff125af /tools/perf/util/stat.h
parentperf stat: Move 'metric_events' to 'struct perf_stat_config' (diff)
downloadlinux-dev-088519f318be3a41d1afe8d628c4a1eb5a50b4c0.tar.xz
linux-dev-088519f318be3a41d1afe8d628c4a1eb5a50b4c0.zip
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: Jiri 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.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/stat.h')
-rw-r--r--tools/perf/util/stat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/util/stat.h b/tools/perf/util/stat.h
index 8d3354e21e19..3a13a6dc5a62 100644
--- a/tools/perf/util/stat.h
+++ b/tools/perf/util/stat.h
@@ -215,4 +215,10 @@ int perf_stat_synthesize_config(struct perf_stat_config *config,
struct perf_evlist *evlist,
perf_event__handler_t process,
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