Skip to content

Commit 4b36873

Browse files
James-A-ClarkPeter Zijlstra
authored andcommitted
perf/x86: Remove unused PERF_PMU_CAP_HETEROGENEOUS_CPUS capability
Since commit bd27568 ("perf: Rewrite core context handling") the relationship between perf_event_context and PMUs has changed so that the error scenario that PERF_PMU_CAP_HETEROGENEOUS_CPUS originally silenced no longer exists. Remove the capability to avoid confusion that it actually influences any perf core behavior. This change should be a no-op. Signed-off-by: James Clark <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Ian Rogers <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 5c81672 commit 4b36873

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/x86/events/core.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2166,7 +2166,6 @@ static int __init init_hw_perf_events(void)
21662166
hybrid_pmu->pmu = pmu;
21672167
hybrid_pmu->pmu.type = -1;
21682168
hybrid_pmu->pmu.attr_update = x86_pmu.attr_update;
2169-
hybrid_pmu->pmu.capabilities |= PERF_PMU_CAP_HETEROGENEOUS_CPUS;
21702169
hybrid_pmu->pmu.capabilities |= PERF_PMU_CAP_EXTENDED_HW_TYPE;
21712170

21722171
err = perf_pmu_register(&hybrid_pmu->pmu, hybrid_pmu->name,

0 commit comments

Comments
 (0)