pwm: Implement tracing for .get_state() and .apply_state()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 24 Oct 2019 08:08:29 +0000 (10:08 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 20 Jan 2020 11:28:37 +0000 (12:28 +0100)
commit1188829abc2abbef0da7a082fdb6a315a050a0a0
treefc535004ec0e6835c14bd9a341a8f615b0f36f6c
parentaf4fab8bedcfe87f297c65ded128e7ee036488c6
pwm: Implement tracing for .get_state() and .apply_state()

This allows to log all calls to the driver's lowlevel functions which
simplifies debugging in some cases.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/core.c
include/trace/events/pwm.h [new file with mode: 0644]