aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2014-05-02 06:13:10 -0400
committerIngo Molnar <mingo@kernel.org>2014-05-04 14:46:32 -0400
commit2779ac167b1a1bf8153dca9f3a141c6148c6b89f (patch)
treec2b23576a2f7c4e680c8dd6430bae266cf6f5b56
parent0384dcae2b18db80c49117ac57ea15211ca48751 (diff)
timer_stats/doc: Fix /proc/timer_stats documentation
Documentation/timers/timer_stats.txt claims: "The readout of /proc/timer_stats automatically disables sampling. The sampled information is kept until a new sample period is started. This allows multiple readouts." Some simple testing shows that reading from /proc/timer_stats does not disable sampling. Looking back over past source code, it appears that it never did. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com> Cc: Randy Dunlap <rdunlap@infradead.org> Link: http://lkml.kernel.org/r/53636FB6.9060407@gmail.com [ Small tidyup of the changelog. ] Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r--Documentation/timers/timer_stats.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/timers/timer_stats.txt b/Documentation/timers/timer_stats.txt
index 8abd40b22b7f..de835ee97455 100644
--- a/Documentation/timers/timer_stats.txt
+++ b/Documentation/timers/timer_stats.txt
@@ -39,9 +39,9 @@ To stop a sample period issue:
39The statistics can be retrieved by: 39The statistics can be retrieved by:
40# cat /proc/timer_stats 40# cat /proc/timer_stats
41 41
42The readout of /proc/timer_stats automatically disables sampling. The sampled 42While sampling is enabled, each readout from /proc/timer_stats will see
43information is kept until a new sample period is started. This allows multiple 43newly updated statistics. Once sampling is disabled, the sampled information
44readouts. 44is kept until a new sample period is started. This allows multiple readouts.
45 45
46Sample output of /proc/timer_stats: 46Sample output of /proc/timer_stats:
47 47