projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: ext4: Reserve revoke credits for freed blocks (v5.5)
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
regmap.h
diff --git
a/instrumentation/events/lttng-module/regmap.h
b/instrumentation/events/lttng-module/regmap.h
index eef3c6cd255dcfeadb0b80ba15d4276febeba9c7..cc42dcb70deb37572a3ccf08e30d5ccf7bf7fcdd 100644
(file)
--- a/
instrumentation/events/lttng-module/regmap.h
+++ b/
instrumentation/events/lttng-module/regmap.h
@@
-4,7
+4,7
@@
#if !defined(LTTNG_TRACE_REGMAP_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_REGMAP_H
#if !defined(LTTNG_TRACE_REGMAP_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_REGMAP_H
-#include
"../../../probes/lttng-tracepoint-event.h"
+#include
<probes/lttng-tracepoint-event.h>
#include <linux/ktime.h>
#include <linux/version.h>
#include <linux/ktime.h>
#include <linux/version.h>
@@
-19,55
+19,49
@@
struct regmap;
*/
LTTNG_TRACEPOINT_EVENT_CLASS(regmap_reg,
*/
LTTNG_TRACEPOINT_EVENT_CLASS(regmap_reg,
- TP_PROTO(struct
device *dev
, unsigned int reg,
+ TP_PROTO(struct
regmap *map
, unsigned int reg,
unsigned int val),
unsigned int val),
- TP_ARGS(
dev
, reg, val),
+ TP_ARGS(
map
, reg, val),
TP_FIELDS(
TP_FIELDS(
- ctf_string(name,
dev_name(dev
))
+ ctf_string(name,
regmap_name(map
))
ctf_integer(unsigned int, reg, reg)
ctf_integer(unsigned int, val, val)
)
)
ctf_integer(unsigned int, reg, reg)
ctf_integer(unsigned int, val, val)
)
)
-
LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_reg, regmap_reg_write,
LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_reg, regmap_reg_write,
- TP_PROTO(struct
device *dev
, unsigned int reg,
+ TP_PROTO(struct
regmap *map
, unsigned int reg,
unsigned int val),
unsigned int val),
- TP_ARGS(dev, reg, val)
-
+ TP_ARGS(map, reg, val)
)
LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_reg, regmap_reg_read,
)
LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_reg, regmap_reg_read,
- TP_PROTO(struct
device *dev
, unsigned int reg,
+ TP_PROTO(struct
regmap *map
, unsigned int reg,
unsigned int val),
unsigned int val),
- TP_ARGS(dev, reg, val)
-
+ TP_ARGS(map, reg, val)
)
)
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0))
LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_reg, regmap_reg_read_cache,
LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_reg, regmap_reg_read_cache,
- TP_PROTO(struct
device *dev
, unsigned int reg,
+ TP_PROTO(struct
regmap *map
, unsigned int reg,
unsigned int val),
unsigned int val),
- TP_ARGS(dev, reg, val)
-
+ TP_ARGS(map, reg, val)
)
)
-#endif
LTTNG_TRACEPOINT_EVENT_CLASS(regmap_block,
LTTNG_TRACEPOINT_EVENT_CLASS(regmap_block,
- TP_PROTO(struct
device *dev
, unsigned int reg, int count),
+ TP_PROTO(struct
regmap *map
, unsigned int reg, int count),
- TP_ARGS(
dev
, reg, count),
+ TP_ARGS(
map
, reg, count),
TP_FIELDS(
TP_FIELDS(
- ctf_string(name,
dev_name(dev
))
+ ctf_string(name,
regmap_name(map
))
ctf_integer(unsigned int, reg, reg)
ctf_integer(int, count, count)
)
ctf_integer(unsigned int, reg, reg)
ctf_integer(int, count, count)
)
@@
-75,79
+69,76
@@
LTTNG_TRACEPOINT_EVENT_CLASS(regmap_block,
LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block, regmap_hw_read_start,
LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block, regmap_hw_read_start,
- TP_PROTO(struct
device *dev
, unsigned int reg, int count),
+ TP_PROTO(struct
regmap *map
, unsigned int reg, int count),
- TP_ARGS(
dev
, reg, count)
+ TP_ARGS(
map
, reg, count)
)
LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block, regmap_hw_read_done,
)
LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block, regmap_hw_read_done,
- TP_PROTO(struct
device *dev
, unsigned int reg, int count),
+ TP_PROTO(struct
regmap *map
, unsigned int reg, int count),
- TP_ARGS(
dev
, reg, count)
+ TP_ARGS(
map
, reg, count)
)
LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block, regmap_hw_write_start,
)
LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block, regmap_hw_write_start,
- TP_PROTO(struct
device *dev
, unsigned int reg, int count),
+ TP_PROTO(struct
regmap *map
, unsigned int reg, int count),
- TP_ARGS(
dev
, reg, count)
+ TP_ARGS(
map
, reg, count)
)
LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block, regmap_hw_write_done,
)
LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_block, regmap_hw_write_done,
- TP_PROTO(struct
device *dev
, unsigned int reg, int count),
+ TP_PROTO(struct
regmap *map
, unsigned int reg, int count),
- TP_ARGS(
dev
, reg, count)
+ TP_ARGS(
map
, reg, count)
)
LTTNG_TRACEPOINT_EVENT_MAP(regcache_sync,
regmap_regcache_sync,
)
LTTNG_TRACEPOINT_EVENT_MAP(regcache_sync,
regmap_regcache_sync,
- TP_PROTO(struct
device *dev
, const char *type,
+ TP_PROTO(struct
regmap *map
, const char *type,
const char *status),
const char *status),
- TP_ARGS(
dev
, type, status),
+ TP_ARGS(
map
, type, status),
TP_FIELDS(
TP_FIELDS(
- ctf_string(name,
dev_name(dev
))
+ ctf_string(name,
regmap_name(map
))
ctf_string(status, status)
ctf_string(type, type)
)
)
ctf_string(status, status)
ctf_string(type, type)
)
)
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0))
LTTNG_TRACEPOINT_EVENT_CLASS(regmap_bool,
LTTNG_TRACEPOINT_EVENT_CLASS(regmap_bool,
- TP_PROTO(struct
device *dev
, bool flag),
+ TP_PROTO(struct
regmap *map
, bool flag),
- TP_ARGS(
dev
, flag),
+ TP_ARGS(
map
, flag),
TP_FIELDS(
TP_FIELDS(
- ctf_string(name,
dev_name(dev
))
+ ctf_string(name,
regmap_name(map
))
ctf_integer(int, flag, flag)
)
)
LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_bool, regmap_cache_only,
ctf_integer(int, flag, flag)
)
)
LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_bool, regmap_cache_only,
- TP_PROTO(struct device *dev, bool flag),
-
- TP_ARGS(dev, flag)
+ TP_PROTO(struct regmap *map, bool flag),
+ TP_ARGS(map, flag)
)
LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_bool, regmap_cache_bypass,
)
LTTNG_TRACEPOINT_EVENT_INSTANCE(regmap_bool, regmap_cache_bypass,
- TP_PROTO(struct
device *dev
, bool flag),
+ TP_PROTO(struct
regmap *map
, bool flag),
- TP_ARGS(
dev
, flag)
+ TP_ARGS(
map
, flag)
)
)
-#endif
#endif /* LTTNG_TRACE_REGMAP_H */
/* This part must be outside protection */
#endif /* LTTNG_TRACE_REGMAP_H */
/* This part must be outside protection */
-#include
"../../../probes/define_trace.h"
+#include
<probes/define_trace.h>
This page took
0.025771 seconds
and
4
git commands to generate.