Home
last modified time | relevance | path

Searched refs:LIBBPF_API (Results 1 – 9 of 9) sorted by relevance

/linux-6.3-rc2/tools/lib/bpf/
A Dlibbpf.h280 LIBBPF_API int
446 LIBBPF_API struct bpf_link *
741 LIBBPF_API int
768 LIBBPF_API int
780 LIBBPF_API struct bpf_map *
783 LIBBPF_API int
786 LIBBPF_API struct bpf_map *
795 LIBBPF_API struct bpf_map *
1440 LIBBPF_API int
1472 LIBBPF_API int
[all …]
A Dbtf.h38 LIBBPF_API void btf__free(struct btf *btf);
90 LIBBPF_API struct btf *btf__new_empty(void);
117 LIBBPF_API struct btf *btf__load_vmlinux_btf(void);
123 LIBBPF_API int btf__load_into_kernel(struct btf *btf);
128 LIBBPF_API __u32 btf__type_cnt(const struct btf *btf);
139 LIBBPF_API int btf__fd(const struct btf *btf);
140 LIBBPF_API void btf__set_fd(struct btf *btf, int fd);
179 LIBBPF_API int btf__add_array(struct btf *btf,
248 LIBBPF_API void btf_dump__free(struct btf_dump *d);
273 LIBBPF_API int
[all …]
A Dbpf.h139 LIBBPF_API int bpf_map_freeze(int fd);
283 LIBBPF_API int bpf_obj_get(const char *pathname);
333 LIBBPF_API int bpf_link_detach(int link_fd);
345 LIBBPF_API int bpf_iter_create(int link_fd);
376 LIBBPF_API int bpf_prog_get_fd_by_id(__u32 id);
379 LIBBPF_API int bpf_map_get_fd_by_id(__u32 id);
380 LIBBPF_API int bpf_map_get_fd_by_id_opts(__u32 id,
382 LIBBPF_API int bpf_btf_get_fd_by_id(__u32 id);
385 LIBBPF_API int bpf_link_get_fd_by_id(__u32 id);
409 LIBBPF_API int bpf_prog_query_opts(int target_fd,
[all …]
A Dlibbpf_legacy.h94 LIBBPF_API int libbpf_set_strict_mode(enum libbpf_strict_mode mode);
113 LIBBPF_API long libbpf_get_error(const void *ptr);
128 LIBBPF_API struct btf *libbpf_find_kernel_btf(void);
130 LIBBPF_API enum bpf_prog_type bpf_program__get_type(const struct bpf_program *prog);
131 LIBBPF_API enum bpf_attach_type bpf_program__get_expected_attach_type(const struct bpf_program *pro…
132 LIBBPF_API const char *bpf_map__get_pin_path(const struct bpf_map *map);
133 LIBBPF_API const void *btf__get_raw_data(const struct btf *btf, __u32 *size);
134 LIBBPF_API const void *btf_ext__get_raw_data(const struct btf_ext *btf_ext, __u32 *size);
A Dlibbpf_common.h15 #ifndef LIBBPF_API
16 #define LIBBPF_API __attribute__((visibility("default"))) macro
A Dlibbpf.c10770 LIBBPF_API struct bpf_link *
/linux-6.3-rc2/Documentation/bpf/libbpf/
A Dlibbpf_naming_convention.rst76 attributed with ``LIBBPF_API`` macro. For example:
80 LIBBPF_API int bpf_prog_get_fd_by_id(__u32 id);
/linux-6.3-rc2/tools/perf/util/
A Dbpf-event.c39 LIBBPF_API int bpf_load_program(enum bpf_prog_type type,
A Dbpf_counter.c316 LIBBPF_API int bpf_create_map(enum bpf_map_type map_type, int key_size,

Completed in 46 milliseconds