diff options
author | Peter Zijlstra <peterz@infradead.org> | 2024-11-04 14:39:20 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-03-04 09:43:22 +0100 |
commit | 4eabf533fb1886089ef57e0c8ec52048b1741e39 (patch) | |
tree | 540fd31502910c709137853a7bc6b38b5cc3c16d /tools/perf/scripts/python/gecko.py | |
parent | 0983593f32c4c94239e01e42e4a17664b64a3c63 (diff) |
perf/core: Detach 'struct perf_cpu_pmu_context' and 'struct pmu' lifetimes
In prepration for being able to unregister a PMU with existing events,
it becomes important to detach struct perf_cpu_pmu_context lifetimes
from that of struct pmu.
Notably struct perf_cpu_pmu_context embeds a struct perf_event_pmu_context
that can stay referenced until the last event goes.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Ravi Bangoria <ravi.bangoria@amd.com>
Link: https://lore.kernel.org/r/20241104135518.760214287@infradead.org
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions