diff options
author | Dong Zhu <[email protected]> | 2013-10-10 15:56:18 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-10-10 09:59:25 +0200 |
commit | 2cb763614c1c5baef58045af9304265075f22d0a (patch) | |
tree | e294e2b1ed1e872a46d651e133996182219f7d16 /tools/perf/util/trace-event-scripting.c | |
parent | 8a749de5e32d2b72def93f7bd7a2745580d75872 (diff) |
timer stats: Add a 'Collection: active/inactive' line to timer usage statistics
We can enable/disable timer statistics collection via:
echo [1|0] > /proc/timers_stats
and it would be nice if apps had the ability to check
what the current collection status is.
This patch adds a 'Collection: active/inactive' line to display the
current timer collection status.
Also bump up the timer stats version to v0.3.
Signed-off-by: Dong Zhu <[email protected]>
Cc: John Stultz <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Improved the changelog and the code. ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions