Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs/bpf: Add missing BPF k/uprobe program types to docs

Update the table of program types in the libbpf docs with the missing
k/uprobe multi and session program types.

Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20251029180932.98038-1-donald.hunter@gmail.com

authored by

Donald Hunter and committed by
Andrii Nakryiko
b3387b31 efa47566

+18
+18
Documentation/bpf/libbpf/program_types.rst
··· 100 100 | | | ``uretprobe.s+`` [#uprobe]_ | Yes | 101 101 + + +----------------------------------+-----------+ 102 102 | | | ``usdt+`` [#usdt]_ | | 103 + + + +----------------------------------+-----------+ 104 + | | | ``usdt.s+`` [#usdt]_ | Yes | 103 105 + +----------------------------------------+----------------------------------+-----------+ 104 106 | | ``BPF_TRACE_KPROBE_MULTI`` | ``kprobe.multi+`` [#kpmulti]_ | | 105 107 + + +----------------------------------+-----------+ 106 108 | | | ``kretprobe.multi+`` [#kpmulti]_ | | 109 + + +----------------------------------------+----------------------------------+-----------+ 110 + | | ``BPF_TRACE_KPROBE_SESSION`` | ``kprobe.session+`` [#kpmulti]_ | | 111 + + +----------------------------------------+----------------------------------+-----------+ 112 + | | ``BPF_TRACE_UPROBE_MULTI`` | ``uprobe.multi+`` [#upmul]_ | | 113 + + + +----------------------------------+-----------+ 114 + | | | ``uprobe.multi.s+`` [#upmul]_ | Yes | 115 + + + +----------------------------------+-----------+ 116 + | | | ``uretprobe.multi+`` [#upmul]_ | | 117 + + + +----------------------------------+-----------+ 118 + | | | ``uretprobe.multi.s+`` [#upmul]_ | Yes | 119 + + +----------------------------------------+----------------------------------+-----------+ 120 + | | ``BPF_TRACE_UPROBE_SESSION`` | ``uprobe.session+`` [#upmul]_ | | 121 + + + +----------------------------------+-----------+ 122 + | | | ``uprobe.session.s+`` [#upmul]_ | Yes | 107 123 +-------------------------------------------+----------------------------------------+----------------------------------+-----------+ 108 124 | ``BPF_PROG_TYPE_LIRC_MODE2`` | ``BPF_LIRC_MODE2`` | ``lirc_mode2`` | | 109 125 +-------------------------------------------+----------------------------------------+----------------------------------+-----------+ ··· 235 219 non-negative integer. 236 220 .. [#ksyscall] The ``ksyscall`` attach format is ``ksyscall/<syscall>``. 237 221 .. [#uprobe] The ``uprobe`` attach format is ``uprobe[.s]/<path>:<function>[+<offset>]``. 222 + .. [#upmul] The ``uprobe.multi`` attach format is ``uprobe.multi[.s]/<path>:<function-pattern>`` 223 + where ``function-pattern`` supports ``*`` and ``?`` wildcards. 238 224 .. [#usdt] The ``usdt`` attach format is ``usdt/<path>:<provider>:<name>``. 239 225 .. [#kpmulti] The ``kprobe.multi`` attach format is ``kprobe.multi/<pattern>`` where ``pattern`` 240 226 supports ``*`` and ``?`` wildcards. Valid characters for pattern are