Babeltrace 2 C API 2.1.0
Open-source trace manipulation framework
|
To compile and link a Babeltrace 2 shared object plugin:
Compile the C/C++ source files of the plugin with the -fPIC
and -c
compiler options to produce position-independent code and to compile without linking:
Link the resulting object files with the -shared
linker option and with the Babeltrace 2 library:
-z notext
option to the linker to allow relocations in read-only segments.