[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-b7ae11b34bf042cfb4dbaa3b63b2d5d6d33d4cc4@git.kernel.org>
Date: Wed, 27 Jan 2010 13:16:59 GMT
From: tip-bot for Yong Wang <yong.y.wang@...ux.intel.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, acme@...hat.com, paulus@...ba.org,
hpa@...or.com, mingo@...hat.com, a.p.zijlstra@...llo.nl,
yong.y.wang@...el.com, fweisbec@...il.com,
yong.y.wang@...ux.intel.com, austin.zhang@...el.com,
tglx@...utronix.de, mingo@...e.hu
Subject: [tip:perf/urgent] perf report: Fix segmentation fault when running with '-g none'
Commit-ID: b7ae11b34bf042cfb4dbaa3b63b2d5d6d33d4cc4
Gitweb: http://git.kernel.org/tip/b7ae11b34bf042cfb4dbaa3b63b2d5d6d33d4cc4
Author: Yong Wang <yong.y.wang@...ux.intel.com>
AuthorDate: Fri, 22 Jan 2010 09:47:50 +0800
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Wed, 27 Jan 2010 11:01:43 +0100
perf report: Fix segmentation fault when running with '-g none'
Segmentation fault occurs when running perf report with '-g
none'.
Reported-by: Austin Zhang <austin.zhang@...el.com>
Signed-off-by: Yong Wang <yong.y.wang@...el.com>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Paul Mackerras <paulus@...ba.org>
Cc: Arnaldo Carvalho de Melo <acme@...hat.com>
Cc: Frederic Weisbecker <fweisbec@...il.com>
LKML-Reference: <20100122014750.GA4111@...ng-moblin2.bj.intel.com>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
tools/perf/builtin-report.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index db10c0e..860f1ee 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;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists