summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJuri Lelli <juri.lelli@arm.com>2015-11-09 12:06:24 +0000
committerLeo Yan <leo.yan@linaro.org>2016-05-10 16:53:25 +0800
commit99ed4e57cb4231b2561ec4a6433722dcd4a19a9e (patch)
tree0fa6424f04c8dfdf5012eeaf53c0ef3cccee4d6a /kernel
parenta2a6dc750833243b3b49d016291ae1133196759a (diff)
DEBUG: sched: add tracepoint for cpu/freq scale invariance
Signed-off-by: Juri Lelli <juri.lelli@arm.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched/fair.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 1191c4b1b119..ec2e8aecc4f3 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -2587,6 +2587,7 @@ __update_load_avg(u64 now, int cpu, struct sched_avg *sa,
scale_freq = arch_scale_freq_capacity(NULL, cpu);
scale_cpu = arch_scale_cpu_capacity(NULL, cpu);
+ trace_sched_contrib_scale_f(cpu, scale_freq, scale_cpu);
/* delta_w is the amount already accumulated against our next period */
delta_w = sa->period_contrib;