<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/Documentation/bpf/libbpf, branch v6.18.21</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.18.21</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.18.21'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2024-09-12T17:56:41+00:00</updated>
<entry>
<title>docs/bpf: Add missing BPF program types to docs</title>
<updated>2024-09-12T17:56:41+00:00</updated>
<author>
<name>Donald Hunter</name>
<email>donald.hunter@gmail.com</email>
</author>
<published>2024-09-12T09:59:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6182e0b80f9b5c8da19ab3a60db2e4cc10b259e8'/>
<id>urn:sha1:6182e0b80f9b5c8da19ab3a60db2e4cc10b259e8</id>
<content type='text'>
Update the table of program types in the libbpf documentation with the
recently added program types.

Signed-off-by: Donald Hunter &lt;donald.hunter@gmail.com&gt;
Signed-off-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;
Link: https://lore.kernel.org/bpf/20240912095944.6386-1-donald.hunter@gmail.com
</content>
</entry>
<entry>
<title>libbpf: Configure log verbosity with env variable</title>
<updated>2024-05-28T23:25:06+00:00</updated>
<author>
<name>Mykyta Yatsenko</name>
<email>yatsenko@meta.com</email>
</author>
<published>2024-05-24T13:18:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=eb4e7726279a344c82e3c23be396bcfd0a4d5669'/>
<id>urn:sha1:eb4e7726279a344c82e3c23be396bcfd0a4d5669</id>
<content type='text'>
Configure logging verbosity by setting LIBBPF_LOG_LEVEL environment
variable, which is applied only to default logger. Once user set their
custom logging callback, it is up to them to handle filtering.

Signed-off-by: Mykyta Yatsenko &lt;yatsenko@meta.com&gt;
Signed-off-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;
Link: https://lore.kernel.org/bpf/20240524131840.114289-1-yatsenko@meta.com
</content>
</entry>
<entry>
<title>documentation/bpf: Document cgroup unix socket address hooks</title>
<updated>2023-10-12T00:27:55+00:00</updated>
<author>
<name>Daan De Meyer</name>
<email>daan.j.demeyer@gmail.com</email>
</author>
<published>2023-10-11T18:51:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3243fef6a4c0db2dbb01ee3cf30bd787e65b8d56'/>
<id>urn:sha1:3243fef6a4c0db2dbb01ee3cf30bd787e65b8d56</id>
<content type='text'>
Update the documentation to mention the new cgroup unix sockaddr
hooks.

Signed-off-by: Daan De Meyer &lt;daan.j.demeyer@gmail.com&gt;
Link: https://lore.kernel.org/r/20231011185113.140426-8-daan.j.demeyer@gmail.com
Signed-off-by: Martin KaFai Lau &lt;martin.lau@kernel.org&gt;
</content>
</entry>
<entry>
<title>bpf, docs: Libbpf overview documentation</title>
<updated>2023-03-18T17:17:39+00:00</updated>
<author>
<name>Sreevani Sreejith</name>
<email>ssreevani@meta.com</email>
</author>
<published>2023-03-15T19:54:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=08ff1c9f3e927ba3701c113dda70953a6f4afffa'/>
<id>urn:sha1:08ff1c9f3e927ba3701c113dda70953a6f4afffa</id>
<content type='text'>
This patch documents overview of libbpf, including its features for
developing BPF programs.

Signed-off-by: Sreevani Sreejith &lt;ssreevani@meta.com&gt;
Signed-off-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;
Acked-by: David Vernet &lt;void@manifault.com&gt;
Link: https://lore.kernel.org/bpf/20230315195405.2051559-1-ssreevani@meta.com
</content>
</entry>
<entry>
<title>Documentation: bpf: correct spelling</title>
<updated>2023-01-28T20:22:20+00:00</updated>
<author>
<name>Randy Dunlap</name>
<email>rdunlap@infradead.org</email>
</author>
<published>2023-01-28T19:50:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1d3cab43f4c73936ba55820a0501469e36ed6dd3'/>
<id>urn:sha1:1d3cab43f4c73936ba55820a0501469e36ed6dd3</id>
<content type='text'>
Correct spelling problems for Documentation/bpf/ as reported
by codespell.

Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Cc: Andrii Nakryiko &lt;andrii@kernel.org&gt;
Cc: Alexei Starovoitov &lt;ast@kernel.org&gt;
Cc: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
Cc: bpf@vger.kernel.org
Cc: Jonathan Corbet &lt;corbet@lwn.net&gt;
Cc: linux-doc@vger.kernel.org
Reviewed-by: Bagas Sanjaya &lt;bagasdotme@gmail.com&gt;
Link: https://lore.kernel.org/r/20230128195046.13327-1-rdunlap@infradead.org
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
</content>
</entry>
<entry>
<title>docs/bpf: Add table of BPF program types to libbpf docs</title>
<updated>2022-11-23T21:31:20+00:00</updated>
<author>
<name>Donald Hunter</name>
<email>donald.hunter@gmail.com</email>
</author>
<published>2022-11-21T12:17:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c742cb7c3ebdeb358794b9c76d93d8be7b631b9a'/>
<id>urn:sha1:c742cb7c3ebdeb358794b9c76d93d8be7b631b9a</id>
<content type='text'>
Extend the libbpf documentation with a table of program types,
attach points and ELF section names.

Signed-off-by: Donald Hunter &lt;donald.hunter@gmail.com&gt;
Signed-off-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;
Reviewed-by: Bagas Sanjaya &lt;bagasdotme@gmail.com&gt;
Acked-by: David Vernet &lt;void@manifault.com&gt;
Link: https://lore.kernel.org/bpf/20221121121734.98329-1-donald.hunter@gmail.com
</content>
</entry>
<entry>
<title>bpf, docs: Remove deprecated xsk libbpf APIs description</title>
<updated>2022-07-08T12:18:50+00:00</updated>
<author>
<name>Pu Lehui</name>
<email>pulehui@huawei.com</email>
</author>
<published>2022-07-08T04:27:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=fb8ddf24c71dc97d6b07ecb7791b4fa5e7f48efc'/>
<id>urn:sha1:fb8ddf24c71dc97d6b07ecb7791b4fa5e7f48efc</id>
<content type='text'>
Since xsk APIs has been removed from libbpf, let's clean up the
BPF docs simutaneously.

Signed-off-by: Pu Lehui &lt;pulehui@huawei.com&gt;
Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
Acked-by: Song Liu &lt;song@kernel.org&gt;
Link: https://lore.kernel.org/bpf/20220708042736.669132-1-pulehui@huawei.com
</content>
</entry>
<entry>
<title>libbpf: Improve libbpf API documentation link position</title>
<updated>2022-04-22T14:21:56+00:00</updated>
<author>
<name>Grant Seltzer</name>
<email>grantseltzer@gmail.com</email>
</author>
<published>2022-04-22T03:10:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e8c5e1a0f78fbfc4396866959fef43b258318b6f'/>
<id>urn:sha1:e8c5e1a0f78fbfc4396866959fef43b258318b6f</id>
<content type='text'>
This puts the link for libbpf API documentation into the sidebar
for much easier navigation.

You can preview this change at:

  https://libbpf-test.readthedocs.io/en/latest/

Note that the link is hardcoded to the production version, so you
can see that it self references itself here for now:

  https://libbpf-test.readthedocs.io/en/latest/api.html

This will need to make its way into the libbpf mirror, before being
deployed to libbpf.readthedocs.org

Signed-off-by: Grant Seltzer &lt;grantseltzer@gmail.com&gt;
Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
Link: https://lore.kernel.org/bpf/20220422031050.303984-1-grantseltzer@gmail.com
</content>
</entry>
<entry>
<title>bpf, docs: Fix ordering of bpf documentation</title>
<updated>2021-11-17T22:24:01+00:00</updated>
<author>
<name>Dave Tucker</name>
<email>dave@dtucker.co.uk</email>
</author>
<published>2021-11-12T21:17:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5931d9a3d0529dc803c792a10e52f0de1d0b9991'/>
<id>urn:sha1:5931d9a3d0529dc803c792a10e52f0de1d0b9991</id>
<content type='text'>
This commit fixes the display of the BPF documentation in the sidebar
when rendered as HTML.

Before this patch, the sidebar would render as follows for some
sections:

| BPF Documentation
  |- BPF Type Format (BTF)
    |- BPF Type Format (BTF)

This was due to creating a heading in index.rst followed by
a sphinx toctree, where the file referenced carries the same
title as the section heading.

To fix this I applied a pattern that has been established in other
subfolders of Documentation:

1. Re-wrote index.rst to have a single toctree
2. Split the sections out in to their own files

Additionally maps.rst and programs.rst make use of a glob pattern to
include map_* or prog_* rst files in their toctree, meaning future map
or program type documentation will be automatically included.

Signed-off-by: Dave Tucker &lt;dave@dtucker.co.uk&gt;
Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;
Link: https://lore.kernel.org/bpf/1a1eed800e7b9dc13b458de113a489641519b0cc.1636749493.git.dave@dtucker.co.uk
</content>
</entry>
<entry>
<title>libbpf: Add API documentation convention guidelines</title>
<updated>2021-10-06T19:34:02+00:00</updated>
<author>
<name>Grant Seltzer</name>
<email>grantseltzer@gmail.com</email>
</author>
<published>2021-10-04T21:56:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9330303446382a33aa62a8a88a7a48555f76df0b'/>
<id>urn:sha1:9330303446382a33aa62a8a88a7a48555f76df0b</id>
<content type='text'>
This adds a section to the documentation for libbpf
naming convention which describes how to document
API features in libbpf, specifically the format of
which API doc comments need to conform to.

Signed-off-by: Grant Seltzer &lt;grantseltzer@gmail.com&gt;
Signed-off-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;
Acked-by: Song Liu &lt;songliubraving@fb.com&gt;
Link: https://lore.kernel.org/bpf/20211004215644.497327-1-grantseltzer@gmail.com
</content>
</entry>
</feed>
