* [PATCH bpf-next v1] docs/bpf: Add missing BPF k/uprobe program types to docs
@ 2025-10-28 18:28 Donald Hunter
2025-10-29 11:13 ` Jiri Olsa
0 siblings, 1 reply; 2+ messages in thread
From: Donald Hunter @ 2025-10-28 18:28 UTC (permalink / raw)
To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
Martin KaFai Lau, Eduard Zingerman, Song Liu, Yonghong Song,
John Fastabend, KP Singh, Stanislav Fomichev, Hao Luo, Jiri Olsa,
Jonathan Corbet, Donald Hunter, bpf, linux-doc
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>
---
Documentation/bpf/libbpf/program_types.rst | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/Documentation/bpf/libbpf/program_types.rst b/Documentation/bpf/libbpf/program_types.rst
index 218b020a2f81..5e7a202dce5e 100644
--- a/Documentation/bpf/libbpf/program_types.rst
+++ b/Documentation/bpf/libbpf/program_types.rst
@@ -100,10 +100,26 @@ described in more detail in the footnotes.
| | | ``uretprobe.s+`` [#uprobe]_ | Yes |
+ + +----------------------------------+-----------+
| | | ``usdt+`` [#usdt]_ | |
++ + +----------------------------------+-----------+
+| | | ``usdt.s+`` [#usdt]_ | Yes |
+ +----------------------------------------+----------------------------------+-----------+
| | ``BPF_TRACE_KPROBE_MULTI`` | ``kprobe.multi+`` [#kpmulti]_ | |
+ + +----------------------------------+-----------+
| | | ``kretprobe.multi+`` [#kpmulti]_ | |
++ + +----------------------------------+-----------+
+| | | ``kprobe.session+`` [#kpmulti]_ | |
++ + +----------------------------------+-----------+
+| | | ``uprobe.multi+`` [#upmul]_ | |
++ + +----------------------------------+-----------+
+| | | ``uprobe.multi.s+`` [#upmul]_ | Yes |
++ + +----------------------------------+-----------+
+| | | ``uretprobe.multi+`` [#upmul]_ | |
++ + +----------------------------------+-----------+
+| | | ``uretprobe.multi.s+`` [#upmul]_ | Yes |
++ + +----------------------------------+-----------+
+| | | ``uprobe.session+`` [#upmul]_ | |
++ + +----------------------------------+-----------+
+| | | ``uprobe.session.s+`` [#upmul]_ | Yes |
+-------------------------------------------+----------------------------------------+----------------------------------+-----------+
| ``BPF_PROG_TYPE_LIRC_MODE2`` | ``BPF_LIRC_MODE2`` | ``lirc_mode2`` | |
+-------------------------------------------+----------------------------------------+----------------------------------+-----------+
@@ -219,6 +235,8 @@ described in more detail in the footnotes.
non-negative integer.
.. [#ksyscall] The ``ksyscall`` attach format is ``ksyscall/<syscall>``.
.. [#uprobe] The ``uprobe`` attach format is ``uprobe[.s]/<path>:<function>[+<offset>]``.
+.. [#upmul] The ``uprobe.multi`` attach format is ``uprobe.multi[.s]/<path>:<function-pattern>``
+ where ``function-pattern`` supports ``*`` and ``?`` wildcards.
.. [#usdt] The ``usdt`` attach format is ``usdt/<path>:<provider>:<name>``.
.. [#kpmulti] The ``kprobe.multi`` attach format is ``kprobe.multi/<pattern>`` where ``pattern``
supports ``*`` and ``?`` wildcards. Valid characters for pattern are
--
2.51.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH bpf-next v1] docs/bpf: Add missing BPF k/uprobe program types to docs
2025-10-28 18:28 [PATCH bpf-next v1] docs/bpf: Add missing BPF k/uprobe program types to docs Donald Hunter
@ 2025-10-29 11:13 ` Jiri Olsa
0 siblings, 0 replies; 2+ messages in thread
From: Jiri Olsa @ 2025-10-29 11:13 UTC (permalink / raw)
To: Donald Hunter
Cc: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
Martin KaFai Lau, Eduard Zingerman, Song Liu, Yonghong Song,
John Fastabend, KP Singh, Stanislav Fomichev, Hao Luo,
Jonathan Corbet, bpf, linux-doc
On Tue, Oct 28, 2025 at 06:28:18PM +0000, Donald Hunter wrote:
> 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>
> ---
> Documentation/bpf/libbpf/program_types.rst | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/Documentation/bpf/libbpf/program_types.rst b/Documentation/bpf/libbpf/program_types.rst
> index 218b020a2f81..5e7a202dce5e 100644
> --- a/Documentation/bpf/libbpf/program_types.rst
> +++ b/Documentation/bpf/libbpf/program_types.rst
> @@ -100,10 +100,26 @@ described in more detail in the footnotes.
> | | | ``uretprobe.s+`` [#uprobe]_ | Yes |
> + + +----------------------------------+-----------+
> | | | ``usdt+`` [#usdt]_ | |
> ++ + +----------------------------------+-----------+
> +| | | ``usdt.s+`` [#usdt]_ | Yes |
> + +----------------------------------------+----------------------------------+-----------+
> | | ``BPF_TRACE_KPROBE_MULTI`` | ``kprobe.multi+`` [#kpmulti]_ | |
> + + +----------------------------------+-----------+
> | | | ``kretprobe.multi+`` [#kpmulti]_ | |
> ++ + +----------------------------------+-----------+
> +| | | ``kprobe.session+`` [#kpmulti]_ | |
hi,
uprobe/kprobe session have BPF_TRACE_UPROBE_SESSION/BPF_TRACE_KPROBE_SESSION
attach type respectively
thanks,
jirka
> ++ + +----------------------------------+-----------+
> +| | | ``uprobe.multi+`` [#upmul]_ | |
> ++ + +----------------------------------+-----------+
> +| | | ``uprobe.multi.s+`` [#upmul]_ | Yes |
> ++ + +----------------------------------+-----------+
> +| | | ``uretprobe.multi+`` [#upmul]_ | |
> ++ + +----------------------------------+-----------+
> +| | | ``uretprobe.multi.s+`` [#upmul]_ | Yes |
> ++ + +----------------------------------+-----------+
> +| | | ``uprobe.session+`` [#upmul]_ | |
> ++ + +----------------------------------+-----------+
> +| | | ``uprobe.session.s+`` [#upmul]_ | Yes |
> +-------------------------------------------+----------------------------------------+----------------------------------+-----------+
> | ``BPF_PROG_TYPE_LIRC_MODE2`` | ``BPF_LIRC_MODE2`` | ``lirc_mode2`` | |
> +-------------------------------------------+----------------------------------------+----------------------------------+-----------+
> @@ -219,6 +235,8 @@ described in more detail in the footnotes.
> non-negative integer.
> .. [#ksyscall] The ``ksyscall`` attach format is ``ksyscall/<syscall>``.
> .. [#uprobe] The ``uprobe`` attach format is ``uprobe[.s]/<path>:<function>[+<offset>]``.
> +.. [#upmul] The ``uprobe.multi`` attach format is ``uprobe.multi[.s]/<path>:<function-pattern>``
> + where ``function-pattern`` supports ``*`` and ``?`` wildcards.
> .. [#usdt] The ``usdt`` attach format is ``usdt/<path>:<provider>:<name>``.
> .. [#kpmulti] The ``kprobe.multi`` attach format is ``kprobe.multi/<pattern>`` where ``pattern``
> supports ``*`` and ``?`` wildcards. Valid characters for pattern are
> --
> 2.51.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-10-29 11:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-28 18:28 [PATCH bpf-next v1] docs/bpf: Add missing BPF k/uprobe program types to docs Donald Hunter
2025-10-29 11:13 ` Jiri Olsa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).