summaryrefslogtreecommitdiff
path: root/Documentation/bpf/drgn.rst
diff options
context:
space:
mode:
authorMaryam Tahhan <mtahhan@redhat.com>2022-11-23 12:23:20 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2022-11-24 00:38:53 +0300
commit3685b0dc0d02ad89a36893d9d6be1675dd40a5fd (patch)
tree17b4c09e2e4879d0f9aeff82129d23f19cfeebf0 /Documentation/bpf/drgn.rst
parentc742cb7c3ebdeb358794b9c76d93d8be7b631b9a (diff)
downloadlinux-3685b0dc0d02ad89a36893d9d6be1675dd40a5fd.tar.xz
docs/bpf: Fix sphinx warnings for cpumap
Sphinx version >=3.1 warns about duplicate function declarations in the CPUMAP documentation. This is because the function name is the same for kernel and user space BPF progs but the parameters and return types they take is what differs. This patch moves from using the ``c:function::`` directive to using the ``code-block:: c`` directive. The patches also fix the indentation for the text associated with the "new" code block delcarations. The missing support of c:namespace-push:: and c:namespace-pop:: directives by helper scripts for kernel documentation prevents using the ``c:function::`` directive with proper namespacing. Signed-off-by: Maryam Tahhan <mtahhan@redhat.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20221123092321.88558-2-mtahhan@redhat.com
Diffstat (limited to 'Documentation/bpf/drgn.rst')
0 files changed, 0 insertions, 0 deletions