Skip to content
Commit fe1a6966 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

sched: don't use preprocessor directives inside a macro



The preprocessor directives are used inside sched_enq_deq_task
trace point which is a macro. This is forbidden and sparse gives
an error. To fix this, we always print the task walt stats in this
trace point. When WALT is not enabled, the stats are printed as 0.

Change-Id: Ibe3460e7c22b85220c2088da4570c2c9fd03c848
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 70be28c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment