]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
docs/bpf: add missing fsession attach type to docs
authorMenglong Dong <menglong8.dong@gmail.com>
Sun, 12 Apr 2026 06:03:45 +0000 (14:03 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 12 Apr 2026 19:42:38 +0000 (12:42 -0700)
Add the fsession attach type to program_types.rst and drgn.rst.

Acked-by: Leon Hwang <leon.hwang@linux.dev>
Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>
Link: https://lore.kernel.org/r/20260412060346.142007-3-dongml2@chinatelecom.cn
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Documentation/bpf/drgn.rst
Documentation/bpf/libbpf/program_types.rst

index 41f223c3161ec142b329038406564dd9519db1b1..cabf702eb75a5cace8e60043a8ca7179895567c8 100644 (file)
@@ -26,8 +26,8 @@ about these objects, including id, type and name.
 
 The main use-case `bpf_inspect.py`_ covers is to show BPF programs of types
 ``BPF_PROG_TYPE_EXT`` and ``BPF_PROG_TYPE_TRACING`` attached to other BPF
-programs via ``freplace``/``fentry``/``fexit`` mechanisms, since there is no
-user-space API to get this information.
+programs via ``freplace``/``fentry``/``fexit``/``fsession`` mechanisms, since
+there is no user-space API to get this information.
 
 Getting started
 ===============
index 3b837522834bf9a21250d90d573e891025b51778..3a07ce3b7f7998437b88ebd0db128d291eff9cd2 100644 (file)
@@ -207,6 +207,10 @@ described in more detail in the footnotes.
 +                                           +                                        +----------------------------------+-----------+
 |                                           |                                        | ``fexit.s+`` [#fentry]_          | Yes       |
 +                                           +----------------------------------------+----------------------------------+-----------+
+|                                           | ``BPF_TRACE_FSESSION``                 | ``fsession+`` [#fentry]_         |           |
++                                           +                                        +----------------------------------+-----------+
+|                                           |                                        | ``fsession.s+`` [#fentry]_       | Yes       |
++                                           +----------------------------------------+----------------------------------+-----------+
 |                                           | ``BPF_TRACE_ITER``                     | ``iter+`` [#iter]_               |           |
 +                                           +                                        +----------------------------------+-----------+
 |                                           |                                        | ``iter.s+`` [#iter]_             | Yes       |