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)
commitfb2736bbaee0e704a4f33912cf532597b2dc5b33
tree409629ad28230acd153d4b07c3e39d7afb324175
parent555fedacc366c4aaf48270da2504dfa97c41a130
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]