ASoC: SOF: Intel: add HDA interrupt source tracing
authorNoah Klayman <noah.klayman@intel.com>
Mon, 19 Sep 2022 12:21:03 +0000 (14:21 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 19 Sep 2022 14:44:04 +0000 (15:44 +0100)
commitbaedc6300b3d52c71a06f4bddd426488ec243c2b
treeaf897a7edd45a2c2b3fd3a76b41984d07a4be7c3
parentfa6e73d69193d0ba3b794f7c303beae498732f40
ASoC: SOF: Intel: add HDA interrupt source tracing

The Intel HDaudio controller relies on a single interrupt line which
wire-ORs multiple interrupt sources, such as stream, IPC, SoundWire and
wakes. This patch adds the ability to trace each event occurrence.

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