aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/perf_counter
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-03-23 17:29:50 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-06 03:30:30 -0400
commit81cdbe0509542324ad7d3282ab67c2b6716df663 (patch)
tree13e214fe248d6dc9fcfee585649d7b24bf3cf468 /Documentation/perf_counter
parent193e8df1b465f206f8a286202680702e1c153367 (diff)
perf_counter tools: increase cpu-cycles again
Commit b7368fdd7d decreased the CPU cycles interval 100-fold, but this is causig kerneltop failures on my Nehalem box: aldebaran:/home/mingo/linux/linux/Documentation/perf_counter> ./kerneltop KernelTop refresh period: 2 seconds ERROR: failed to keep up with mmap data 10,000 cycles is way too short. What we should do instead on mostly-idle systems is some sort of read/poll timeout, so that we display something every 2 seconds for sure. Cc: Wu Fengguang <fengguang.wu@intel.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/perf_counter')
-rw-r--r--Documentation/perf_counter/kerneltop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/perf_counter/kerneltop.c b/Documentation/perf_counter/kerneltop.c
index 8f9a303f28d8..2ab29b5e32e8 100644
--- a/Documentation/perf_counter/kerneltop.c
+++ b/Documentation/perf_counter/kerneltop.c
@@ -212,7 +212,7 @@ struct source_line {
212 212
213 213
214const unsigned int default_count[] = { 214const unsigned int default_count[] = {
215 10000, 215 1000000,
216 1000000, 216 1000000,
217 10000, 217 10000,
218 10000, 218 10000,