Lines Matching full:example
95 file name, i.e., if BPF object file name is **example.o**, BPF object name
96 will be **example**. Object name can be also specified explicitly through
98 provided (assuming **example** as the object name):
265 This is example BPF application with three BPF programs and a mix of BPF
275 **$ bpftool gen object example.bpf.o example1.bpf.o example2.bpf.o example3.bpf.o**
279 files into the final BPF ELF object file *example.bpf.o*.
281 **$ bpftool gen skeleton example.bpf.o name example | tee example.skel.h**
294 struct example {
334 static void example__destroy(struct example *obj);
335 static inline struct example *example__open_opts(
337 static inline struct example *example__open();
338 static inline int example__load(struct example *obj);
339 static inline struct example *example__open_and_load();
340 static inline int example__attach(struct example *obj);
341 static inline void example__detach(struct example *obj);
345 **$ cat example.c**
349 #include "example.skel.h"
353 struct example *skel;
394 **# ./example**
403 This is a stripped-out version of skeleton generated for above example code.
408 **$ bpftool btf dump file 5.4.0-example.btf format raw**
439 **$ bpftool gen min_core_btf 5.4.0-example.btf 5.4.0-smaller.btf one.bpf.o**
459 when loading the "one.bpf.o" object into the "5.4.0-example" kernel. Note that