~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/bpf/bpftool/Documentation/bpftool.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 
  3 ================
  4 BPFTOOL
  5 ================
  6 -------------------------------------------------------------------------------
  7 tool for inspection and simple manipulation of eBPF programs and maps
  8 -------------------------------------------------------------------------------
  9 
 10 :Manual section: 8
 11 
 12 .. include:: substitutions.rst
 13 
 14 SYNOPSIS
 15 ========
 16 
 17 **bpftool** [*OPTIONS*] *OBJECT* { *COMMAND* | **help** }
 18 
 19 **bpftool** **batch file** *FILE*
 20 
 21 **bpftool** **version**
 22 
 23 *OBJECT* := { **map** | **prog** | **link** | **cgroup** | **perf** | **net** | **feature** |
 24 **btf** | **gen** | **struct_ops** | **iter** }
 25 
 26 *OPTIONS* := { { **-V** | **--version** } | |COMMON_OPTIONS| }
 27 
 28 *MAP-COMMANDS* :=
 29 { **show** | **list** | **create** | **dump** | **update** | **lookup** | **getnext** |
 30 **delete** | **pin** | **event_pipe** | **help** }
 31 
 32 *PROG-COMMANDS* := { **show** | **list** | **dump jited** | **dump xlated** | **pin** |
 33 **load** | **attach** | **detach** | **help** }
 34 
 35 *LINK-COMMANDS* := { **show** | **list** | **pin** | **detach** | **help** }
 36 
 37 *CGROUP-COMMANDS* := { **show** | **list** | **attach** | **detach** | **help** }
 38 
 39 *PERF-COMMANDS* := { **show** | **list** | **help** }
 40 
 41 *NET-COMMANDS* := { **show** | **list** | **help** }
 42 
 43 *FEATURE-COMMANDS* := { **probe** | **help** }
 44 
 45 *BTF-COMMANDS* := { **show** | **list** | **dump** | **help** }
 46 
 47 *GEN-COMMANDS* := { **object** | **skeleton** | **min_core_btf** | **help** }
 48 
 49 *STRUCT-OPS-COMMANDS* := { **show** | **list** | **dump** | **register** | **unregister** | **help** }
 50 
 51 *ITER-COMMANDS* := { **pin** | **help** }
 52 
 53 DESCRIPTION
 54 ===========
 55 *bpftool* allows for inspection and simple modification of BPF objects on the
 56 system.
 57 
 58 Note that format of the output of all tools is not guaranteed to be stable and
 59 should not be depended upon.
 60 
 61 OPTIONS
 62 =======
 63 .. include:: common_options.rst
 64 
 65 -m, --mapcompat
 66     Allow loading maps with unknown map definitions.
 67 
 68 -n, --nomount
 69     Do not automatically attempt to mount any virtual file system (such as
 70     tracefs or BPF virtual file system) when necessary.

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php