mirror of
https://github.com/netdata/libbpf.git
synced 2026-04-09 18:19:06 +08:00
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:
34
README.md
34
README.md
@@ -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
|
||||||
@@ -135,6 +129,20 @@ use it:
|
|||||||
contain lots of real-world tools converted from BCC to BPF CO-RE. Consider
|
contain lots of real-world tools converted from BCC to BPF CO-RE. Consider
|
||||||
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
|
||||||
=======
|
=======
|
||||||
|
|||||||
Reference in New Issue
Block a user