DEBUG: sched/fair: Fix sched_load_avg_cpu events for task_groups
authorBrendan Jackman <brendan.jackman@arm.com>
Tue, 10 Jan 2017 11:31:01 +0000 (11:31 +0000)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 16 Jan 2017 09:33:08 +0000 (15:03 +0530)
commitee620ddd6581cf9779d27677f6f0f11e3f939a8c
tree161d9110166690e22d6f05333f99f01cfc8362d2
parent52a2ef75c34af99c4c383dfe357ed1bb84a49bcc
DEBUG: sched/fair: Fix sched_load_avg_cpu events for task_groups

The current sched_load_avg_cpu event traces the load for any cfs_rq that is
updated. This is not representative of the CPU load - instead we should only
trace this event when the cfs_rq being updated is in the root_task_group.

Change-Id: I345c2f13f6b5718cb4a89beb247f7887ce97ed6b
Signed-off-by: Brendan Jackman <brendan.jackman@arm.com>
kernel/sched/fair.c