aboutsummaryrefslogtreecommitdiffstats
path: root/audio/trace-events
diff options
context:
space:
mode:
Diffstat (limited to 'audio/trace-events')
-rw-r--r--audio/trace-events19
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/trace-events b/audio/trace-events
new file mode 100644
index 000000000..957c92337
--- /dev/null
+++ b/audio/trace-events
@@ -0,0 +1,19 @@
+# See docs/devel/tracing.rst for syntax documentation.
+
+# alsaaudio.c
+alsa_revents(int revents) "revents = %d"
+alsa_pollout(int i, int fd) "i = %d fd = %d"
+alsa_set_handler(int events, int index, int fd, int err) "events=0x%x index=%d fd=%d err=%d"
+alsa_wrote_zero(int len) "Failed to write %d frames (wrote zero)"
+alsa_read_zero(long len) "Failed to read %ld frames (read zero)"
+alsa_xrun_out(void) "Recovering from playback xrun"
+alsa_xrun_in(void) "Recovering from capture xrun"
+alsa_resume_out(void) "Resuming suspended output stream"
+
+# ossaudio.c
+oss_version(int version) "OSS version = 0x%x"
+
+# audio.c
+audio_timer_start(int interval) "interval %d ms"
+audio_timer_stop(void) ""
+audio_timer_delayed(int interval) "interval %d ms"