aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/macio/trace-events
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2018-02-09 18:51:42 +0000
committerDavid Gibson <david@gibson.dropbear.id.au>2018-02-16 12:14:26 +1100
commit4b402e09e6aa40365a11ed0d258ac1e973d9725b (patch)
tree168d114a99609b698139f9916a4039b0d6ae8235 /hw/misc/macio/trace-events
parent7092e84d42b1cfc2440b1dcf66cdae814fa112b3 (diff)
downloadqemu-4b402e09e6aa40365a11ed0d258ac1e973d9725b.zip
qemu-4b402e09e6aa40365a11ed0d258ac1e973d9725b.tar.gz
qemu-4b402e09e6aa40365a11ed0d258ac1e973d9725b.tar.bz2
cuda: convert to trace-events
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/misc/macio/trace-events')
-rw-r--r--hw/misc/macio/trace-events11
1 files changed, 11 insertions, 0 deletions
diff --git a/hw/misc/macio/trace-events b/hw/misc/macio/trace-events
new file mode 100644
index 0000000..24c0a36
--- /dev/null
+++ b/hw/misc/macio/trace-events
@@ -0,0 +1,11 @@
+# See docs/devel/tracing.txt for syntax documentation.
+
+# hw/misc/macio/cuda.c
+cuda_delay_set_sr_int(void) ""
+cuda_data_send(uint8_t data) "send: 0x%02x"
+cuda_data_recv(uint8_t data) "recv: 0x%02x"
+cuda_receive_packet_cmd(const char *cmd) "handling command %s"
+cuda_packet_receive(int len) "length %d"
+cuda_packet_receive_data(int i, const uint8_t data) "[%d] 0x%02x"
+cuda_packet_send(int len) "length %d"
+cuda_packet_send_data(int i, const uint8_t data) "[%d] 0x%02x"