From: Wu Fengguang Date: Fri, 20 Mar 2009 02:08:09 +0000 (+0800) Subject: perf_counter tools: cut down default count for cpu-cycles X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dda7c02f33833bfa9412ba6f0e410b0a18b42c88;p=openwrt%2Fstaging%2Fblogic.git 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 Acked-by: Peter Zijlstra Cc: Paul Mackerras Signed-off-by: Ingo Molnar --- 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 { const unsigned int default_count[] = { - 1000000, + 10000, 1000000, 10000, 10000,