2018-11-21 09:29:44 -08:00
|
|
|
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
|
|
|
|
|
#include "libbpf.h"
|
|
|
|
|
#include "bpf.h"
|
|
|
|
|
#include "btf.h"
|
|
|
|
|
|
|
|
|
|
/* do nothing, just make sure we can link successfully */
|
|
|
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
|
{
|
|
|
|
|
/* libbpf.h */
|
2019-02-01 16:14:17 -08:00
|
|
|
libbpf_set_print(NULL);
|
2018-11-21 09:29:44 -08:00
|
|
|
|
|
|
|
|
/* bpf.h */
|
|
|
|
|
bpf_prog_get_fd_by_id(0);
|
|
|
|
|
|
|
|
|
|
/* btf.h */
|
2019-02-01 16:14:14 -08:00
|
|
|
btf__new(NULL, 0);
|
2018-11-21 09:29:44 -08:00
|
|
|
}
|