diff options
author | Jiri Olsa <jolsa@kernel.org> | 2015-10-25 15:51:33 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-12-17 18:55:43 +0100 |
commit | 2d8f0f18a5c37cf0322cb385b99adb1167b7cf78 (patch) | |
tree | f8977fd692bef66d250ad1417be91cd5fe0fc4cb /tools/perf/util/tool.h | |
parent | perf tools: Add stat event read function (diff) | |
download | linux-2d8f0f18a5c37cf0322cb385b99adb1167b7cf78.tar.xz linux-2d8f0f18a5c37cf0322cb385b99adb1167b7cf78.zip |
perf tools: Add stat round user level event
Adding the stat round event to be stored after each stat interval round,
so that report tools (report/script) gets notified and process interval
data.
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-18-git-send-email-jolsa@kernel.org
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 f0b9da0c166a..d04d9e5f444a 100644 --- a/tools/perf/util/tool.h +++ b/tools/perf/util/tool.h @@ -59,7 +59,8 @@ struct perf_tool { thread_map, cpu_map, stat_config, - stat; + stat, + stat_round; event_op3 auxtrace; bool ordered_events; bool ordering_requires_timestamps; |