Libbtrace is an open-source Common Trace Format (CTF) parser providing C API, Python 3 bindings, as well as command-line interface (CLI), that allows to view, convert, transform and analyze traces.
It is based on parts of Babeltrace 2.
Go to releases and copy the URL to the wheel for your Python version and operating system. Then install the package using pip:
pip install https://github.com/antmicro/libbtrace/releases/download/tip/<wheel name>.whlfor example to install libbtrace for Python 3.12 on Linux use:
pip install https://github.com/antmicro/libbtrace/releases/download/tip/bt2-0.0.1-cp312-cp312-manylinux_2_28_x86_64.whlEnsure that build dependencies are installed on your system and then run:
pip install git+https://github.com/antmicro/libbtrace.git-
Any GCC-like compiler with C99 and GNU extension support. Clang is one of those.
-
Any C++ compiler with C++11 support (for example, GCC ≥ 4.8 and Clang ≥ 3.3).
- GNU Make
- GNU Automake ≥ 1.13
- GNU Autoconf ≥ 2.69
- GNU Libtool ≥ 2.2
- flex ≥ 2.5.35
- GNU Bison ≥ 2.5
- A C library (for example, GNU C Library, musl libc)
- GLib ≥ 2.28 (Debian/Ubuntu:
libglib2.0-dev; Fedora:glib2-devel) - Python ≥ 3.4 (development libraries and
python3-config) (Debian/Ubuntu:python3-dev; Fedora:python3-devel) - SWIG ≥ 3.0