bpf_obj_get_opts
LIBBPF_OPTS(bpf_obj_get_opts, get_opts);
const struct bpf_obj_get_opts *opts)
fd = bpf_obj_get_opts(pname, opts);
const struct bpf_obj_get_opts *opts)
const struct bpf_obj_get_opts *opts);
const struct bpf_obj_get_opts *opts);
return bpf_obj_get_opts(pathname, NULL);
int bpf_obj_get_opts(const char *pathname, const struct bpf_obj_get_opts *opts)
if (!OPTS_VALID(opts, bpf_obj_get_opts))
LIBBPF_API int bpf_obj_get_opts(const char *pathname,
const struct bpf_obj_get_opts *opts);
LIBBPF_OPTS(bpf_obj_get_opts, get_opts);
map_fd2 = bpf_obj_get_opts(pin_path, &get_opts);
LIBBPF_OPTS(bpf_obj_get_opts, get_opts);
map_fd2 = bpf_obj_get_opts(map_name, &get_opts);