diff options
author | Dong Zhu <bluezhudong@gmail.com> | 2013-10-10 15:56:18 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-10-10 09:59:25 +0200 |
commit | 2cb763614c1c5baef58045af9304265075f22d0a (patch) | |
tree | e294e2b1ed1e872a46d651e133996182219f7d16 /kernel/hrtimer.c | |
parent | 8a749de5e32d2b72def93f7bd7a2745580d75872 (diff) | |
download | op-kernel-dev-2cb763614c1c5baef58045af9304265075f22d0a.zip op-kernel-dev-2cb763614c1c5baef58045af9304265075f22d0a.tar.gz |
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 <bluezhudong@gmail.com>
Cc: John Stultz <john.stultz@linaro.org>
Link: http://lkml.kernel.org/r/20131010075618.GH2139@zhudong.nay.redhat.com
[ Improved the changelog and the code. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/hrtimer.c')
0 files changed, 0 insertions, 0 deletions