Babeltrace 2 C API  2.0.0
Open-source trace manipulation framework
Compile and link an application which uses libbabeltrace2

To compile and link an application which uses libbabeltrace2:

  1. Compile your C/C++ files as usual.

  2. Link the resulting object files with the Babeltrace 2 library:

    $ ld my-app.o analysis.o -o my-app $(pkg-config --libs babeltrace2)