Cleanup: move unused function to deprecated symbol list
[lttng-ust.git] / liblttng-ust / tracef.c
index 9ef063ce754c4bdcc05edf199c47794cb9afc066..ea98e43eeed198a3588ddb21d3668954383da810 100644 (file)
@@ -23,6 +23,7 @@
 #define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <stdio.h>
+#include <helper.h>
 
 #define TRACEPOINT_CREATE_PROBES
 #define TRACEPOINT_DEFINE
@@ -39,7 +40,8 @@ void _lttng_ust_tracef(const char *fmt, ...)
        /* 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);
This page took 0.022832 seconds and 4 git commands to generate.