diff options
author | Amit Shah <amit.shah@redhat.com> | 2011-07-05 16:37:49 +0530 |
---|---|---|
committer | Amit Shah <amit.shah@redhat.com> | 2011-07-18 15:30:14 +0530 |
commit | d02e4fa4a8e180c0a312b7c520a167894a0c8a83 (patch) | |
tree | c8d09fddfb8ff4014045365a8ad7a689b12eb58d /trace-events | |
parent | 49e3fdd7f2f3ecccc6f75d976246124d0edaec3f (diff) | |
download | qemu-d02e4fa4a8e180c0a312b7c520a167894a0c8a83.tar.gz qemu-d02e4fa4a8e180c0a312b7c520a167894a0c8a83.tar.bz2 qemu-d02e4fa4a8e180c0a312b7c520a167894a0c8a83.zip |
virtio-console: Add some trace events
Add some trace events for messages passed between the char layer and the
virtio-serial bus.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r-- | trace-events | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/trace-events b/trace-events index 59420e8a6e..765a15ed77 100644 --- a/trace-events +++ b/trace-events @@ -52,6 +52,11 @@ disable virtio_serial_throttle_port(unsigned int port, bool throttle) "port %u, disable virtio_serial_handle_control_message(uint16_t event, uint16_t value) "event %u, value %u" disable virtio_serial_handle_control_message_port(unsigned int port) "port %u" +# hw/virtio-console.c +disable virtio_console_flush_buf(unsigned int port, size_t len, ssize_t ret) "port %u, in_len %zu, out_len %zd" +disable virtio_console_chr_read(unsigned int port, int size) "port %u, size %d" +disable virtio_console_chr_event(unsigned int port, int event) "port %u, event %d" + # block.c disable multiwrite_cb(void *mcb, int ret) "mcb %p ret %d" disable bdrv_aio_multiwrite(void *mcb, int num_callbacks, int num_reqs) "mcb %p num_callbacks %d num_reqs %d" |