• Home
  • Raw
  • Download

Lines Matching full:prog

4 bpftool-prog
17 **bpftool** [*OPTIONS*] **prog** *COMMAND*
27 PROG COMMANDS
30 | **bpftool** **prog** { **show** | **list** } [*PROG*]
31 | **bpftool** **prog dump xlated** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] [**visual*…
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**
43 | *PROG* := { **id** *PROG_ID* | **pinned** *FILE* | **tag** *PROG_TAG* | **name** *PROG_NAME* }
68 **bpftool prog { show | list }** [*PROG*]
69 Show information about loaded programs. If *PROG* is
72 In case of **tag** or **name**, *PROG* may match several
91 **bpftool prog dump xlated** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] [**visual**] }]
97 In case of **tag** or **name**, *PROG* may match several
99 **visual** is specified, *PROG* must match a single program.
112 **bpftool prog dump jited** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] }]
117 *PROG* must match a single program when **file** is specified.
121 If the prog has line_info available, the source line will
125 **bpftool prog pin** *PROG* *FILE*
126 Pin program *PROG* as *FILE*.
132 …**bpftool prog { load | loadall }** *OBJ* *PATH* [**type** *TYPE*] [**map** { **idx** *IDX* | **na…
134 **bpftool prog load** pins only the first program from the
135 *OBJ* as *PATH*. **bpftool prog loadall** pins all programs
157 such, so the path won't show in **bpftool prog show -f**,
169 **bpftool prog attach** *PROG* *ATTACH_TYPE* [*MAP*]
170 Attach bpf program *PROG* (with type specified by
175 **bpftool prog detach** *PROG* *ATTACH_TYPE* [*MAP*]
176 Detach bpf program *PROG* (with type specified by
181 **bpftool prog tracelog**
189 …**bpftool prog run** *PROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ct…
190 Run BPF program *PROG* in the kernel testing infrastructure
222 **bpftool prog profile** *PROG* [**duration** *DURATION*] *METRICs*
223 Profile *METRICs* for bpf program *PROG* for *DURATION*
228 **bpftool prog help**
257 and loading the programs (see **bpftool prog tracelog** as
262 **# bpftool prog show**
271 **# bpftool --json --pretty prog show**
299 | **# bpftool prog dump xlated id 10 file /tmp/t**
306 **# bpftool prog dump jited tag 005a3d2123620c8b**
318 | **# bpftool prog pin id 10 /sys/fs/bpf/prog**
319 | **# bpftool prog load ./my_prog.o /sys/fs/bpf/prog2**
324 -rw------- 1 root root 0 Jul 22 01:43 prog
327 **# bpftool prog dump jited pinned /sys/fs/bpf/prog opcodes**
343 | **# bpftool prog load xdp1_kern.o /sys/fs/bpf/xdp1 type xdp map name rxcnt id 7**
344 | **# bpftool prog show pinned /sys/fs/bpf/xdp1**
355 | **# bpftool prog profile id 337 duration 10 cycles instructions llc_misses**
367 | **# bpftool prog tracelog**
368 | **# bpftool prog load -L -d file.o**