regulator: core: Add regulator bypass trace points
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Fri, 29 May 2020 15:22:16 +0000 (16:22 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 29 May 2020 16:17:02 +0000 (17:17 +0100)
commit48325655290869dbcdc356478bde4606d79d600e
treec84e3c3d616627882cb51297c864f2a7d694acdf
parentc1f615e4f463b1620fff51d1c08a5e83c1683d6b
regulator: core: Add regulator bypass trace points

Add new trace points for the start and end of enabling bypass on a
regulator, to allow monitoring of when regulators are moved into bypass
and how long that takes.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20200529152216.9671-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c
include/trace/events/regulator.h