tools/runqslower: use __state instead of state
Subsystems (3)
PATCH v2 1/1 tools/runqslower: use __state instead of state
task->state is renamed to task->__state in task_struct
Signed-off-by SanjayKumar J <[email protected]>
--- tools/bpf/runqslower/runqslower.bpf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/bpf/runqslower/runqslower.bpf.c +1 -1
@@ -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;
Signature · 1 line
2.32.0