diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2024-01-23 17:03:50 +0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-01-23 20:26:17 -0800 |
commit | 15b4f88dcc0a751f790bfea5ef9dcc6385c62236 (patch) | |
tree | 166a41af24d6304c34d61e2f797bbaf07f1765f8 /kernel/bpf/helpers.c | |
parent | 8b593021319d4893a8fbeb7bd1f668657e68403c (diff) |
selftests/bpf: Move is_jit_enabled() into testing_helpers
Currently, is_jit_enabled() is only used in test_progs, move it into
testing_helpers so that it can be used in test_verifier. While at it,
remove the second argument "0" of open() as Hou Tao suggested.
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Hou Tao <houtao1@huawei.com>
Acked-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/bpf/20240123090351.2207-2-yangtiezhu@loongson.cn
Diffstat (limited to 'kernel/bpf/helpers.c')
0 files changed, 0 insertions, 0 deletions