projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: SUNRPC: Simplify defining common RPC trace events (v5.0)
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
printk.h
diff --git
a/instrumentation/events/lttng-module/printk.h
b/instrumentation/events/lttng-module/printk.h
index 77fe081b36e835ff26ac6a92afc26bce3fbcecef..077fc45c0d614ba2f7ba70f8d0d40c8a4bebe01a 100644
(file)
--- a/
instrumentation/events/lttng-module/printk.h
+++ b/
instrumentation/events/lttng-module/printk.h
@@
-4,7
+4,7
@@
#if !defined(LTTNG_TRACE_PRINTK_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_PRINTK_H
#if !defined(LTTNG_TRACE_PRINTK_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_PRINTK_H
-#include
"../../../probes/lttng-tracepoint-event.h"
+#include
<probes/lttng-tracepoint-event.h>
#include <linux/version.h>
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0))
#include <linux/version.h>
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0))
@@
-24,7
+24,7
@@
LTTNG_TRACEPOINT_EVENT_MAP(console,
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0))
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0))
-LTTNG_TRACEPOINT_EVENT_
CONDITION_
MAP(console,
+LTTNG_TRACEPOINT_EVENT_MAP(console,
printk_console,
printk_console,
@@
-33,8
+33,6
@@
LTTNG_TRACEPOINT_EVENT_CONDITION_MAP(console,
TP_ARGS(log_buf, start, end, log_buf_len),
TP_ARGS(log_buf, start, end, log_buf_len),
- TP_CONDITION(start != end),
-
TP_FIELDS(
ctf_sequence_text(char, msg, log_buf + start,
size_t, end - start)
TP_FIELDS(
ctf_sequence_text(char, msg, log_buf + start,
size_t, end - start)
@@
-43,7
+41,7
@@
LTTNG_TRACEPOINT_EVENT_CONDITION_MAP(console,
#else /* (LINUX_VERSION_CODE < KERNEL_VERSION(3,5,0)) */
#else /* (LINUX_VERSION_CODE < KERNEL_VERSION(3,5,0)) */
-LTTNG_TRACEPOINT_EVENT_
CONDITION_
MAP(console,
+LTTNG_TRACEPOINT_EVENT_MAP(console,
printk_console,
printk_console,
@@
-52,8
+50,6
@@
LTTNG_TRACEPOINT_EVENT_CONDITION_MAP(console,
TP_ARGS(log_buf, start, end, log_buf_len),
TP_ARGS(log_buf, start, end, log_buf_len),
- TP_CONDITION(start != end),
-
TP_FIELDS(
/*
* printk buffer is gathered from two segments on older kernels.
TP_FIELDS(
/*
* printk buffer is gathered from two segments on older kernels.
@@
-76,4
+72,4
@@
LTTNG_TRACEPOINT_EVENT_CONDITION_MAP(console,
#endif /* LTTNG_TRACE_PRINTK_H */
/* This part must be outside protection */
#endif /* LTTNG_TRACE_PRINTK_H */
/* This part must be outside protection */
-#include
"../../../probes/define_trace.h"
+#include
<probes/define_trace.h>
This page took
0.025053 seconds
and
4
git commands to generate.