projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: AM_CONDITIONAL should be outside AS_IF block
[lttng-ust.git]
/
liblttng-ust
/
tracef.c
diff --git
a/liblttng-ust/tracef.c
b/liblttng-ust/tracef.c
index 9ef063ce754c4bdcc05edf199c47794cb9afc066..ea98e43eeed198a3588ddb21d3668954383da810 100644
(file)
--- a/
liblttng-ust/tracef.c
+++ b/
liblttng-ust/tracef.c
@@
-23,6
+23,7
@@
#define _GNU_SOURCE
#define _LGPL_SOURCE
#include <stdio.h>
#define _GNU_SOURCE
#define _LGPL_SOURCE
#include <stdio.h>
+#include <helper.h>
#define TRACEPOINT_CREATE_PROBES
#define TRACEPOINT_DEFINE
#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;
/* 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);
free(msg);
end:
va_end(ap);
This page took
0.025651 seconds
and
4
git commands to generate.