aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2009-03-19 22:08:09 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-06 03:30:23 -0400
commitdda7c02f33833bfa9412ba6f0e410b0a18b42c88 (patch)
tree0b4777dfc0c1b2c0791e8522d8441d90f2734b07
parent3ab8d792b1348eaabfe550ba60902d781d160dd4 (diff)
perf_counter tools: cut down default count for cpu-cycles
In my system, it takes kerneltop dozens of minutes to show up usable numbers. Make the default count 100 times smaller fixed this long startup latency. I'm not sure if it's the right solution though. Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-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 7bfb0f0d8005..0bd3c13150b1 100644
--- a/Documentation/perf_counter/kerneltop.c
+++ b/Documentation/perf_counter/kerneltop.c
@@ -132,7 +132,7 @@ struct source_line {
132 132
133 133
134const unsigned int default_count[] = { 134const unsigned int default_count[] = {
135 1000000, 135 10000,
136 1000000, 136 1000000,
137 10000, 137 10000,
138 10000, 138 10000,