diff options
-rw-r--r-- | tools/perf/builtin-report.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 9f9575afab08..3db99fd99867 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -58,6 +58,8 @@ static char *parent_pattern = default_parent_pattern; | |||
58 | static regex_t parent_regex; | 58 | static regex_t parent_regex; |
59 | 59 | ||
60 | static int exclude_other = 1; | 60 | static int exclude_other = 1; |
61 | |||
62 | static char callchain_default_opt[] = "flat,0"; | ||
61 | static int callchain; | 63 | static int callchain; |
62 | static enum chain_mode callchain_mode; | 64 | static enum chain_mode callchain_mode; |
63 | static double callchain_min_percent = 0.0; | 65 | static double callchain_min_percent = 0.0; |
@@ -1871,7 +1873,7 @@ static const struct option options[] = { | |||
1871 | "Only display entries with parent-match"), | 1873 | "Only display entries with parent-match"), |
1872 | OPT_CALLBACK_DEFAULT('c', "callchain", NULL, "output_type,min_percent", | 1874 | OPT_CALLBACK_DEFAULT('c', "callchain", NULL, "output_type,min_percent", |
1873 | "Display callchains using output_type and min percent threshold. " | 1875 | "Display callchains using output_type and min percent threshold. " |
1874 | "Default: flat,0", &parse_callchain_opt, "flat,100"), | 1876 | "Default: flat,0", &parse_callchain_opt, callchain_default_opt), |
1875 | OPT_STRING('d', "dsos", &dso_list_str, "dso[,dso...]", | 1877 | OPT_STRING('d', "dsos", &dso_list_str, "dso[,dso...]", |
1876 | "only consider symbols in these dsos"), | 1878 | "only consider symbols in these dsos"), |
1877 | OPT_STRING('C', "comms", &comm_list_str, "comm[,comm...]", | 1879 | OPT_STRING('C', "comms", &comm_list_str, "comm[,comm...]", |