README: Add BTF and Clang information for Arch Linux

Arch recently added BTF to their distribution kernels - see
https://bugs.archlinux.org/task/66260

Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
This commit is contained in:
Toke Høiland-Jørgensen
2020-06-08 15:58:42 +02:00
committed by Andrii Nakryiko
parent 1862741fb0
commit c569e03985

View File

@@ -88,6 +88,7 @@ Some major Linux distributions come with kernel BTF already built in:
- Fedora 31+ - Fedora 31+
- RHEL 8.2+ - RHEL 8.2+
- OpenSUSE Tumbleweed (in the next release, as of 2020-06-04) - OpenSUSE Tumbleweed (in the next release, as of 2020-06-04)
- Arch Linux (from kernel 5.7.1.arch1-1)
If your kernel doesn't come with BTF built-in, you'll need to build custom If your kernel doesn't come with BTF built-in, you'll need to build custom
kernel. You'll need: kernel. You'll need:
@@ -103,9 +104,10 @@ $ ls -la /sys/kernel/btf/vmlinux
``` ```
To develop and build BPF programs, you'll need Clang/LLVM 10+. The following To develop and build BPF programs, you'll need Clang/LLVM 10+. The following
distributions have Clang/LLVM 10+ installed by default: distributions have Clang/LLVM 10+ packaged by default:
- Fedora 32+ - Fedora 32+
- Ubuntu 20.04+ - Ubuntu 20.04+
- Arch Linux
Otherwise, please make sure to update it on your system. Otherwise, please make sure to update it on your system.