aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-record.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-record.c')
-rw-r--r--tools/perf/builtin-record.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c
index 289d9cf3bf7..c4c132205ed 100644
--- a/tools/perf/builtin-record.c
+++ b/tools/perf/builtin-record.c
@@ -592,6 +592,13 @@ static int __cmd_record(int argc, const char **argv)
592 pr_err("Couldn't synthesize attrs.\n"); 592 pr_err("Couldn't synthesize attrs.\n");
593 return err; 593 return err;
594 } 594 }
595
596 err = event__synthesize_event_types(process_synthesized_event,
597 session);
598 if (err < 0) {
599 pr_err("Couldn't synthesize event_types.\n");
600 return err;
601 }
595 } 602 }
596 603
597 err = event__synthesize_kernel_mmap(process_synthesized_event, 604 err = event__synthesize_kernel_mmap(process_synthesized_event,