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
Showing the changes to include (1 of 2 files). Show all
Unified · Split
| @@ -704,6 +704,7 @@ struct perf_event { · 703 unmodified lines | ||
| 704 | 704 | /* The cumulative AND of all event_caps for events in this group. */ |
| 705 | 705 | int group_caps; |
| 706 | 706 | |
| 707 | + unsigned int group_generation; | |
| 707 | 708 | struct perf_event *group_leader; |
| 708 | 709 | /* |
| 709 | 710 | * event->pmu will always point to pmu in which this event belongs. |