Skip to content
Permalink
Browse files
tools/runqslower: use __state instead of state
Commit 2f064a5: sched: Change task_struct::state
renamed task->state to task->__state in task_struct

Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: SanjayKumar Jeyakumar <vjsanjay@gmail.com>
  • Loading branch information
vjsanjay authored and intel-lab-lkp committed Jul 7, 2021
1 parent 84fe739 commit 0e86dc86c0f18512dc19ba3d0b001b3f06338a0d
Showing 1 changed file with 1 addition and 1 deletion.
@@ -74,7 +74,7 @@ int handle__sched_switch(u64 *ctx)
u32 pid;

/* ivcsw: treat like an enqueue event and store timestamp */
if (prev->state == TASK_RUNNING)
if (prev->__state == TASK_RUNNING)
trace_enqueue(prev);

pid = next->pid;

0 comments on commit 0e86dc8

Please sign in to comment.