kernel/tools/build/feature/test-libbpf.c

8 lines
123 B
C
Raw Normal View History

2024-07-22 17:22:30 +08:00
// SPDX-License-Identifier: GPL-2.0
#include <bpf/libbpf.h>
int main(void)
{
return bpf_object__open("test") ? 0 : -1;
}