projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: warning kvm_trace_exit_reason redefined for 3.9 kernel
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
lttng.h
diff --git
a/instrumentation/events/lttng-module/lttng.h
b/instrumentation/events/lttng-module/lttng.h
index 690b5df727dd337be38183a00561ef1af5756dee..6f3d6d1412154bde10c2f3ec7e2c666e92c13992 100644
(file)
--- a/
instrumentation/events/lttng-module/lttng.h
+++ b/
instrumentation/events/lttng-module/lttng.h
@@
-12,12
+12,17
@@
TRACE_EVENT(lttng_metadata,
TP_ARGS(str),
TP_ARGS(str),
+ /*
+ * Not exactly a string: more a sequence of bytes (dynamic
+ * array) without the length. This is a dummy anyway: we only
+ * use this declaration to generate an event metadata entry.
+ */
TP_STRUCT__entry(
TP_STRUCT__entry(
- __string( str
ing,
str )
+ __string( str
,
str )
),
TP_fast_assign(
),
TP_fast_assign(
- tp_strcpy(str
ing
, str)
+ tp_strcpy(str, str)
),
TP_printk("")
),
TP_printk("")
@@
-26,4
+31,4
@@
TRACE_EVENT(lttng_metadata,
#endif /* _TRACE_LTTNG_H */
/* This part must be outside protection */
#endif /* _TRACE_LTTNG_H */
/* This part must be outside protection */
-#include "define_trace.h"
+#include "
../../../probes/
define_trace.h"
This page took
0.02322 seconds
and
4
git commands to generate.