Lines Matching full:bpftool
4 bpftool-prog
17 **bpftool** [*OPTIONS*] **prog** *COMMAND*
30 | **bpftool** **prog** { **show** | **list** } [*PROG*]
31 | **bpftool** **prog dump xlated** *PROG* [{**file** *FILE* | **opcodes** | **visual** | **linum**}]
32 | **bpftool** **prog dump jited** *PROG* [{**file** *FILE* | **opcodes** | **linum**}]
33 | **bpftool** **prog pin** *PROG* *FILE*
34 | **bpftool** **prog** { **load** | **loadall** } *OBJ* *PATH* [**type** *TYPE*] [**map** {**idx** …
35 | **bpftool** **prog attach** *PROG* *ATTACH_TYPE* [*MAP*]
36 | **bpftool** **prog detach** *PROG* *ATTACH_TYPE* [*MAP*]
37 | **bpftool** **prog tracelog**
38 | **bpftool** **prog run** *PROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] …
39 | **bpftool** **prog profile** *PROG* [**duration** *DURATION*] *METRICs*
40 | **bpftool** **prog help**
67 **bpftool prog { show | list }** [*PROG*]
79 and the number of times it was run). If available, bpftool
85 Since Linux 5.8 bpftool is able to discover information about
87 programs. On such kernels bpftool will automatically emit this
90 **bpftool prog dump xlated** *PROG* [{ **file** *FILE* | **opcodes** | **visual** | **linum** }]
112 **bpftool prog dump jited** *PROG* [{ **file** *FILE* | **opcodes** | **linum** }]
126 **bpftool prog pin** *PROG* *FILE*
133 …**bpftool prog { load | loadall }** *OBJ* *PATH* [**type** *TYPE*] [**map** {**idx** *IDX* | **nam…
135 **bpftool prog load** pins only the first program from the
136 *OBJ* as *PATH*. **bpftool prog loadall** pins all programs
140 By default bpftool will create new maps as declared in the ELF
156 **bpftool prog attach** *PROG* *ATTACH_TYPE* [*MAP*]
162 **bpftool prog detach** *PROG* *ATTACH_TYPE* [*MAP*]
168 **bpftool prog tracelog**
174 perf events (see also **bpftool-map**\ (8)).
176 …**bpftool prog run** *PROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ct…
207 arguments. bpftool does not perform checks on program types.
209 **bpftool prog profile** *PROG* [**duration** *DURATION*] *METRICs*
215 **bpftool prog help**
236 use, bpftool attempts to load the programs from the object
244 and loading the programs (see **bpftool prog tracelog** as
249 **# bpftool prog show**
258 **# bpftool --json --pretty prog show**
286 | **# bpftool prog dump xlated id 10 file /tmp/t**
293 **# bpftool prog dump jited tag 005a3d2123620c8b**
305 | **# bpftool prog pin id 10 /sys/fs/bpf/prog**
306 | **# bpftool prog load ./my_prog.o /sys/fs/bpf/prog2**
314 **# bpftool prog dump jited pinned /sys/fs/bpf/prog opcodes**
330 | **# bpftool prog load xdp1_kern.o /sys/fs/bpf/xdp1 type xdp map name rxcnt id 7**
331 | **# bpftool prog show pinned /sys/fs/bpf/xdp1**
342 | **# bpftool prog profile id 337 duration 10 cycles instructions llc_misses**
354 | **# bpftool prog tracelog**
355 | **# bpftool prog load -L -d file.o**
359 bpftool-620059 [004] d... 2634685.517903: bpf_trace_printk: btf_load size 665 r=5
360 …bpftool-620059 [004] d... 2634685.517912: bpf_trace_printk: map_create sample_map idx 0 type 2 va…
361 bpftool-620059 [004] d... 2634685.517997: bpf_trace_printk: prog_load sample insn_cnt 13 r=7
362 bpftool-620059 [004] d... 2634685.517999: bpf_trace_printk: close(5) = 0