diff options
Diffstat (limited to 'tools/perf/builtin-record.c')
-rw-r--r-- | tools/perf/builtin-record.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 69e28950a328..a0b2427b509d 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c | |||
@@ -571,8 +571,8 @@ static int __cmd_record(struct perf_record *rec, int argc, const char **argv) | |||
571 | "Check /proc/modules permission or run as root.\n"); | 571 | "Check /proc/modules permission or run as root.\n"); |
572 | 572 | ||
573 | if (perf_guest) { | 573 | if (perf_guest) { |
574 | machines__process(&session->machines, | 574 | machines__process_guests(&session->machines, |
575 | perf_event__synthesize_guest_os, tool); | 575 | perf_event__synthesize_guest_os, tool); |
576 | } | 576 | } |
577 | 577 | ||
578 | if (!opts->target.system_wide) | 578 | if (!opts->target.system_wide) |