xref: /openbmc/qemu/hw/block/trace-events (revision 812b31d3)
1# See docs/devel/tracing.rst for syntax documentation.
2
3# fdc.c
4fdc_ioport_read(uint8_t reg, uint8_t value) "read reg 0x%02x val 0x%02x"
5fdc_ioport_write(uint8_t reg, uint8_t value) "write reg 0x%02x val 0x%02x"
6
7# fdc-sysbus.c
8fdctrl_tc_pulse(int level) "TC pulse: %u"
9
10# pflash_cfi01.c
11# pflash_cfi02.c
12pflash_chip_erase_invalid(const char *name, uint64_t offset) "%s: chip erase: invalid address 0x%" PRIx64
13pflash_chip_erase_start(const char *name) "%s: start chip erase"
14pflash_data_read(const char *name, uint64_t offset, unsigned size, uint32_t value) "%s: data offset:0x%04"PRIx64" size:%u value:0x%04x"
15pflash_data_write(const char *name, uint64_t offset, unsigned size, uint32_t value, uint64_t counter) "%s: data offset:0x%04"PRIx64" size:%u value:0x%04x counter:0x%016"PRIx64
16pflash_device_id(const char *name, uint16_t id) "%s: read device ID: 0x%04x"
17pflash_device_info(const char *name, uint64_t offset) "%s: read device information offset:0x%04" PRIx64
18pflash_erase_complete(const char *name) "%s: sector erase complete"
19pflash_erase_timeout(const char *name, int count) "%s: erase timeout fired; erasing %d sectors"
20pflash_io_read(const char *name, uint64_t offset, unsigned int size, uint32_t value, uint8_t cmd, uint8_t wcycle) "%s: offset:0x%04" PRIx64 " size:%u value:0x%04x cmd:0x%02x wcycle:%u"
21pflash_io_write(const char *name, uint64_t offset, unsigned int size, uint32_t value, uint8_t wcycle) "%s: offset:0x%04"PRIx64" size:%u value:0x%04x wcycle:%u"
22pflash_manufacturer_id(const char *name, uint16_t id) "%s: read manufacturer ID: 0x%04x"
23pflash_mode_read_array(const char *name) "%s: read array mode"
24pflash_postload_cb(const char *name)  "%s: updating bdrv"
25pflash_read_done(const char *name, uint64_t offset, uint64_t ret) "%s: ID:0x%" PRIx64 " ret:0x%" PRIx64
26pflash_read_status(const char *name, uint32_t ret) "%s: status:0x%x"
27pflash_read_unknown_state(const char *name, uint8_t cmd) "%s: unknown command state:0x%x"
28pflash_reset(const char *name) "%s: reset"
29pflash_sector_erase_start(const char *name, int width1, uint64_t start, int width2, uint64_t end) "%s: start sector erase at: 0x%0*" PRIx64 "-0x%0*" PRIx64
30pflash_timer_expired(const char *name, uint8_t cmd) "%s: command 0x%02x done"
31pflash_unlock0_failed(const char *name, uint64_t offset, uint8_t cmd, uint16_t addr0) "%s: unlock0 failed 0x%" PRIx64 " 0x%02x 0x%04x"
32pflash_unlock1_failed(const char *name, uint64_t offset, uint8_t cmd) "%s: unlock0 failed 0x%" PRIx64 " 0x%02x"
33pflash_unsupported_device_configuration(const char *name, uint8_t width, uint8_t max) "%s: unsupported device configuration: device_width:%d max_device_width:%d"
34pflash_write(const char *name, const char *str) "%s: %s"
35pflash_write_block(const char *name, uint32_t value) "%s: block write: bytes:0x%x"
36pflash_write_block_erase(const char *name, uint64_t offset, uint64_t len) "%s: block erase offset:0x%" PRIx64 " bytes:0x%" PRIx64
37pflash_write_failed(const char *name, uint64_t offset, uint8_t cmd) "%s: command failed 0x%" PRIx64 " 0x%02x"
38pflash_write_invalid(const char *name, uint8_t cmd) "%s: invalid write for command 0x%02x"
39pflash_write_invalid_command(const char *name, uint8_t cmd) "%s: invalid command 0x%02x (wc 5)"
40pflash_write_invalid_state(const char *name, uint8_t cmd, int wc) "%s: invalid command state 0x%02x (wc %d)"
41pflash_write_start(const char *name, uint8_t cmd) "%s: starting command 0x%02x"
42pflash_write_unknown(const char *name, uint8_t cmd) "%s: unknown command 0x%02x"
43
44# virtio-blk.c
45virtio_blk_req_complete(void *vdev, void *req, int status) "vdev %p req %p status %d"
46virtio_blk_rw_complete(void *vdev, void *req, int ret) "vdev %p req %p ret %d"
47virtio_blk_handle_write(void *vdev, void *req, uint64_t sector, size_t nsectors) "vdev %p req %p sector %"PRIu64" nsectors %zu"
48virtio_blk_handle_read(void *vdev, void *req, uint64_t sector, size_t nsectors) "vdev %p req %p sector %"PRIu64" nsectors %zu"
49virtio_blk_submit_multireq(void *vdev, void *mrb, int start, int num_reqs, uint64_t offset, size_t size, bool is_write) "vdev %p mrb %p start %d num_reqs %d offset %"PRIu64" size %zu is_write %d"
50
51# hd-geometry.c
52hd_geometry_lchs_guess(void *blk, int cyls, int heads, int secs) "blk %p LCHS %d %d %d"
53hd_geometry_guess(void *blk, uint32_t cyls, uint32_t heads, uint32_t secs, int trans) "blk %p CHS %u %u %u trans %d"
54
55# xen-block.c
56xen_block_realize(const char *type, uint32_t disk, uint32_t partition) "%s d%up%u"
57xen_block_connect(const char *type, uint32_t disk, uint32_t partition) "%s d%up%u"
58xen_block_disconnect(const char *type, uint32_t disk, uint32_t partition) "%s d%up%u"
59xen_block_unrealize(const char *type, uint32_t disk, uint32_t partition) "%s d%up%u"
60xen_block_size(const char *type, uint32_t disk, uint32_t partition, int64_t sectors) "%s d%up%u %"PRIi64
61xen_disk_realize(void) ""
62xen_disk_unrealize(void) ""
63xen_cdrom_realize(void) ""
64xen_cdrom_unrealize(void) ""
65xen_block_blockdev_add(char *str) "%s"
66xen_block_blockdev_del(const char *node_name) "%s"
67xen_block_device_create(unsigned int number) "%u"
68xen_block_device_destroy(unsigned int number) "%u"
69
70# m25p80.c
71m25p80_flash_erase(void *s, int offset, uint32_t len) "[%p] offset = 0x%"PRIx32", len = %u"
72m25p80_programming_zero_to_one(void *s, uint32_t addr, uint8_t prev, uint8_t data) "[%p] programming zero to one! addr=0x%"PRIx32"  0x%"PRIx8" -> 0x%"PRIx8
73m25p80_reset_done(void *s) "[%p] Reset done."
74m25p80_command_decoded(void *s, uint32_t cmd) "[%p] new command:0x%"PRIx32
75m25p80_complete_collecting(void *s, uint32_t cmd, int n, uint8_t ear, uint32_t cur_addr) "[%p] decode cmd: 0x%"PRIx32" len %d ear 0x%"PRIx8" addr 0x%"PRIx32
76m25p80_populated_jedec(void *s) "[%p] populated jedec code"
77m25p80_chip_erase(void *s) "[%p] chip erase"
78m25p80_select(void *s, const char *what) "[%p] %sselect"
79m25p80_page_program(void *s, uint32_t addr, uint8_t tx) "[%p] page program cur_addr=0x%"PRIx32" data=0x%"PRIx8
80m25p80_transfer(void *s, uint8_t state, uint32_t len, uint8_t needed, uint32_t pos, uint32_t cur_addr, uint8_t t) "[%p] Transfer state 0x%"PRIx8" len 0x%"PRIx32" needed 0x%"PRIx8" pos 0x%"PRIx32" addr 0x%"PRIx32" tx 0x%"PRIx8
81m25p80_read_byte(void *s, uint32_t addr, uint8_t v) "[%p] Read byte 0x%"PRIx32"=0x%"PRIx8
82m25p80_read_data(void *s, uint32_t pos, uint8_t v) "[%p] Read data 0x%"PRIx32"=0x%"PRIx8
83m25p80_binding(void *s) "[%p] Binding to IF_MTD drive"
84m25p80_binding_no_bdrv(void *s) "[%p] No BDRV - binding to RAM"
85