ASoC: SOF: add widget setup/free tracing
authorBard Liao <yung-chuan.liao@linux.intel.com>
Mon, 19 Sep 2022 12:21:02 +0000 (14:21 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 19 Sep 2022 14:44:03 +0000 (15:44 +0100)
commitfa6e73d69193d0ba3b794f7c303beae498732f40
treef004763a364812c7184ee39741fc525ebdf52363
parent12e51866c79fe37faed276442f4b0dfd9f2dc174
ASoC: SOF: add widget setup/free tracing

Enables tracking of use_count during widget setup and free routines.
Useful for debugging unbalanced use_counts during suspend/resume.

Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Noah Klayman <noah.klayman@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220919122108.43764-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/trace/events/sof.h [new file with mode: 0644]
sound/soc/sof/core.c
sound/soc/sof/sof-audio.c