sched: Get sched_task_util trace point working for !SCHED_WALT

sched_task_util trace point depends on task's mark_start for
calculating the time taken for CPU selection algorithm in
select_energy_cpu_brute(). This results in a compilation error,
since the mark_start is not available when SCHED_WALT is disabled.

sched_task_util trace point is not tied to WALT. Fix this issue by
using sched_clock() instead of mark_start. The sched_clock() is
accessed only when the trace point is enabled, so there will not be
any additional overhead.

Change-Id: Ide67741a188da13911929422c0bb1b5af2d29826
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2 files changed