summaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-06-30 12:40:01 +0100
committerMark Brown <broonie@linaro.org>2013-06-30 12:40:01 +0100
commitfeff98f5507f98c0422252caec41c3be9e6b6399 (patch)
treed014206d6ecc095ceb8e03ea2b17b42bf1ce786a /include/trace
parent9e895ace5d82df8929b16f58e9f515f6d54ab82d (diff)
parentd6814a7dafa590ec5fe0597922ea76354f9bec59 (diff)
Merge remote-tracking branch 'regmap/topic/cache' into regmap-next
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/regmap.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/trace/events/regmap.h b/include/trace/events/regmap.h
index a43a2f67bd8e..23d561512f64 100644
--- a/include/trace/events/regmap.h
+++ b/include/trace/events/regmap.h
@@ -223,6 +223,29 @@ DEFINE_EVENT(regmap_async, regmap_async_complete_done,
);
+TRACE_EVENT(regcache_drop_region,
+
+ TP_PROTO(struct device *dev, unsigned int from,
+ unsigned int to),
+
+ TP_ARGS(dev, from, to),
+
+ TP_STRUCT__entry(
+ __string( name, dev_name(dev) )
+ __field( unsigned int, from )
+ __field( unsigned int, to )
+ ),
+
+ TP_fast_assign(
+ __assign_str(name, dev_name(dev));
+ __entry->from = from;
+ __entry->to = to;
+ ),
+
+ TP_printk("%s %u-%u", __get_str(name), (unsigned int)__entry->from,
+ (unsigned int)__entry->to)
+);
+
#endif /* _TRACE_REGMAP_H */
/* This part must be outside protection */