Fix: fetch caller address from tracef()
[lttng-ust.git] / liblttng-ust / tracef.c
index 9ef063ce754c4bdcc05edf199c47794cb9afc066..dcae3be746f45350d5d17b9decf5dae90e70de2b 100644 (file)
@@ -39,7 +39,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,
+               __builtin_return_address(0));
        free(msg);
 end:
        va_end(ap);
This page took 0.036949 seconds and 4 git commands to generate.