History

Merge tag 'perf-urgent-2023-10-21' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull perf events fix from Ingo Molnar: "Fix group event semantics" * tag 'perf-urgent-2023-10-21' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: perf: Disallow mis-matched inherited group reads

Linus Torvalds committed 3 years ago

Commit 94be1332 parents 023cc83 32671e32 files · +34 −6Browse files

Showing the changes to include (1 of 2 files). Show all

Unified · Split

include/linux/perf_event.h+1−0
@@ -704,6 +704,7 @@ struct perf_event { · 703 unmodified lines
704704 /* The cumulative AND of all event_caps for events in this group. */
705705 int group_caps;
706706
707+ unsigned int group_generation;
707708 struct perf_event *group_leader;
708709 /*
709710 * event->pmu will always point to pmu in which this event belongs.