]> git.baikalelectronics.ru Git - kernel.git/commit
regmap: Add basic tracepoints
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 24 Jul 2011 20:30:55 +0000 (21:30 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 8 Aug 2011 06:56:16 +0000 (15:56 +0900)
commit6b3367fd17438cfa42730e8b5d6286b1aba20568
tree409629ad28230acd153d4b07c3e39d7afb324175
parente663f179d7d2c64107a126e6f98518d6966472c8
regmap: Add basic tracepoints

Trace single register reads and writes, plus start/stop tracepoints for
the actual I/O to see where we're spending time. This makes it easy to
have always on logging without overwhelming the logs and also lets us take
advantage of all the context and time information that the trace subsystem
collects for us.

We don't currently trace register values for bulk operations as this would
add complexity and overhead parsing the cooked data that's being worked
with.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regmap.c
include/trace/events/regmap.h [new file with mode: 0644]