aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYong Wang <[email protected]>2010-01-22 09:47:50 +0800
committerIngo Molnar <[email protected]>2010-01-27 11:01:43 +0100
commitb7ae11b34bf042cfb4dbaa3b63b2d5d6d33d4cc4 (patch)
tree173226f210d1132b224b21fe34f2519432a4ff08
parentb04da8bfdfbbd79544cab2fadfdc12e87eb01600 (diff)
perf report: Fix segmentation fault when running with '-g none'
Segmentation fault occurs when running perf report with '-g none'. Reported-by: Austin Zhang <[email protected]> Signed-off-by: Yong Wang <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Frederic Weisbecker <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r--tools/perf/builtin-report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index db10c0e8ecae..860f1eeeea7d 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -269,7 +269,7 @@ parse_callchain_opt(const struct option *opt __used, const char *arg,
else if (!strncmp(tok, "none", strlen(arg))) {
callchain_param.mode = CHAIN_NONE;
- symbol_conf.use_callchain = true;
+ symbol_conf.use_callchain = false;
return 0;
}