readme: move gory sync details down and add libbpf-bootstrap references

Move gory details about libbpf mirror and sync into a
separate section at the bottom of README.

Also add references to libbpf-bootstrap and blog about it,
as well as libbpf-tools reference.
This commit is contained in:
Andrii Nakryiko
2020-11-29 13:34:03 -08:00
committed by GitHub
parent 5af3d86b5a
commit 5ae2a2621c

View File

@@ -1,17 +1,11 @@
This is a mirror of [bpf-next Linux source BPF/libbpf usage and questions
tree](https://kernel.googlesource.com/pub/scm/linux/kernel/git/bpf/bpf-next)'s ==============================
`tools/lib/bpf` directory plus its supporting header files.
All the gory details of syncing can be found in `scripts/sync-kernel.sh` Please check out [libbpf-bootstrap](https://github.com/libbpf/libbpf-bootstrap)
script. and [the companion blog post](https://nakryiko.com/posts/libbpf-bootstrap/) for
the examples of building BPF applications with libbpf.
Some header files in this repo (`include/linux/*.h`) are reduced versions of [libbpf-tools](https://github.com/iovisor/bcc/tree/master/libbpf-tools) are also
their counterpart files at a good source of the real-world libbpf-based tracing tools.
[bpf-next](https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/)'s
`tools/include/linux/*.h` to make compilation successful.
BPF questions
=============
All general BPF questions, including kernel functionality, libbpf APIs and All general BPF questions, including kernel functionality, libbpf APIs and
their application, should be sent to bpf@vger.kernel.org mailing list. You can their application, should be sent to bpf@vger.kernel.org mailing list. You can
@@ -136,6 +130,20 @@ use it:
converting some more to both contribute to the BPF community and gain some converting some more to both contribute to the BPF community and gain some
more experience with it. more experience with it.
Details
=======
This is a mirror of [bpf-next Linux source
tree](https://kernel.googlesource.com/pub/scm/linux/kernel/git/bpf/bpf-next)'s
`tools/lib/bpf` directory plus its supporting header files.
All the gory details of syncing can be found in `scripts/sync-kernel.sh`
script.
Some header files in this repo (`include/linux/*.h`) are reduced versions of
their counterpart files at
[bpf-next](https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/)'s
`tools/include/linux/*.h` to make compilation successful.
License License
======= =======