aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-05-15 12:03:02 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-15 12:03:02 -0400
commitc28f3f8660697d03afbdb581781b94ff6222a585 (patch)
treeea7f4a90f43df3bb44d2c85929a369ce5b2a352c
parentbfcf1ae2b2b1c09ee2c420313afe47ac5cc32d3f (diff)
parent46db2c3205ca6e24adbb9b038441bc8f65360535 (diff)
Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: perf record: Add a fallback to the reference relocation symbol
-rw-r--r--tools/perf/builtin-record.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c
index 3b8b6387c47c..f1411e9cdf47 100644
--- a/tools/perf/builtin-record.c
+++ b/tools/perf/builtin-record.c
@@ -563,6 +563,9 @@ static int __cmd_record(int argc, const char **argv)
563 563
564 err = event__synthesize_kernel_mmap(process_synthesized_event, 564 err = event__synthesize_kernel_mmap(process_synthesized_event,
565 session, "_text"); 565 session, "_text");
566 if (err < 0)
567 err = event__synthesize_kernel_mmap(process_synthesized_event,
568 session, "_stext");
566 if (err < 0) { 569 if (err < 0) {
567 pr_err("Couldn't record kernel reference relocation symbol.\n"); 570 pr_err("Couldn't record kernel reference relocation symbol.\n");
568 return err; 571 return err;