diff options
| author | Kumar Kartikeya Dwivedi <[email protected]> | 2024-11-04 17:19:58 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-11-04 19:37:36 +0000 |
| commit | 0e2fb011a0ba8e2258ce776fdf89fbd589c2a3a6 (patch) | |
| tree | 488625a37ae71db0d4d69780c84a2bd077e053dd /tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c | |
| parent | bpf: Mark raw_tp arguments with PTR_MAYBE_NULL (diff) | |
| download | kernel-0e2fb011a0ba8e2258ce776fdf89fbd589c2a3a6.tar.gz kernel-0e2fb011a0ba8e2258ce776fdf89fbd589c2a3a6.zip | |
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 <[email protected]>
Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c')
0 files changed, 0 insertions, 0 deletions
