projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: compaction mm_compaction_isolate_template update for Linux 4.0+
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
gpio.h
diff --git
a/instrumentation/events/lttng-module/gpio.h
b/instrumentation/events/lttng-module/gpio.h
index e6002c497687037fd178d178473c5a448244208a..6d93d4febf86222f48b94dae0f78d1f606675627 100644
(file)
--- a/
instrumentation/events/lttng-module/gpio.h
+++ b/
instrumentation/events/lttng-module/gpio.h
@@
-1,12
+1,12
@@
#undef TRACE_SYSTEM
#define TRACE_SYSTEM gpio
#undef TRACE_SYSTEM
#define TRACE_SYSTEM gpio
-#if !defined(_TRACE_GPIO_H) || defined(TRACE_HEADER_MULTI_READ)
-#define _TRACE_GPIO_H
+#if !defined(
LTTNG
_TRACE_GPIO_H) || defined(TRACE_HEADER_MULTI_READ)
+#define
LTTNG
_TRACE_GPIO_H
-#include
<linux/tracepoint.h>
+#include
"../../../probes/lttng-tracepoint-event.h"
-
TRACE
_EVENT(gpio_direction,
+
LTTNG_TRACEPOINT
_EVENT(gpio_direction,
TP_PROTO(unsigned gpio, int in, int err),
TP_PROTO(unsigned gpio, int in, int err),
@@
-19,16
+19,16
@@
TRACE_EVENT(gpio_direction,
),
TP_fast_assign(
),
TP_fast_assign(
- tp_assign(gpio, gpio)
;
- tp_assign(in, in)
;
- tp_assign(err, err)
;
+ tp_assign(gpio, gpio)
+ tp_assign(in, in)
+ tp_assign(err, err)
),
TP_printk("%u %3s (%d)", __entry->gpio,
__entry->in ? "in" : "out", __entry->err)
)
),
TP_printk("%u %3s (%d)", __entry->gpio,
__entry->in ? "in" : "out", __entry->err)
)
-
TRACE
_EVENT(gpio_value,
+
LTTNG_TRACEPOINT
_EVENT(gpio_value,
TP_PROTO(unsigned gpio, int get, int value),
TP_PROTO(unsigned gpio, int get, int value),
@@
-41,16
+41,16
@@
TRACE_EVENT(gpio_value,
),
TP_fast_assign(
),
TP_fast_assign(
- tp_assign(gpio, gpio)
;
- tp_assign(get, get)
;
- tp_assign(value, value)
;
+ tp_assign(gpio, gpio)
+ tp_assign(get, get)
+ tp_assign(value, value)
),
TP_printk("%u %3s %d", __entry->gpio,
__entry->get ? "get" : "set", __entry->value)
)
),
TP_printk("%u %3s %d", __entry->gpio,
__entry->get ? "get" : "set", __entry->value)
)
-#endif /* if !defined(_TRACE_GPIO_H) || defined(TRACE_HEADER_MULTI_READ) */
+#endif /* if !defined(
LTTNG
_TRACE_GPIO_H) || defined(TRACE_HEADER_MULTI_READ) */
/* This part must be outside protection */
#include "../../../probes/define_trace.h"
/* This part must be outside protection */
#include "../../../probes/define_trace.h"
This page took
0.036884 seconds
and
4
git commands to generate.