Lines Matching refs:example
102 file name is **example.o**, BPF object name will be
103 **example**. Object name can be also specified explicitly
105 custom functions are provided (assuming **example** as
211 This is example BPF application with two BPF programs and a mix of BPF maps
216 **$ bpftool gen object example.bpf.o example1.bpf.o example2.bpf.o**
220 BPF ELF object file *example.bpf.o*.
222 **$ bpftool gen skeleton example.bpf.o name example | tee example.skel.h**
235 struct example {
266 static void example__destroy(struct example *obj);
267 static inline struct example *example__open_opts(
269 static inline struct example *example__open();
270 static inline int example__load(struct example *obj);
271 static inline struct example *example__open_and_load();
272 static inline int example__attach(struct example *obj);
273 static inline void example__detach(struct example *obj);
277 **$ cat example.c**
281 #include "example.skel.h"
285 struct example *skel;
320 **# ./example**
328 This is a stripped-out version of skeleton generated for above example code.