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):
276 This is example BPF application with three BPF programs and a mix of BPF
286 **$ bpftool gen object example.bpf.o example1.bpf.o example2.bpf.o example3.bpf.o**
290 files into the final BPF ELF object file *example.bpf.o*.
292 **$ bpftool gen skeleton example.bpf.o name example | tee example.skel.h**
305 struct example {
345 static void example__destroy(struct example *obj);
346 static inline struct example *example__open_opts(
348 static inline struct example *example__open();
349 static inline int example__load(struct example *obj);
350 static inline struct example *example__open_and_load();
351 static inline int example__attach(struct example *obj);
352 static inline void example__detach(struct example *obj);
356 **$ cat example.c**
360 #include "example.skel.h"
364 struct example *skel;
405 **# ./example**
414 This is a stripped-out version of skeleton generated for above example code.
419 **$ bpftool btf dump file 5.4.0-example.btf format raw**
450 **$ bpftool gen min_core_btf 5.4.0-example.btf 5.4.0-smaller.btf one.bpf.o**
470 when loading the "one.bpf.o" object into the "5.4.0-example" kernel. Note that