Re: [PATCH bpf-next v4 1/2] selftests/bpf: Move is_jit_enabled() to testing_helpers

From: Song Liu
Date: Tue Jan 16 2024 - 19:17:20 EST


On Mon, Jan 15, 2024 at 8:50 PM Tiezhu Yang <yangtiezhu@xxxxxxxxxxx> wrote:
>
> Currently, is_jit_enabled() is only used in test_progs, move it to
> 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@xxxxxxxxxxx>
> Acked-by: Hou Tao <houtao1@xxxxxxxxxx>

Acked-by: Song Liu <song@xxxxxxxxxx>