mbox series

[0/7] ASoC: SOF: start using tracing instead of dev_dbg

Message ID 20220919122108.43764-1-pierre-louis.bossart@linux.intel.com
Headers show
Series ASoC: SOF: start using tracing instead of dev_dbg | expand

Message

Pierre-Louis Bossart Sept. 19, 2022, 12:21 p.m. UTC
Multiple maintainers have told us to start using the tracing
subsystem. Wish granted, this patchset suggested by Noah Klayman
removes a number of verbose and arguably useless dev_dbg or dev_vdbg
logs.

Beyond higher efficiency and less intrusive instrumentation, the use
of bpftrace scripts bring new functionality and helps gather
statistics on usage count on a running system, see how we can get
information on suspend/resume times with [1]

[1] https://github.com/thesofproject/sof-test/blob/main/kernel_tracing/bpftrace_scripts/suspend_resume_time.bt

Bard Liao (2):
  ASoC: SOF: add widget setup/free tracing
  ASoC: SOF: Intel: replace dev_vdbg with tracepoints

Noah Klayman (5):
  ASoC: SOF: Intel: add HDA interrupt source tracing
  ASoC: SOF: Intel: remove unneeded dev_vdbg
  ASoC: SOF: remove unneeded dev_vdbg
  ASoC: SOF: replace dev_vdbg with tracepoints
  ASoC: SOF: replace ipc4-loader dev_vdbg with tracepoints

 include/trace/events/sof.h       | 121 +++++++++++++++++++++++++
 include/trace/events/sof_intel.h | 148 +++++++++++++++++++++++++++++++
 sound/soc/sof/core.c             |   3 +
 sound/soc/sof/intel/cnl.c        |   9 +-
 sound/soc/sof/intel/hda-dsp.c    |   4 +-
 sound/soc/sof/intel/hda-ipc.c    |  11 +--
 sound/soc/sof/intel/hda-pcm.c    |   4 +-
 sound/soc/sof/intel/hda-stream.c |   9 +-
 sound/soc/sof/intel/hda.c        |  19 +++-
 sound/soc/sof/intel/mtl.c        |   3 +-
 sound/soc/sof/ipc3.c             |  12 +--
 sound/soc/sof/ipc4-loader.c      |   7 +-
 sound/soc/sof/pcm.c              |   5 +-
 sound/soc/sof/sof-audio.c        |   5 ++
 sound/soc/sof/sof-utils.c        |   2 -
 sound/soc/sof/topology.c         |   9 --
 16 files changed, 320 insertions(+), 51 deletions(-)
 create mode 100644 include/trace/events/sof.h
 create mode 100644 include/trace/events/sof_intel.h