scx_lavd: add debug print for turbo cores

Signed-off-by: Changwoo Min <changwoo@igalia.com>
This commit is contained in:
Changwoo Min 2024-09-06 18:35:00 +09:00
parent 351a1c6656
commit 36df970a8f

View File

@ -3239,8 +3239,10 @@ static s32 init_per_cpu_ctx(u64 now)
}
cpuc->turbo_core = cpuc->capacity == turbo_cap;
if (cpuc->turbo_core)
if (cpuc->turbo_core) {
bpf_cpumask_set_cpu(cpu, turbo);
debugln("CPU %d is a turbo core.", cpu);
}
}
/*