sched_tp: Handle a couple of compilation errors
Created by: qais-yousef
sched_cpu_capacity depends on a tracepoint that was added on 5.10, so protect it with the right kernel version.
Also the tracepoint makes a call to arch_scale_freq_capacity() which doesn't compile on x86 as it points to non-exported function. Just wrap it with a warning until someone who cares finds a better alternative for those archs.
Signed-off-by: Qais Yousef qais.yousef@arm.com