4d80eb8c56b05d7483fa87dfaf5c549af89160ca
[platform/kernel/linux-rpi.git] / tools / lib / bpf / libbpf.map
1 LIBBPF_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
128 LIBBPF_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
161 LIBBPF_0.0.3 {
162         global:
163                 bpf_map__is_internal;
164                 bpf_map_freeze;
165                 btf__finalize_data;
166 } LIBBPF_0.0.2;
167
168 LIBBPF_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
189 LIBBPF_0.0.5 {
190         global:
191                 bpf_btf_get_next_id;
192 } LIBBPF_0.0.4;
193
194 LIBBPF_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
212 LIBBPF_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
239 LIBBPF_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
258 LIBBPF_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
274 LIBBPF_0.1.0 {
275         global:
276                 bpf_link__detach;
277                 bpf_link_detach;
278                 bpf_map__ifindex;
279                 bpf_map__key_size;
280                 bpf_map__map_flags;
281                 bpf_map__max_entries;
282                 bpf_map__numa_node;
283                 bpf_map__set_key_size;
284                 bpf_map__set_map_flags;
285                 bpf_map__set_max_entries;
286                 bpf_map__set_numa_node;
287                 bpf_map__set_type;
288                 bpf_map__set_value_size;
289                 bpf_map__type;
290                 bpf_map__value_size;
291                 bpf_program__attach_xdp;
292                 bpf_program__autoload;
293                 bpf_program__is_sk_lookup;
294                 bpf_program__set_autoload;
295                 bpf_program__set_sk_lookup;
296                 btf__parse;
297                 btf__parse_raw;
298                 btf__pointer_size;
299                 btf__set_fd;
300                 btf__set_pointer_size;
301 } LIBBPF_0.0.9;
302
303 LIBBPF_0.2.0 {
304         global:
305                 bpf_prog_bind_map;
306                 bpf_prog_test_run_opts;
307                 bpf_program__attach_freplace;
308                 bpf_program__section_name;
309                 btf__add_array;
310                 btf__add_const;
311                 btf__add_enum;
312                 btf__add_enum_value;
313                 btf__add_datasec;
314                 btf__add_datasec_var_info;
315                 btf__add_field;
316                 btf__add_func;
317                 btf__add_func_param;
318                 btf__add_func_proto;
319                 btf__add_fwd;
320                 btf__add_int;
321                 btf__add_ptr;
322                 btf__add_restrict;
323                 btf__add_str;
324                 btf__add_struct;
325                 btf__add_typedef;
326                 btf__add_union;
327                 btf__add_var;
328                 btf__add_volatile;
329                 btf__endianness;
330                 btf__find_str;
331                 btf__new_empty;
332                 btf__set_endianness;
333                 btf__str_by_offset;
334                 perf_buffer__buffer_cnt;
335                 perf_buffer__buffer_fd;
336                 perf_buffer__epoll_fd;
337                 perf_buffer__consume_buffer;
338                 xsk_socket__create_shared;
339 } LIBBPF_0.1.0;
340
341 LIBBPF_0.3.0 {
342         global:
343                 btf__base_btf;
344                 btf__parse_elf_split;
345                 btf__parse_raw_split;
346                 btf__parse_split;
347                 btf__new_empty_split;
348                 btf__new_split;
349                 ring_buffer__epoll_fd;
350                 xsk_setup_xdp_prog;
351                 xsk_socket__update_xskmap;
352 } LIBBPF_0.2.0;
353
354 LIBBPF_0.4.0 {
355         global:
356                 btf__add_float;
357                 btf__add_type;
358                 bpf_linker__add_file;
359                 bpf_linker__finalize;
360                 bpf_linker__free;
361                 bpf_linker__new;
362                 bpf_map__inner_map;
363                 bpf_object__set_kversion;
364                 bpf_tc_attach;
365                 bpf_tc_detach;
366                 bpf_tc_hook_create;
367                 bpf_tc_hook_destroy;
368                 bpf_tc_query;
369 } LIBBPF_0.3.0;
370
371 LIBBPF_0.5.0 {
372         global:
373                 bpf_map__initial_value;
374                 bpf_map__pin_path;
375                 bpf_map_lookup_and_delete_elem_flags;
376                 bpf_program__attach_kprobe_opts;
377                 bpf_object__gen_loader;
378                 btf__load_into_kernel;
379                 btf_dump__dump_type_data;
380                 libbpf_set_strict_mode;
381 } LIBBPF_0.4.0;