mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
cf4f9a57f2
Add a build script to compile bpf source code. A program in restricted C is compiled into an object file. Object file is converted to BPF skeleton [0] header file. If build with custom meson build rule, the target header will reside in build/ directory (not in source tree), e.g the path for socket_bind: `build/src/core/bpf/socket_bind/socket-bind.skel.h` Script runs the phases: * clang to generate *.o from restricted C * llvm-strip to remove useless DWARF info * bpf skeleton generation with bpftool These phases are logged to stderr for debug purposes. To include BTF debug information, -g option is passed to clang. [0] https://lwn.net/Articles/806911/ |
||
---|---|---|
.. | ||
chromiumos | ||
add-git-hook.sh | ||
build-bpf-skel.py | ||
catalog-report.py | ||
check-api-docs.sh | ||
check-compilation.sh | ||
check-directives.sh | ||
check-help.sh | ||
check-includes.pl | ||
choose-default-locale.sh | ||
coverity.sh | ||
find-build-dir.sh | ||
find-double-newline.sh | ||
find-tabs.sh | ||
gdb-sd_dump_hashmaps.py | ||
generate-gperfs.py | ||
get-coverity.sh | ||
git-contrib.sh | ||
make-autosuspend-rules.py | ||
make-directive-index.py | ||
make-man-index.py | ||
meson-apply-m4.sh | ||
meson-build.sh | ||
meson-make-symlink.sh | ||
meson-vcs-tag.sh | ||
oss-fuzz.sh | ||
update-dbus-docs.py | ||
update-hwdb-autosuspend.sh | ||
update-hwdb.sh | ||
update-man-rules.py | ||
update-syscall-tables.sh | ||
xml_helper.py |