]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8fbf176cba4ee82263a1526de104f3d78b471fc0
treec84e3c3d616627882cb51297c864f2a7d694acdf
parent47781744d00749f1fd1ef4ec46740d512b9d3a1b
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