diff options
Diffstat (limited to 'tools/perf/builtin-record.c')
-rw-r--r-- | tools/perf/builtin-record.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 7c8020a32784..f5b18b8fe8c9 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c | |||
@@ -800,6 +800,7 @@ static struct perf_record record = { | |||
800 | .freq = 4000, | 800 | .freq = 4000, |
801 | .target = { | 801 | .target = { |
802 | .uses_mmap = true, | 802 | .uses_mmap = true, |
803 | .default_per_cpu = true, | ||
803 | }, | 804 | }, |
804 | }, | 805 | }, |
805 | }; | 806 | }; |
@@ -888,8 +889,8 @@ const struct option record_options[] = { | |||
888 | "sample by weight (on special events only)"), | 889 | "sample by weight (on special events only)"), |
889 | OPT_BOOLEAN(0, "transaction", &record.opts.sample_transaction, | 890 | OPT_BOOLEAN(0, "transaction", &record.opts.sample_transaction, |
890 | "sample transaction flags (special events only)"), | 891 | "sample transaction flags (special events only)"), |
891 | OPT_BOOLEAN(0, "force-per-cpu", &record.opts.target.force_per_cpu, | 892 | OPT_BOOLEAN(0, "per-thread", &record.opts.target.per_thread, |
892 | "force the use of per-cpu mmaps"), | 893 | "use per-thread mmaps"), |
893 | OPT_END() | 894 | OPT_END() |
894 | }; | 895 | }; |
895 | 896 | ||