diff options
author | Ingo Molnar <mingo@elte.hu> | 2010-04-03 18:16:42 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-04-03 18:16:42 +0200 |
commit | 70a7c1271e2bfca8ad2bf71f44c516ea2763b9ed (patch) | |
tree | eaac85de741bc558529eccaefc372ff1e90ff425 /tools/perf/builtin-record.c | |
parent | 40b91cd10f000b4c4934e48e2e5c0bec66def144 (diff) | |
parent | 533c46c31c0e82f19dbb087c77d85eaccd6fefdb (diff) | |
download | linux-70a7c1271e2bfca8ad2bf71f44c516ea2763b9ed.tar.gz linux-70a7c1271e2bfca8ad2bf71f44c516ea2763b9ed.tar.bz2 linux-70a7c1271e2bfca8ad2bf71f44c516ea2763b9ed.zip |
Merge branch 'perf' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux-2.6 into perf/core
Diffstat (limited to 'tools/perf/builtin-record.c')
-rw-r--r-- | tools/perf/builtin-record.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 60ecdd3dd26d..dc61f1b68b40 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c @@ -15,7 +15,6 @@ #include "util/util.h" #include "util/parse-options.h" #include "util/parse-events.h" -#include "util/string.h" #include "util/header.h" #include "util/event.h" @@ -575,6 +574,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; |