|
@@ -1398,22 +1398,22 @@ static int __init intel_uncore_init(void)
|
|
*/
|
|
*/
|
|
if (!cret) {
|
|
if (!cret) {
|
|
ret = cpuhp_setup_state(CPUHP_PERF_X86_UNCORE_PREP,
|
|
ret = cpuhp_setup_state(CPUHP_PERF_X86_UNCORE_PREP,
|
|
- "PERF_X86_UNCORE_PREP",
|
|
|
|
- uncore_cpu_prepare, NULL);
|
|
|
|
|
|
+ "perf/x86/intel/uncore:prepare",
|
|
|
|
+ uncore_cpu_prepare, NULL);
|
|
if (ret)
|
|
if (ret)
|
|
goto err;
|
|
goto err;
|
|
} else {
|
|
} else {
|
|
cpuhp_setup_state_nocalls(CPUHP_PERF_X86_UNCORE_PREP,
|
|
cpuhp_setup_state_nocalls(CPUHP_PERF_X86_UNCORE_PREP,
|
|
- "PERF_X86_UNCORE_PREP",
|
|
|
|
|
|
+ "perf/x86/intel/uncore:prepare",
|
|
uncore_cpu_prepare, NULL);
|
|
uncore_cpu_prepare, NULL);
|
|
}
|
|
}
|
|
first_init = 1;
|
|
first_init = 1;
|
|
cpuhp_setup_state(CPUHP_AP_PERF_X86_UNCORE_STARTING,
|
|
cpuhp_setup_state(CPUHP_AP_PERF_X86_UNCORE_STARTING,
|
|
- "AP_PERF_X86_UNCORE_STARTING",
|
|
|
|
|
|
+ "perf/x86/uncore:starting",
|
|
uncore_cpu_starting, uncore_cpu_dying);
|
|
uncore_cpu_starting, uncore_cpu_dying);
|
|
first_init = 0;
|
|
first_init = 0;
|
|
cpuhp_setup_state(CPUHP_AP_PERF_X86_UNCORE_ONLINE,
|
|
cpuhp_setup_state(CPUHP_AP_PERF_X86_UNCORE_ONLINE,
|
|
- "AP_PERF_X86_UNCORE_ONLINE",
|
|
|
|
|
|
+ "perf/x86/uncore:online",
|
|
uncore_event_cpu_online, uncore_event_cpu_offline);
|
|
uncore_event_cpu_online, uncore_event_cpu_offline);
|
|
return 0;
|
|
return 0;
|
|
|
|
|