aboutsummaryrefslogtreecommitdiffstats
path: root/hw/audio/trace-events
diff options
context:
space:
mode:
Diffstat (limited to 'hw/audio/trace-events')
-rw-r--r--hw/audio/trace-events13
1 files changed, 13 insertions, 0 deletions
diff --git a/hw/audio/trace-events b/hw/audio/trace-events
new file mode 100644
index 000000000..e0e71cd9b
--- /dev/null
+++ b/hw/audio/trace-events
@@ -0,0 +1,13 @@
+# See docs/devel/tracing.rst for syntax documentation.
+
+# cs4231.c
+cs4231_mem_readl_dreg(uint32_t reg, uint32_t ret) "read dreg %d: 0x%02x"
+cs4231_mem_readl_reg(uint32_t reg, uint32_t ret) "read reg %d: 0x%08x"
+cs4231_mem_writel_reg(uint32_t reg, uint32_t old, uint32_t val) "write reg %d: 0x%08x -> 0x%08x"
+cs4231_mem_writel_dreg(uint32_t reg, uint32_t old, uint32_t val) "write dreg %d: 0x%02x -> 0x%02x"
+
+# hda-codec.c
+hda_audio_running(const char *stream, int nr, bool running) "st %s, nr %d, run %d"
+hda_audio_format(const char *stream, int chan, const char *fmt, int freq) "st %s, %d x %s @ %d Hz"
+hda_audio_adjust(const char *stream, int pos) "st %s, pos %d"
+hda_audio_overrun(const char *stream) "st %s"