projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: fetch caller address from tracef()
[lttng-ust.git]
/
liblttng-ust
/
tracef.c
diff --git
a/liblttng-ust/tracef.c
b/liblttng-ust/tracef.c
index 9ef063ce754c4bdcc05edf199c47794cb9afc066..dcae3be746f45350d5d17b9decf5dae90e70de2b 100644
(file)
--- a/
liblttng-ust/tracef.c
+++ b/
liblttng-ust/tracef.c
@@
-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.026101 seconds
and
5
git commands to generate.