Skip to content

facebookincubator/strobelight-libs

strobelight-libs

Caution

This set of libraries is currently experimental. APIs are subject to change.
Libraries are for use in applications leveraging libbpf.

Requirements

BPF application leveraging libbpf. The development versions of following libraries are needed on the system:

  • libelf
  • fmt
  • re2
  • libcap

Building

To build python related libraries:

make -C strobelight/bpf_lib/python

Installing

To install python related libraries:

make INSTALL_DIR=<path to install to> -C strobelight/bpf_lib/python install

Usage

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.

License

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

About

Libraries to extend and enhance data collected by eBPF programs.

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.BSD-2-Clause

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published