mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
tools/runqslower: Drop copy/pasted BPF_F_CURRENT_CPU definiton
With BPF_F_CURRENT_CPU being an enum, it is now captured in vmlinux.h and is readily usable by runqslower. So drop local copy/pasted definition in favor of the one coming from vmlinux.h. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
This commit is contained in:
committed by
Daniel Borkmann
parent
7cb30aaab3
commit
367d82f17e
@@ -6,9 +6,6 @@
|
||||
|
||||
#define TASK_RUNNING 0
|
||||
|
||||
#define BPF_F_INDEX_MASK 0xffffffffULL
|
||||
#define BPF_F_CURRENT_CPU BPF_F_INDEX_MASK
|
||||
|
||||
const volatile __u64 min_us = 0;
|
||||
const volatile pid_t targ_pid = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user