xref: /openbmc/linux/tools/lib/bpf/libbpf.map (revision 55fd7e02)
1LIBBPF_0.0.1 {
2	global:
3		bpf_btf_get_fd_by_id;
4		bpf_create_map;
5		bpf_create_map_in_map;
6		bpf_create_map_in_map_node;
7		bpf_create_map_name;
8		bpf_create_map_node;
9		bpf_create_map_xattr;
10		bpf_load_btf;
11		bpf_load_program;
12		bpf_load_program_xattr;
13		bpf_map__btf_key_type_id;
14		bpf_map__btf_value_type_id;
15		bpf_map__def;
16		bpf_map__fd;
17		bpf_map__is_offload_neutral;
18		bpf_map__name;
19		bpf_map__next;
20		bpf_map__pin;
21		bpf_map__prev;
22		bpf_map__priv;
23		bpf_map__reuse_fd;
24		bpf_map__set_ifindex;
25		bpf_map__set_inner_map_fd;
26		bpf_map__set_priv;
27		bpf_map__unpin;
28		bpf_map_delete_elem;
29		bpf_map_get_fd_by_id;
30		bpf_map_get_next_id;
31		bpf_map_get_next_key;
32		bpf_map_lookup_and_delete_elem;
33		bpf_map_lookup_elem;
34		bpf_map_update_elem;
35		bpf_obj_get;
36		bpf_obj_get_info_by_fd;
37		bpf_obj_pin;
38		bpf_object__btf_fd;
39		bpf_object__close;
40		bpf_object__find_map_by_name;
41		bpf_object__find_map_by_offset;
42		bpf_object__find_program_by_title;
43		bpf_object__kversion;
44		bpf_object__load;
45		bpf_object__name;
46		bpf_object__next;
47		bpf_object__open;
48		bpf_object__open_buffer;
49		bpf_object__open_xattr;
50		bpf_object__pin;
51		bpf_object__pin_maps;
52		bpf_object__pin_programs;
53		bpf_object__priv;
54		bpf_object__set_priv;
55		bpf_object__unload;
56		bpf_object__unpin_maps;
57		bpf_object__unpin_programs;
58		bpf_perf_event_read_simple;
59		bpf_prog_attach;
60		bpf_prog_detach;
61		bpf_prog_detach2;
62		bpf_prog_get_fd_by_id;
63		bpf_prog_get_next_id;
64		bpf_prog_load;
65		bpf_prog_load_xattr;
66		bpf_prog_query;
67		bpf_prog_test_run;
68		bpf_prog_test_run_xattr;
69		bpf_program__fd;
70		bpf_program__is_kprobe;
71		bpf_program__is_perf_event;
72		bpf_program__is_raw_tracepoint;
73		bpf_program__is_sched_act;
74		bpf_program__is_sched_cls;
75		bpf_program__is_socket_filter;
76		bpf_program__is_tracepoint;
77		bpf_program__is_xdp;
78		bpf_program__load;
79		bpf_program__next;
80		bpf_program__nth_fd;
81		bpf_program__pin;
82		bpf_program__pin_instance;
83		bpf_program__prev;
84		bpf_program__priv;
85		bpf_program__set_expected_attach_type;
86		bpf_program__set_ifindex;
87		bpf_program__set_kprobe;
88		bpf_program__set_perf_event;
89		bpf_program__set_prep;
90		bpf_program__set_priv;
91		bpf_program__set_raw_tracepoint;
92		bpf_program__set_sched_act;
93		bpf_program__set_sched_cls;
94		bpf_program__set_socket_filter;
95		bpf_program__set_tracepoint;
96		bpf_program__set_type;
97		bpf_program__set_xdp;
98		bpf_program__title;
99		bpf_program__unload;
100		bpf_program__unpin;
101		bpf_program__unpin_instance;
102		bpf_prog_linfo__free;
103		bpf_prog_linfo__new;
104		bpf_prog_linfo__lfind_addr_func;
105		bpf_prog_linfo__lfind;
106		bpf_raw_tracepoint_open;
107		bpf_set_link_xdp_fd;
108		bpf_task_fd_query;
109		bpf_verify_program;
110		btf__fd;
111		btf__find_by_name;
112		btf__free;
113		btf__get_from_id;
114		btf__name_by_offset;
115		btf__new;
116		btf__resolve_size;
117		btf__resolve_type;
118		btf__type_by_id;
119		libbpf_attach_type_by_name;
120		libbpf_get_error;
121		libbpf_prog_type_by_name;
122		libbpf_set_print;
123		libbpf_strerror;
124	local:
125		*;
126};
127
128LIBBPF_0.0.2 {
129	global:
130		bpf_probe_helper;
131		bpf_probe_map_type;
132		bpf_probe_prog_type;
133		bpf_map__resize;
134		bpf_map_lookup_elem_flags;
135		bpf_object__btf;
136		bpf_object__find_map_fd_by_name;
137		bpf_get_link_xdp_id;
138		btf__dedup;
139		btf__get_map_kv_tids;
140		btf__get_nr_types;
141		btf__get_raw_data;
142		btf__load;
143		btf_ext__free;
144		btf_ext__func_info_rec_size;
145		btf_ext__get_raw_data;
146		btf_ext__line_info_rec_size;
147		btf_ext__new;
148		btf_ext__reloc_func_info;
149		btf_ext__reloc_line_info;
150		xsk_umem__create;
151		xsk_socket__create;
152		xsk_umem__delete;
153		xsk_socket__delete;
154		xsk_umem__fd;
155		xsk_socket__fd;
156		bpf_program__get_prog_info_linear;
157		bpf_program__bpil_addr_to_offs;
158		bpf_program__bpil_offs_to_addr;
159} LIBBPF_0.0.1;
160
161LIBBPF_0.0.3 {
162	global:
163		bpf_map__is_internal;
164		bpf_map_freeze;
165		btf__finalize_data;
166} LIBBPF_0.0.2;
167
168LIBBPF_0.0.4 {
169	global:
170		bpf_link__destroy;
171		bpf_object__load_xattr;
172		bpf_program__attach_kprobe;
173		bpf_program__attach_perf_event;
174		bpf_program__attach_raw_tracepoint;
175		bpf_program__attach_tracepoint;
176		bpf_program__attach_uprobe;
177		btf_dump__dump_type;
178		btf_dump__free;
179		btf_dump__new;
180		btf__parse_elf;
181		libbpf_num_possible_cpus;
182		perf_buffer__free;
183		perf_buffer__new;
184		perf_buffer__new_raw;
185		perf_buffer__poll;
186		xsk_umem__create;
187} LIBBPF_0.0.3;
188
189LIBBPF_0.0.5 {
190	global:
191		bpf_btf_get_next_id;
192} LIBBPF_0.0.4;
193
194LIBBPF_0.0.6 {
195	global:
196		bpf_get_link_xdp_info;
197		bpf_map__get_pin_path;
198		bpf_map__is_pinned;
199		bpf_map__set_pin_path;
200		bpf_object__open_file;
201		bpf_object__open_mem;
202		bpf_program__attach_trace;
203		bpf_program__get_expected_attach_type;
204		bpf_program__get_type;
205		bpf_program__is_tracing;
206		bpf_program__set_tracing;
207		bpf_program__size;
208		btf__find_by_name_kind;
209		libbpf_find_vmlinux_btf_id;
210} LIBBPF_0.0.5;
211
212LIBBPF_0.0.7 {
213	global:
214		btf_dump__emit_type_decl;
215		bpf_link__disconnect;
216		bpf_map__attach_struct_ops;
217		bpf_map_delete_batch;
218		bpf_map_lookup_and_delete_batch;
219		bpf_map_lookup_batch;
220		bpf_map_update_batch;
221		bpf_object__find_program_by_name;
222		bpf_object__attach_skeleton;
223		bpf_object__destroy_skeleton;
224		bpf_object__detach_skeleton;
225		bpf_object__load_skeleton;
226		bpf_object__open_skeleton;
227		bpf_probe_large_insn_limit;
228		bpf_prog_attach_xattr;
229		bpf_program__attach;
230		bpf_program__name;
231		bpf_program__is_extension;
232		bpf_program__is_struct_ops;
233		bpf_program__set_extension;
234		bpf_program__set_struct_ops;
235		btf__align_of;
236		libbpf_find_kernel_btf;
237} LIBBPF_0.0.6;
238
239LIBBPF_0.0.8 {
240	global:
241		bpf_link__fd;
242		bpf_link__open;
243		bpf_link__pin;
244		bpf_link__pin_path;
245		bpf_link__unpin;
246		bpf_link__update_program;
247		bpf_link_create;
248		bpf_link_update;
249		bpf_map__set_initial_value;
250		bpf_program__attach_cgroup;
251		bpf_program__attach_lsm;
252		bpf_program__is_lsm;
253		bpf_program__set_attach_target;
254		bpf_program__set_lsm;
255		bpf_set_link_xdp_fd_opts;
256} LIBBPF_0.0.7;
257
258LIBBPF_0.0.9 {
259	global:
260		bpf_enable_stats;
261		bpf_iter_create;
262		bpf_link_get_fd_by_id;
263		bpf_link_get_next_id;
264		bpf_program__attach_iter;
265		bpf_program__attach_netns;
266		perf_buffer__consume;
267		ring_buffer__add;
268		ring_buffer__consume;
269		ring_buffer__free;
270		ring_buffer__new;
271		ring_buffer__poll;
272} LIBBPF_0.0.8;
273