Searched refs:skel (Results 1 – 3 of 3) sorted by relevance
26 iterators_bpf__dump_bpf_map__attach(struct iterators_bpf *skel) in iterators_bpf__dump_bpf_map__attach() argument28 int prog_fd = skel->progs.dump_bpf_map.prog_fd; in iterators_bpf__dump_bpf_map__attach()32 skel->links.dump_bpf_map_fd = fd; in iterators_bpf__dump_bpf_map__attach()37 iterators_bpf__dump_bpf_prog__attach(struct iterators_bpf *skel) in iterators_bpf__dump_bpf_prog__attach() argument39 int prog_fd = skel->progs.dump_bpf_prog.prog_fd; in iterators_bpf__dump_bpf_prog__attach()43 skel->links.dump_bpf_prog_fd = fd; in iterators_bpf__dump_bpf_prog__attach()48 iterators_bpf__attach(struct iterators_bpf *skel) in iterators_bpf__attach() argument52 ret = ret < 0 ? ret : iterators_bpf__dump_bpf_map__attach(skel); in iterators_bpf__attach()53 ret = ret < 0 ? ret : iterators_bpf__dump_bpf_prog__attach(skel); in iterators_bpf__attach()58 iterators_bpf__detach(struct iterators_bpf *skel) in iterators_bpf__detach() argument[all …]
2 If you change "iterators.bpf.c" do "make -j" in this directory to rebuild "iterators.skel.h".
9 static struct iterators_bpf *skel; variable17 iterators_bpf__destroy(skel); in free_links_and_skel()38 skel = iterators_bpf__open(); in load_skel()39 if (!skel) in load_skel()41 err = iterators_bpf__load(skel); in load_skel()44 err = iterators_bpf__attach(skel); in load_skel()47 maps_link = bpf_link_get_from_fd(skel->links.dump_bpf_map_fd); in load_skel()52 progs_link = bpf_link_get_from_fd(skel->links.dump_bpf_prog_fd); in load_skel()60 close_fd(skel->links.dump_bpf_map_fd); in load_skel()61 skel->links.dump_bpf_map_fd = 0; in load_skel()[all …]