diff options
author | Mark Brown | 2013-04-16 16:05:44 +0100 |
---|---|---|
committer | Mark Brown | 2013-04-16 16:05:44 +0100 |
commit | b508c80c553c03baf5c9ad5612ac8caceb13c5f4 (patch) | |
tree | 9a2047f94df087374f7ad3e9058f174ff5dad533 /include | |
parent | 41ef2d5678d83af030125550329b6ae8b74618fa (diff) | |
parent | fe7d4ccd1d7748bc9919c1bdee1e8286776f75ff (diff) |
Merge remote-tracking branch 'regmap/topic/async' into regmap-next
Diffstat (limited to 'include')
-rw-r--r-- | include/trace/events/regmap.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/include/trace/events/regmap.h b/include/trace/events/regmap.h index 41a7dbd570e2..a43a2f67bd8e 100644 --- a/include/trace/events/regmap.h +++ b/include/trace/events/regmap.h @@ -175,6 +175,54 @@ DEFINE_EVENT(regmap_bool, regmap_cache_bypass, ); +DECLARE_EVENT_CLASS(regmap_async, + + TP_PROTO(struct device *dev), + + TP_ARGS(dev), + + TP_STRUCT__entry( + __string( name, dev_name(dev) ) + ), + + TP_fast_assign( + __assign_str(name, dev_name(dev)); + ), + + TP_printk("%s", __get_str(name)) +); + +DEFINE_EVENT(regmap_block, regmap_async_write_start, + + TP_PROTO(struct device *dev, unsigned int reg, int count), + + TP_ARGS(dev, reg, count) +); + +DEFINE_EVENT(regmap_async, regmap_async_io_complete, + + TP_PROTO(struct device *dev), + + TP_ARGS(dev) + +); + +DEFINE_EVENT(regmap_async, regmap_async_complete_start, + + TP_PROTO(struct device *dev), + + TP_ARGS(dev) + +); + +DEFINE_EVENT(regmap_async, regmap_async_complete_done, + + TP_PROTO(struct device *dev), + + TP_ARGS(dev) + +); + #endif /* _TRACE_REGMAP_H */ /* This part must be outside protection */ |