Caution
This set of libraries is currently experimental. APIs are subject to change.
Libraries are for use in applications leveraging libbpf.
BPF application leveraging libbpf. The development versions of following libraries are needed on the system:
- libelf
- fmt
- re2
- libcap
To build python related libraries:
make -C strobelight/bpf_lib/python
To install python related libraries:
make INSTALL_DIR=<path to install to> -C strobelight/bpf_lib/python install
See blocks of code surrounded by "Stack Reader" comments in:
pystacks_sample.cpp
pystacks_sample.bpf.c
See the CONTRIBUTING file for how to help out.
This work is dual-licensed under BSD 2-clause license and GNU LGPL v2.1 license, as found in the LICENSE file. You can choose between one of them if you use this work.
SPDX-License-Identifier: BSD-2-Clause OR LGPL-2.1