Document LGPL TRACEPOINT_CREATE_PROBES restrictions
[lttng-ust.git] / include / lttng / tracepoint-event.h
index e7ea461bcdb87dfd6cdb17673cf9712f8cb8b3fa..b47bf6a7b4efe3007125bd9ce3f7bc537b073c37 100644 (file)
  *       #define TRACEPOINT_INCLUDE_PATH .
  *     combined with -Ipath_to_header as compiler argument to allow
  *     searching for a header within your project build tree.
+ *
+ * Note considering licensing:
+ *
+ * Including the tracepoint-event.h header without the
+ * TRACEPOINT_CREATE_PROBES macro defined is fine within any application
+ * source code, even for non-LGPL-compatible applications.
+ *
+ * However, TRACEPOINT_CREATE_PROBES should only be defined within
+ * LGPL-compatible C files. This means that the tracepoint probe object
+ * should be relinkable when distributed, either by providing it as a
+ * dynamically linkable shared object (.so library), or by providing the
+ * build scripts and object files required to relink the object if
+ * statically linked.
  */
 
 #ifdef __cplusplus
This page took 0.023999 seconds and 4 git commands to generate.