* #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
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+/*
+ * Note: TRACEPOINT_CREATE_PROBES can only be defined within LGPL C
+ * files. See comment in lttng/tracepoint-event.h for detail.
+ */
#define TRACEPOINT_CREATE_PROBES
#include "ust_tests_demo.h"
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+/*
+ * Note: TRACEPOINT_CREATE_PROBES can only be defined within LGPL C
+ * files. See comment in lttng/tracepoint-event.h for detail.
+ */
#define TRACEPOINT_CREATE_PROBES
#include "ust_tests_hello.h"