Babeltrace 2 C API
2.0.0
Open-source trace manipulation framework
|
If you are developing a Babeltrace 2 plugin or an application which uses libbabeltrace2, we recommend that:
You build Babeltrace 2 from source in developer mode.
The Babeltrace 2 developer mode enables more precondition and postcondition assertions to detect programming errors.
To build Babeltrace 2 from source in developer mode and using TRACE as the minimal logging level:
Download the Babeltrace 2 tarball and extract it.
See the project's README for build-time requirements and detailed build instructions.
Configure the build in developer mode and with the TRACE minimal logging level:
Build and install the project:
Babeltrace 2 developer mode build configuration command line examples:
The development build creates a libbabeltrace2 library which is slower to execute than a production (default) build.
We believe that, during the development process, a less efficient, but more strict library is more desirable than the opposite.