projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Use MAX_RT_PRIO offset in sched_wakeup_template
[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 cd766d29496ccd639706d879d55f98c59745c44f..d2f20a067c8944dcff33d1f1ab2150a136ed7e2a 100644
(file)
--- a/
instrumentation/events/lttng-module/lttng.h
+++ b/
instrumentation/events/lttng-module/lttng.h
@@
-9,13
+9,9
@@
LTTNG_TRACEPOINT_EVENT(lttng_logger,
TP_PROTO(const char __user *text, size_t len),
TP_ARGS(text, len),
LTTNG_TRACEPOINT_EVENT(lttng_logger,
TP_PROTO(const char __user *text, size_t len),
TP_ARGS(text, len),
- TP_STRUCT__entry(
- __dynamic_array_text(char, msg, len)
- ),
- TP_fast_assign(
- tp_memcpy_dyn_from_user(msg, text)
- ),
- TP_printk("")
+ TP_FIELDS(
+ ctf_user_sequence_text(char, msg, text, size_t, len)
+ )
)
#endif /* LTTNG_TRACE_LTTNG_H */
)
#endif /* LTTNG_TRACE_LTTNG_H */
This page took
0.028315 seconds
and
4
git commands to generate.