Skip to content

Commit b2d9c65

Browse files
donaldhKernel Patches Daemon
authored andcommitted
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 <[email protected]>
1 parent b8a9697 commit b2d9c65

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Documentation/bpf/libbpf/program_types.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,26 @@ described in more detail in the footnotes.
100100
| | | ``uretprobe.s+`` [#uprobe]_ | Yes |
101101
+ + +----------------------------------+-----------+
102102
| | | ``usdt+`` [#usdt]_ | |
103+
+ + +----------------------------------+-----------+
104+
| | | ``usdt.s+`` [#usdt]_ | Yes |
103105
+ +----------------------------------------+----------------------------------+-----------+
104106
| | ``BPF_TRACE_KPROBE_MULTI`` | ``kprobe.multi+`` [#kpmulti]_ | |
105107
+ + +----------------------------------+-----------+
106108
| | | ``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 |
107123
+-------------------------------------------+----------------------------------------+----------------------------------+-----------+
108124
| ``BPF_PROG_TYPE_LIRC_MODE2`` | ``BPF_LIRC_MODE2`` | ``lirc_mode2`` | |
109125
+-------------------------------------------+----------------------------------------+----------------------------------+-----------+
@@ -219,6 +235,8 @@ described in more detail in the footnotes.
219235
non-negative integer.
220236
.. [#ksyscall] The ``ksyscall`` attach format is ``ksyscall/<syscall>``.
221237
.. [#uprobe] The ``uprobe`` attach format is ``uprobe[.s]/<path>:<function>[+<offset>]``.
238+
.. [#upmul] The ``uprobe.multi`` attach format is ``uprobe.multi[.s]/<path>:<function-pattern>``
239+
where ``function-pattern`` supports ``*`` and ``?`` wildcards.
222240
.. [#usdt] The ``usdt`` attach format is ``usdt/<path>:<provider>:<name>``.
223241
.. [#kpmulti] The ``kprobe.multi`` attach format is ``kprobe.multi/<pattern>`` where ``pattern``
224242
supports ``*`` and ``?`` wildcards. Valid characters for pattern are

0 commit comments

Comments
 (0)