diff options
| author | Kan Liang <[email protected]> | 2024-10-10 14:26:03 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2024-10-30 21:42:18 +0000 |
| commit | 9b99d65c0bb4e37013bc2ec9c32b78c5751ff952 (patch) | |
| tree | 2b1e27d1d6c68a7fd6962aa3690f41bc82945570 /tools/testing/selftests/bpf/prog_tests/queue_stack_map.c | |
| parent | uprobe: Add support for session consumer (diff) | |
| download | kernel-9b99d65c0bb4e37013bc2ec9c32b78c5751ff952.tar.gz kernel-9b99d65c0bb4e37013bc2ec9c32b78c5751ff952.zip | |
perf/x86/rapl: Move the pmu allocation out of CPU hotplug
There are extra codes in the CPU hotplug function to allocate rapl pmus.
The generic PMU hotplug support is hard to be applied.
As long as the rapl pmus can be allocated upfront for each die/socket,
the code doesn't need to be implemented in the CPU hotplug function.
Move the code to the init_rapl_pmus(), and allocate a PMU for each
possible die/socket.
Signed-off-by: Kan Liang <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Tested-by: Oliver Sang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/queue_stack_map.c')
0 files changed, 0 insertions, 0 deletions
