- tests/hello/ hello.c tp.c ust_tests_hello.h Makefile.example
- - Or compile the Tracepoint probes separately from the application,
- using dynamic linking:
+ tests/hello/ hello.c tp.c ust_tests_hello.h Makefile.example.*
+
+ 2) Compile the Tracepoint Provider separately from the application,
+ using dynamic linking:
+ - Into exactly one object of your application: define
+ "TRACEPOINT_DEFINE" _and_ also define
+ "TRACEPOINT_PROBE_DYNAMIC_LINKAGE", then include the tracepoint
+ provider header.
+ - Include the tracepoint provider header into all instrumented C
+ files that use the provider.