#define _GNU_SOURCE
#define _LGPL_SOURCE
#include <stdio.h>
+#include <helper.h>
#define TRACEPOINT_CREATE_PROBES
#define TRACEPOINT_DEFINE
/* len does not include the final \0 */
if (len < 0)
goto end;
- __tracepoint_cb_lttng_ust_tracef___event(msg, len);
+ __tracepoint_cb_lttng_ust_tracef___event(msg, len,
+ LTTNG_UST_CALLER_IP());
free(msg);
end:
va_end(ap);