diff options
Diffstat (limited to 'include/trace')
| -rw-r--r-- | include/trace/events/regmap.h | 23 |
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, | |||
| 223 | 223 | ||
| 224 | ); | 224 | ); |
| 225 | 225 | ||
| 226 | TRACE_EVENT(regcache_drop_region, | ||
| 227 | |||
| 228 | TP_PROTO(struct device *dev, unsigned int from, | ||
| 229 | unsigned int to), | ||
| 230 | |||
| 231 | TP_ARGS(dev, from, to), | ||
| 232 | |||
| 233 | TP_STRUCT__entry( | ||
| 234 | __string( name, dev_name(dev) ) | ||
| 235 | __field( unsigned int, from ) | ||
| 236 | __field( unsigned int, to ) | ||
| 237 | ), | ||
| 238 | |||
| 239 | TP_fast_assign( | ||
| 240 | __assign_str(name, dev_name(dev)); | ||
| 241 | __entry->from = from; | ||
| 242 | __entry->to = to; | ||
| 243 | ), | ||
| 244 | |||
| 245 | TP_printk("%s %u-%u", __get_str(name), (unsigned int)__entry->from, | ||
| 246 | (unsigned int)__entry->to) | ||
| 247 | ); | ||
| 248 | |||
| 226 | #endif /* _TRACE_REGMAP_H */ | 249 | #endif /* _TRACE_REGMAP_H */ |
| 227 | 250 | ||
| 228 | /* This part must be outside protection */ | 251 | /* This part must be outside protection */ |
