summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2024-11-04 09:19:58 -0800
committerAlexei Starovoitov <ast@kernel.org>2024-11-04 11:37:36 -0800
commit0e2fb011a0ba8e2258ce776fdf89fbd589c2a3a6 (patch)
tree488625a37ae71db0d4d69780c84a2bd077e053dd /tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c
parentcb4158ce8ec8a5bb528cc1693356a5eb8058094d (diff)
selftests/bpf: Clean up open-coded gettid syscall invocations
Availability of the gettid definition across glibc versions supported by BPF selftests is not certain. Currently, all users in the tree open-code syscall to gettid. Convert them to a common macro definition. Reviewed-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Link: https://lore.kernel.org/r/20241104171959.2938862-3-memxor@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c')
0 files changed, 0 insertions, 0 deletions