diff options
author | Kumar Kartikeya Dwivedi <[email protected]> | 2024-11-04 09:19:58 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-11-04 11:37:36 -0800 |
commit | 0e2fb011a0ba8e2258ce776fdf89fbd589c2a3a6 (patch) | |
tree | 488625a37ae71db0d4d69780c84a2bd077e053dd /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | cb4158ce8ec8a5bb528cc1693356a5eb8058094d (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 <[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/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions