1. 21 9月, 2011 1 次提交
    • M
      ASoC: Trace and collect statistics for DAPM graph walking · de02d078
      Mark Brown 提交于
      One of the longest standing areas for improvement in ASoC has been the
      DAPM algorithm - it repeats the same checks many times whenever it is run
      and makes no effort to limit the areas of the graph it checks meaning we
      do an awful lot of walks over the full graph. This has never mattered too
      much as the size of the graph has generally been small in relation to the
      size of the devices supported and the speed of CPUs but it is annoying.
      
      In preparation for work on improving this insert a trace point after the
      graph walk has been done. This gives us specific timing information for
      the walk, and in order to give quantifiable (non-benchmark) numbers also
      count every time we check a link or check the power for a widget and report
      those numbers. Substantial changes in the algorithm may require tweaks to
      the stats but they should be useful for simpler things.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      de02d078
  2. 06 7月, 2011 1 次提交
  3. 22 1月, 2011 1 次提交
  4. 06 12月, 2010 1 次提交
  5. 11 11月, 2010 2 次提交
    • M
      ASoC: Add DAPM trace events · 84e90930
      Mark Brown 提交于
      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: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      84e90930
    • M
      ASoC: Add trace events for ASoC register read/write · a8b1d34f
      Mark Brown 提交于
      The trace subsystem provides a convenient way of instrumenting the kernel
      which can be left on all the time with extremely low impact on the system
      unlike prints to the kernel log which can be very spammy. Begin adding
      support for instrumenting ASoC via this interface by adding trace for the
      register access primitives.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      a8b1d34f