Messages in this thread | | | Date | Mon, 22 Aug 2022 20:10:24 +0530 | From | Ravi Bangoria <> | Subject | Re: [RFC v2] perf: Rewrite core context handling |
| |
> @@ -915,7 +925,7 @@ static int perf_cgroup_ensure_storage(struct perf_event *event, > heap_size++; > > for_each_possible_cpu(cpu) { > - cpuctx = per_cpu_ptr(event->pmu->pmu_cpu_context, cpu); > + cpuctx = this_cpu_ptr(&cpu_context);
This should be fixed as well:
s/this_cpu_ptr(&cpu_context)/per_cpu_ptr(&cpu_context, cpu)/
Thanks, Ravi
| |