diff options
author | Jiri Olsa <jolsa@kernel.org> | 2016-02-24 09:46:48 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-02-24 10:20:45 -0300 |
commit | 2c07af13dcd4d971578041b50598f1269b33e68a (patch) | |
tree | 738fae5d702c8f9ccbd647ae95b9cd5bcbc77348 /tools/perf/util/mem-events.h | |
parent | 071e9a1e12dceaec6f9d3ffe6e77ee68364166d6 (diff) | |
download | talos-obmc-linux-2c07af13dcd4d971578041b50598f1269b33e68a.tar.gz talos-obmc-linux-2c07af13dcd4d971578041b50598f1269b33e68a.zip |
perf tools: Introduce perf_mem__snp_scnprintf function
Move meminfo's snp display function into mem-events.c object, so it
could be reused later from script code.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1456303616-26926-8-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/mem-events.h')
-rw-r--r-- | tools/perf/util/mem-events.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/mem-events.h b/tools/perf/util/mem-events.h index bd0d7f7ae113..6efdd6fcdb01 100644 --- a/tools/perf/util/mem-events.h +++ b/tools/perf/util/mem-events.h @@ -27,4 +27,5 @@ char *perf_mem_events__name(int i); struct mem_info; void perf_mem__tlb_scnprintf(char *out, size_t sz, struct mem_info *mem_info); void perf_mem__lvl_scnprintf(char *out, size_t sz, struct mem_info *mem_info); +void perf_mem__snp_scnprintf(char *out, size_t sz, struct mem_info *mem_info); #endif /* __PERF_MEM_EVENTS_H */ |