ASoC: Add DAPM trace events
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 4 Nov 2010 04:07:02 +0000 (00:07 -0400)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 11 Nov 2010 14:54:31 +0000 (14:54 +0000)
commit84e909303dbd3c8d882f152c17d1319f2873e147
tree6ee9db7f42423282bbe9b17233eff20b8cddacbc
parenta8b1d34f3ee1bc139ac5fbe3f84f6d16c90136bb
ASoC: Add DAPM trace events

Trace events for DAPM allow us to monitor the performance and behaviour
of DAPM with logging which can be built into the kernel permanantly, is
more suited to automated analysis and display and less likely to suffer
interference from other logging activity.

Currently trace events are generated for:

- Start and stop of DAPM processing
- Start and stop of bias level changes
- Power decisions for widgets
- Widget event execution start and stop

giving some view as to what is happening and where latencies occur.

Actual changes in widget power can be seen via the register write trace in
soc-core.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
include/trace/events/asoc.h
sound/soc/soc-dapm.c