Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tools/bpf: Remove unused variable from runqslower

This variable is never referenced in the code, just remove it.

Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240925100005.3989-1-zhujun2@cmss.chinamobile.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>

authored by

Zhu Jun and committed by
Alexei Starovoitov
89abc408 78971150

-1
-1
tools/bpf/runqslower/runqslower.bpf.c
··· 70 70 struct task_struct *next = (struct task_struct *)ctx[2]; 71 71 struct runq_event event = {}; 72 72 u64 *tsp, delta_us; 73 - long state; 74 73 u32 pid; 75 74 76 75 /* ivcsw: treat like an enqueue event and store timestamp */