On Fri, Jan 18, 2019 at 2:00 PM Yonghong Song <y...@fb.com> wrote: > > This patch added documentation for BTF (BPF Debug Format). > The document is placed under linux:Documentation/bpf directory. > > Signed-off-by: Yonghong Song <y...@fb.com> > --- > Documentation/bpf/btf.rst | 870 ++++++++++++++++++++++++++++++++++++ > Documentation/bpf/index.rst | 7 + > 2 files changed, 877 insertions(+) > create mode 100644 Documentation/bpf/btf.rst > > Changelogs: > v1 -> v2: > address comments from Edward, mainly including: > . more detailed explanation of BTF_INT_OFFSET(). > . more explanation about array dimensions. > . better wording refers to "type" field in btf_type > for typedef/const/volatile/restrict. > . better explanation for BTF_KIND_FUNC. > . explanation of what is btf_id. > . more cross references inside the document.
Looks great to me. Applied to bpf-next.