From ddc63e4556b6f9a0b5727ca079dd21fa88b7fd91 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Thu, 16 Jun 2016 09:40:02 +0100 Subject: trace: split out trace events for hw/nvram/ directory Move all trace-events for files in the hw/nvram/ directory to their own file. Signed-off-by: Daniel P. Berrange Message-id: 1466066426-16657-17-git-send-email-berrange@redhat.com Signed-off-by: Stefan Hajnoczi --- hw/nvram/trace-events | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 hw/nvram/trace-events (limited to 'hw/nvram') diff --git a/hw/nvram/trace-events b/hw/nvram/trace-events new file mode 100644 index 0000000000..325447d986 --- /dev/null +++ b/hw/nvram/trace-events @@ -0,0 +1,10 @@ +# See docs/trace-events.txt for syntax documentation. + +# hw/nvram/ds1225y.c +nvram_read(uint32_t addr, uint32_t ret) "read addr %d: 0x%02x" +nvram_write(uint32_t addr, uint32_t old, uint32_t val) "write addr %d: 0x%02x -> 0x%02x" + +# hw/nvram/fw_cfg.c +fw_cfg_select(void *s, uint16_t key, int ret) "%p key %d = %d" +fw_cfg_read(void *s, uint64_t ret) "%p = %"PRIx64 +fw_cfg_add_file(void *s, int index, char *name, size_t len) "%p #%d: %s (%zd bytes)" -- cgit v1.2.3