2 #define TRACE_SYSTEM regmap
4 #if !defined(LTTNG_TRACE_REGMAP_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define LTTNG_TRACE_REGMAP_H
7 #include "../../../probes/lttng-tracepoint-event.h"
8 #include <linux/ktime.h>
9 #include <linux/version.h>
11 #ifndef _TRACE_REGMAP_DEF_
12 #define _TRACE_REGMAP_DEF_
20 LTTNG_TRACEPOINT_EVENT_CLASS(regmap_reg
,
22 TP_PROTO(struct regmap
*map
, unsigned int reg
,
25 TP_ARGS(map
, reg
, val
),
28 ctf_string(name
, regmap_name(map
))
29 ctf_integer(unsigned int, reg
, reg
)
30 ctf_integer(unsigned int, val
, val
)
33 LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_reg
, regmap_reg_write
,
35 TP_PROTO(struct regmap
*map
, unsigned int reg
,
38 TP_ARGS(map
, reg
, val
)
41 LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_reg
, regmap_reg_read
,
43 TP_PROTO(struct regmap
*map
, unsigned int reg
,
46 TP_ARGS(map
, reg
, val
)
49 LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_reg
, regmap_reg_read_cache
,
51 TP_PROTO(struct regmap
*map
, unsigned int reg
,
54 TP_ARGS(map
, reg
, val
)
57 LTTNG_TRACEPOINT_EVENT_CLASS(regmap_block
,
59 TP_PROTO(struct regmap
*map
, unsigned int reg
, int count
),
61 TP_ARGS(map
, reg
, count
),
64 ctf_string(name
, regmap_name(map
))
65 ctf_integer(unsigned int, reg
, reg
)
66 ctf_integer(int, count
, count
)
70 LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block
, regmap_hw_read_start
,
72 TP_PROTO(struct regmap
*map
, unsigned int reg
, int count
),
74 TP_ARGS(map
, reg
, count
)
77 LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block
, regmap_hw_read_done
,
79 TP_PROTO(struct regmap
*map
, unsigned int reg
, int count
),
81 TP_ARGS(map
, reg
, count
)
84 LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block
, regmap_hw_write_start
,
86 TP_PROTO(struct regmap
*map
, unsigned int reg
, int count
),
88 TP_ARGS(map
, reg
, count
)
91 LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block
, regmap_hw_write_done
,
93 TP_PROTO(struct regmap
*map
, unsigned int reg
, int count
),
95 TP_ARGS(map
, reg
, count
)
98 LTTNG_TRACEPOINT_EVENT_MAP(regcache_sync
,
100 regmap_regcache_sync
,
102 TP_PROTO(struct regmap
*map
, const char *type
,
105 TP_ARGS(map
, type
, status
),
108 ctf_string(name
, regmap_name(map
))
109 ctf_string(status
, status
)
110 ctf_string(type
, type
)
114 LTTNG_TRACEPOINT_EVENT_CLASS(regmap_bool
,
116 TP_PROTO(struct regmap
*map
, bool flag
),
121 ctf_string(name
, regmap_name(map
))
122 ctf_integer(int, flag
, flag
)
126 LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_bool
, regmap_cache_only
,
128 TP_PROTO(struct regmap
*map
, bool flag
),
133 LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_bool
, regmap_cache_bypass
,
135 TP_PROTO(struct regmap
*map
, bool flag
),
141 #endif /* LTTNG_TRACE_REGMAP_H */
143 /* This part must be outside protection */
144 #include "../../../probes/define_trace.h"
This page took 0.031712 seconds and 4 git commands to generate.