sched/tune: fix sched_energy_diff tracepoint
authorChris Redpath <chris.redpath@arm.com>
Fri, 24 Mar 2017 18:56:16 +0000 (18:56 +0000)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 21 Jun 2017 11:07:44 +0000 (16:37 +0530)
commit87a8942e2261de92a4341cfb2c2fa229971a8f00
treed4aa0ff111bd4b081d9d6496430268db27b96208
parent1b2d72c8ed8532344428585e2d18c4f26f5292b3
sched/tune: fix sched_energy_diff tracepoint

sched_energy_diff tracepoint is in a place where it can never trace
payoff or nrg.delta. If CONFIG_SCHED_TUNE is enabled, put it in
a place where those values exist. If it is not enabled, trace from
the current location

Change-Id: Id5442f2b34ec76625491d27c0f4285433ca12699
Reported-by: Valentin Schneider <valentin.schneider@arm.com>
Signed-off-by: Chris Redpath <chris.redpath@arm.com>
kernel/sched/fair.c