bpf: Consolidate task_struct BTF_ID declarations
No need to have it defined 5 times. Once is enough. Signed-off-by: Daniel Xu <dxu@dxuuu.xyz> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/6dcefa5bed26fe1226f26683f36819bb53ec19a2.1629772842.git.dxu@dxuuu.xyz
This commit is contained in:
committed by
Alexei Starovoitov
parent
1b07d00a15
commit
33c5cb3601
@@ -188,4 +188,6 @@ MAX_BTF_SOCK_TYPE,
|
||||
extern u32 btf_sock_ids[];
|
||||
#endif
|
||||
|
||||
extern u32 btf_task_struct_ids[];
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user