regmap: Add trace event for successful cache reads
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 30 Nov 2011 14:27:08 +0000 (14:27 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 30 Nov 2011 20:51:09 +0000 (20:51 +0000)
commitbc7ee55633867909bb05e71f957a4d3c1aa1b488
treeb8465a2ee229fed3a7ea133a983236ffe7f657d7
parent018690d33ecf4aa1eb1415e38c40e2b0b6c7808e
regmap: Add trace event for successful cache reads

Currently we only trace physical reads, there's no instrumentation if
the read is satisfied from cache.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regcache.c
include/trace/events/regmap.h