aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-08-17 17:07:48 -0400
committerIngo Molnar <mingo@elte.hu>2009-08-17 18:00:18 -0400
commit6ede59c412579303a25c11f93d4d262e100fc7e6 (patch)
tree8d88c2820e7ccdbb43c0e2ecb8cc57ea2b33b119 /tools
parent5f9c39dca52d3e639ac899e169f408c6fd8396cc (diff)
perf tools: Fix spelling mistake in callchain error
While running perf report -g in a perf.data file that hasn't been recorded in callchain mode, the error reported has a spelling issue: ./perf report -g selected -c but no callchain data. Did you call perf record without -g? Fix it. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Steven Rostedt <rostedt@goodmis.org> LKML-Reference: <1250543271-8383-1-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index 1e3ad22d53dc..ed1fdab3a1f5 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -1401,7 +1401,7 @@ static int __cmd_report(void)
1401 exit(-1); 1401 exit(-1);
1402 } 1402 }
1403 if (callchain) { 1403 if (callchain) {
1404 fprintf(stderr, "selected -c but no callchain data." 1404 fprintf(stderr, "selected -g but no callchain data."
1405 " Did you call perf record without" 1405 " Did you call perf record without"
1406 " -g?\n"); 1406 " -g?\n");
1407 exit(-1); 1407 exit(-1);