summaryrefslogtreecommitdiffstats
path: root/Documentation/conf.py
diff options
context:
space:
mode:
authorDavid Vernet <void@manifault.com>2023-02-01 18:30:14 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2023-02-02 00:25:14 +0100
commit98e6ab7a04353c95b1f4bad345d156ded865fd96 (patch)
tree05fdeb14c15c8074dce01875bba9532da3554521 /Documentation/conf.py
parentbpf: Add __bpf_kfunc tag for marking kernel functions as kfuncs (diff)
downloadlinux-98e6ab7a04353c95b1f4bad345d156ded865fd96.tar.xz
linux-98e6ab7a04353c95b1f4bad345d156ded865fd96.zip
bpf: Document usage of the new __bpf_kfunc macro
Now that the __bpf_kfunc macro has been added to linux/btf.h, include a blurb about it in the kfuncs.rst file. In order for the macro to successfully render with .. kernel-doc, we'll also need to add it to the c_id_attributes array. Signed-off-by: David Vernet <void@manifault.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Stanislav Fomichev <sdf@google.com> Link: https://lore.kernel.org/bpf/20230201173016.342758-3-void@manifault.com
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r--Documentation/conf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py
index d927737e3c10..8b4e5451a02d 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -116,6 +116,9 @@ if major >= 3:
# include/linux/linkage.h:
"asmlinkage",
+
+ # include/linux/btf.h
+ "__bpf_kfunc",
]
else: