diff --git a/kernel/events/core.c b/kernel/events/core.c index 823a53d72d6a2677528951c7a43e19eea5d7ea25..661951ab8ae731a5094e1a29101bb7e0797794ed 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -1733,7 +1733,7 @@ group_sched_in(struct perf_event *group_event, struct perf_event_context *ctx) { struct perf_event *event, *partial_group = NULL; - struct pmu *pmu = group_event->pmu; + struct pmu *pmu = ctx->pmu; u64 now = ctx->time; bool simulate = false;