diff options
author | Jiri Olsa <jolsa@kernel.org> | 2015-10-25 15:51:27 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-12-17 14:38:18 -0300 |
commit | 374fb9e362f64e730388abc1de9bb93829670a54 (patch) | |
tree | a438a34f267430ea49ff346960f5e7efee08b0a8 /tools/perf/util/tool.h | |
parent | eb12a1afdc02e59fc09934743490549c77327b1a (diff) | |
download | talos-obmc-linux-374fb9e362f64e730388abc1de9bb93829670a54.tar.gz talos-obmc-linux-374fb9e362f64e730388abc1de9bb93829670a54.zip |
perf tools: Add stat config user level event
Adding the stat config event to pass/store stat config data, so report
tools (report/script) know how to interpret stat data.
The config data is stored in a 'tag|value' way to allow for easy
extension and backwards compatibility.
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-12-git-send-email-jolsa@kernel.org
[ stat_config_term_event -> stat_config_event_entry ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/tool.h')
-rw-r--r-- | tools/perf/util/tool.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/tool.h b/tools/perf/util/tool.h index 9e5925c78519..aa7ae73d76b4 100644 --- a/tools/perf/util/tool.h +++ b/tools/perf/util/tool.h @@ -57,7 +57,8 @@ struct perf_tool { auxtrace_info, auxtrace_error, thread_map, - cpu_map; + cpu_map, + stat_config; event_op3 auxtrace; bool ordered_events; bool ordering_requires_timestamps; |