]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blobdiff - include/linux/perf_event.h
perf: Disallow mis-matched inherited group reads
[mirror_ubuntu-kernels.git] / include / linux / perf_event.h
index e85cd1c0eaf355ebb85c0b7c48b803283d91544e..7b5406e3288d98cdf42d1d5f10afef0928b73a4f 100644 (file)
@@ -704,6 +704,7 @@ struct perf_event {
        /* The cumulative AND of all event_caps for events in this group. */
        int                             group_caps;
 
+       unsigned int                    group_generation;
        struct perf_event               *group_leader;
        /*
         * event->pmu will always point to pmu in which this event belongs.