Commit 94a8eb02 authored by Frederic Weisbecker's avatar Frederic Weisbecker Committed by Ingo Molnar

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: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarFrederic 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: default avatarIngo Molnar <mingo@elte.hu>
parent be903885
...@@ -59,10 +59,10 @@ static regex_t parent_regex; ...@@ -59,10 +59,10 @@ static regex_t parent_regex;
static int exclude_other = 1; static int exclude_other = 1;
static char callchain_default_opt[] = "flat,0"; static char callchain_default_opt[] = "graph,0.5";
static int callchain; static int callchain;
static enum chain_mode callchain_mode; static enum chain_mode callchain_mode;
static double callchain_min_percent = 0.0; static double callchain_min_percent = 0.5;
static u64 sample_type; static u64 sample_type;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment