aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-07-05 01:39:19 -0400
committerIngo Molnar <mingo@elte.hu>2009-07-05 04:30:22 -0400
commit94a8eb028a57854157a936c7e66b09e2559f115a (patch)
tree8ec5451e05a33597ae2b1939f9ffb886e9ea12ad /tools
parentbe9038859e56f729cc9d3b070a35fb8829a73696 (diff)
perf report: Change default callchain parameters
The default callchain parameters are set to use the flat mode and never filter any overhead threshold of backtrace. But flat mode is boring compared to graph mode. Also the number of callchains may be very high if none is filtered. Let's change this to set the graph view and a minimum overhead of 0.5% as default parameters. Reported-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Anton Blanchard <anton@samba.org> Cc: Jens Axboe <jens.axboe@oracle.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> LKML-Reference: <1246772361-9960-3-git-send-email-fweisbec@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/builtin-report.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index 3db99fd99867..8bd58651128c 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -59,10 +59,10 @@ static regex_t parent_regex;
59 59
60static int exclude_other = 1; 60static int exclude_other = 1;
61 61
62static char callchain_default_opt[] = "flat,0"; 62static char callchain_default_opt[] = "graph,0.5";
63static int callchain; 63static int callchain;
64static enum chain_mode callchain_mode; 64static enum chain_mode callchain_mode;
65static double callchain_min_percent = 0.0; 65static double callchain_min_percent = 0.5;
66 66
67static u64 sample_type; 67static u64 sample_type;
68 68