xref: /openbmc/qemu/audio/trace-events (revision a6896ebc)
1# See docs/devel/tracing.rst for syntax documentation.
2
3# alsaaudio.c
4alsa_revents(int revents) "revents = %d"
5alsa_pollout(int i, int fd) "i = %d fd = %d"
6alsa_set_handler(int events, int index, int fd, int err) "events=0x%x index=%d fd=%d err=%d"
7alsa_wrote_zero(int len) "Failed to write %d frames (wrote zero)"
8alsa_read_zero(long len) "Failed to read %ld frames (read zero)"
9alsa_xrun_out(void) "Recovering from playback xrun"
10alsa_xrun_in(void) "Recovering from capture xrun"
11alsa_resume_out(void) "Resuming suspended output stream"
12
13# ossaudio.c
14oss_version(int version) "OSS version = 0x%x"
15
16# dbusaudio.c
17dbus_audio_register(const char *s, const char *dir) "sender = %s, dir = %s"
18dbus_audio_put_buffer_out(size_t pos, size_t size) "buf_pos = %zu, buf_size = %zu"
19dbus_audio_read(size_t len) "len = %zu"
20
21# pwaudio.c
22pw_state_changed(int nodeid, const char *s) "node id: %d stream state: %s"
23pw_read(int32_t avail, uint32_t index, size_t len) "avail=%d index=%u len=%zu"
24pw_write(int32_t filled, int32_t avail, uint32_t index, size_t len) "filled=%d avail=%d index=%u len=%zu"
25pw_vol(const char *ret) "set volume: %s"
26pw_period(uint64_t quantum, uint32_t rate) "period =%" PRIu64 "/%u"
27pw_audio_init(void) "Initialize PipeWire context"
28
29# audio.c
30audio_timer_start(int interval) "interval %d ms"
31audio_timer_stop(void) ""
32audio_timer_delayed(int interval) "interval %d ms"
33