]> git.ipfire.org Git - thirdparty/kernel/linux.git/blobdiff - tools/perf/builtin-record.c
perf bpf: Make synthesize_bpf_events() receive perf_session pointer instead of perf_tool
[thirdparty/kernel/linux.git] / tools / perf / builtin-record.c
index f29874192d3e5083e04eac535c7e0f0ab0ab3163..e79faccd7842c199d1b3e97f36533537d8e2d04b 100644 (file)
@@ -1114,7 +1114,7 @@ static int record__synthesize(struct record *rec, bool tail)
                return err;
        }
 
-       err = perf_event__synthesize_bpf_events(tool, process_synthesized_event,
+       err = perf_event__synthesize_bpf_events(session, process_synthesized_event,
                                                machine, opts);
        if (err < 0)
                pr_warning("Couldn't synthesize bpf events.\n");