aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-record.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-10-03 12:30:24 -0400
committerIngo Molnar <mingo@kernel.org>2017-10-03 12:30:24 -0400
commit4b50239a769e78bbe362fc92c3f8bd5415a4a5f5 (patch)
tree951832e213945ede19cd676a04e5218e68afd074 /tools/perf/builtin-record.c
parenta47ba4d77e1236d214e5116b5631bc4c2d6e6369 (diff)
parentf6a9820d572bd8384d982357cbad214b3a6c04bb (diff)
Merge tag 'perf-core-for-mingo-4.15-20171003' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo: - Multithread the synthesizing of PERF_RECORD_ events for pre-existing threads in 'perf top', speeding up that phase, greatly improving the user experience in systems such as Intel's Knights Mill (Kan Liang) - 'perf test' fixes for the perf_event_attr test case (Jiri Olsa, Thomas Richter) Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/builtin-record.c')
-rw-r--r--tools/perf/builtin-record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c
index 9b379f3a3d99..234fdf4734f6 100644
--- a/tools/perf/builtin-record.c
+++ b/tools/perf/builtin-record.c
@@ -863,7 +863,7 @@ static int record__synthesize(struct record *rec, bool tail)
863 863
864 err = __machine__synthesize_threads(machine, tool, &opts->target, rec->evlist->threads, 864 err = __machine__synthesize_threads(machine, tool, &opts->target, rec->evlist->threads,
865 process_synthesized_event, opts->sample_address, 865 process_synthesized_event, opts->sample_address,
866 opts->proc_map_timeout); 866 opts->proc_map_timeout, 1);
867out: 867out:
868 return err; 868 return err;
869} 869}