• Mark Brown's avatar
    ASoC: Add DAPM trace events · 84e90930
    Mark Brown authored
    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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
    84e90930
soc-dapm.c 56.3 KB