diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-15 09:03:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-15 09:03:02 -0700 |
commit | c28f3f8660697d03afbdb581781b94ff6222a585 (patch) | |
tree | ea7f4a90f43df3bb44d2c85929a369ce5b2a352c | |
parent | bfcf1ae2b2b1c09ee2c420313afe47ac5cc32d3f (diff) | |
parent | 46db2c3205ca6e24adbb9b038441bc8f65360535 (diff) | |
download | op-kernel-dev-c28f3f8660697d03afbdb581781b94ff6222a585.zip op-kernel-dev-c28f3f8660697d03afbdb581781b94ff6222a585.tar.gz |
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.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 3b8b638..f1411e9 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) err = event__synthesize_kernel_mmap(process_synthesized_event, session, "_text"); + if (err < 0) + err = event__synthesize_kernel_mmap(process_synthesized_event, + session, "_stext"); if (err < 0) { pr_err("Couldn't record kernel reference relocation symbol.\n"); return err; |