Message ID | 20210302171947.2268128-1-joe@cilium.io (mailing list archive) |
---|---|
Headers | show |
Series | Improve BPF syscall command documentation | expand |
Joe Stringer <joe@cilium.io> writes: > Following that, the series enhances the python scripting around parsing > the descriptions from the header files and generating dedicated > ReStructured Text and troff output. Finally, to expose the new text and > reduce the likelihood of having it get out of date or break the docs > parser, it is added to the selftests and exposed through the kernel > documentation web pages. You can leave me off CC, but I have eyes everywhere :) Anyway, I like this version much better, thanks for making the adjustments. Feel free to stick an Acked-by: Jonathan Corbet <corbet@lwn.net> on it if you feel so inclined. Thanks, jon
On Wed, Mar 3, 2021 at 9:25 AM Jonathan Corbet <corbet@lwn.net> wrote: > > Joe Stringer <joe@cilium.io> writes: > > > Following that, the series enhances the python scripting around parsing > > the descriptions from the header files and generating dedicated > > ReStructured Text and troff output. Finally, to expose the new text and > > reduce the likelihood of having it get out of date or break the docs > > parser, it is added to the selftests and exposed through the kernel > > documentation web pages. > > You can leave me off CC, but I have eyes everywhere :) I realized a few minutes after sending that I had missed adding you back on. Actually managed to send it from the right email account this time though :-) > Anyway, I like this version much better, thanks for making the > adjustments. Feel free to stick an > > Acked-by: Jonathan Corbet <corbet@lwn.net> Thanks Jon, appreciate it.
On Tue, Mar 2, 2021 at 9:20 AM Joe Stringer <joe@cilium.io> wrote: > > Rather than tackle everything at once, I have focused in this series on > the syscall commands, "enum bpf_cmd". ... > The eventual goal of this effort would be to extend the kernel UAPI > headers such that each of the categories I had listed above (commands, > maps, progs, hooks) have dedicated documentation in the kernel tree, and > that developers must update the comments in the headers to document the > APIs prior to patch acceptance, and that we could auto-generate the > latest version of the bpf(2) manual pages based on a few static > description sections combined with the dynamically-generated output from > the header. > v2: > * Remove build infrastructure in favor of kernel-doc directives > * Shift userspace-api docs under Documentation/userspace-api/ebpf > * Fix scripts/bpf_doc.py syscall --header (throw unsupported error) > * Improve .gitignore handling of newly autogenerated files Looks great. Applied. Thanks!