aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/radixtree.py
diff options
context:
space:
mode:
authorJason Xing <[email protected]>2024-10-29 15:46:27 +0800
committerMartin KaFai Lau <[email protected]>2024-10-29 11:26:13 -0700
commit42602e3a06f8e5b9a059344e305c9bee2dcc87c8 (patch)
tree57a89c757f659ea4030bc9f46df505e18e94a4ec /scripts/gdb/linux/radixtree.py
parent87cb58aebdf7005661a07e9fd5a900f924d48c75 (diff)
bpf: handle implicit declaration of function gettid in bpf_iter.c
As we can see from the title, when I compiled the selftests/bpf, I saw the error: implicit declaration of function ‘gettid’ ; did you mean ‘getgid’? [-Werror=implicit-function-declaration] skel->bss->tid = gettid(); ^~~~~~ getgid Directly call the syscall solves this issue. Signed-off-by: Jason Xing <[email protected]> Reviewed-by: Alan Maguire <[email protected]> Tested-by: Alan Maguire <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/radixtree.py')
0 files changed, 0 insertions, 0 deletions