Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 2.26 KB

File metadata and controls

49 lines (37 loc) · 2.26 KB

Libbtrace

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.

Installation

From Wheels (recommended)

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>.whl

for 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.whl

From sources

Ensure that build dependencies are installed on your system and then run:

pip install git+https://github.com/antmicro/libbtrace.git

Build dependencies

Compiler

  • 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).

Tools

Libraries

  • 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