summaryrefslogtreecommitdiff
path: root/tools/perf/tests/tests.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2015-10-25 14:51:28 (GMT)
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-12-17 17:38:19 (GMT)
commit6742434261158ad9678bf15b165304e0200cc324 (patch)
tree3a48df11cbb597dcbe5e56fdfe59875023bb55fc /tools/perf/tests/tests.h
parent374fb9e362f64e730388abc1de9bb93829670a54 (diff)
downloadlinux-6742434261158ad9678bf15b165304e0200cc324.tar.xz
perf tools: Add stat config event synthesize function
Introduce the perf_event__synthesize_stat_config to synthesize a 'struct perf_stat_config'. Storing the stat config in the form of tag-value pairs will, I believe, sort out future version extensibility issues. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Tested-by: Kan Liang <kan.liang@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1445784728-21732-13-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/tests.h')
-rw-r--r--tools/perf/tests/tests.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/tests/tests.h b/tools/perf/tests/tests.h
index f85160f..319757a 100644
--- a/tools/perf/tests/tests.h
+++ b/tools/perf/tests/tests.h
@@ -81,6 +81,7 @@ int test__bpf_subtest_get_nr(void);
int test_session_topology(int subtest);
int test__thread_map_synthesize(int subtest);
int test__cpu_map_synthesize(int subtest);
+int test__synthesize_stat_config(int subtest);
#if defined(__arm__) || defined(__aarch64__)
#ifdef HAVE_DWARF_UNWIND_SUPPORT