2 #define TRACE_SYSTEM gpio
4 #if !defined(LTTNG_TRACE_GPIO_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define LTTNG_TRACE_GPIO_H
7 #include "../../../probes/lttng-tracepoint-event.h"
9 LTTNG_TRACEPOINT_EVENT(gpio_direction
,
11 TP_PROTO(unsigned gpio
, int in
, int err
),
13 TP_ARGS(gpio
, in
, err
),
16 ctf_integer(unsigned, gpio
, gpio
)
17 ctf_integer(int, in
, in
)
18 ctf_integer(int, err
, err
)
22 LTTNG_TRACEPOINT_EVENT(gpio_value
,
24 TP_PROTO(unsigned gpio
, int get
, int value
),
26 TP_ARGS(gpio
, get
, value
),
29 ctf_integer(unsigned, gpio
, gpio
)
30 ctf_integer(int, get
, get
)
31 ctf_integer(int, value
, value
)
35 #endif /* if !defined(LTTNG_TRACE_GPIO_H) || defined(TRACE_HEADER_MULTI_READ) */
37 /* This part must be outside protection */
38 #include "../../../probes/define_trace.h"
This page took 0.02916 seconds and 4 git commands to generate.