xref: /openbmc/qemu/hw/block/trace-events (revision 91e11db7)
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_zone_report_complete(void *vdev, void *req, unsigned int nr_zones, int ret) "vdev %p req %p nr_zones %u ret %d"
48virtio_blk_zone_mgmt_complete(void *vdev, void *req, int ret) "vdev %p req %p ret %d"
49virtio_blk_zone_append_complete(void *vdev, void *req, int64_t sector, int ret) "vdev %p req %p, append sector 0x%" PRIx64 " ret %d"
50virtio_blk_handle_write(void *vdev, void *req, uint64_t sector, size_t nsectors) "vdev %p req %p sector %"PRIu64" nsectors %zu"
51virtio_blk_handle_read(void *vdev, void *req, uint64_t sector, size_t nsectors) "vdev %p req %p sector %"PRIu64" nsectors %zu"
52virtio_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"
53virtio_blk_handle_zone_report(void *vdev, void *req, int64_t sector, unsigned int nr_zones) "vdev %p req %p sector 0x%" PRIx64 " nr_zones %u"
54virtio_blk_handle_zone_mgmt(void *vdev, void *req, uint8_t op, int64_t sector, int64_t len) "vdev %p req %p op 0x%x sector 0x%" PRIx64 " len 0x%" PRIx64 ""
55virtio_blk_handle_zone_reset_all(void *vdev, void *req, int64_t sector, int64_t len) "vdev %p req %p sector 0x%" PRIx64 " cap 0x%" PRIx64 ""
56virtio_blk_handle_zone_append(void *vdev, void *req, int64_t sector) "vdev %p req %p, append sector 0x%" PRIx64 ""
57
58# hd-geometry.c
59hd_geometry_lchs_guess(void *blk, int cyls, int heads, int secs) "blk %p LCHS %d %d %d"
60hd_geometry_guess(void *blk, uint32_t cyls, uint32_t heads, uint32_t secs, int trans) "blk %p CHS %u %u %u trans %d"
61
62# xen-block.c
63xen_block_realize(const char *type, uint32_t disk, uint32_t partition) "%s d%up%u"
64xen_block_connect(const char *type, uint32_t disk, uint32_t partition) "%s d%up%u"
65xen_block_disconnect(const char *type, uint32_t disk, uint32_t partition) "%s d%up%u"
66xen_block_unrealize(const char *type, uint32_t disk, uint32_t partition) "%s d%up%u"
67xen_block_size(const char *type, uint32_t disk, uint32_t partition, int64_t sectors) "%s d%up%u %"PRIi64
68xen_disk_realize(void) ""
69xen_disk_unrealize(void) ""
70xen_cdrom_realize(void) ""
71xen_cdrom_unrealize(void) ""
72xen_block_blockdev_add(char *str) "%s"
73xen_block_blockdev_del(const char *node_name) "%s"
74xen_block_device_create(unsigned int number) "%u"
75xen_block_device_destroy(unsigned int number) "%u"
76
77# m25p80.c
78m25p80_flash_erase(void *s, int offset, uint32_t len) "[%p] offset = 0x%"PRIx32", len = %u"
79m25p80_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
80m25p80_reset_done(void *s) "[%p] Reset done."
81m25p80_command_decoded(void *s, uint32_t cmd) "[%p] new command:0x%"PRIx32
82m25p80_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
83m25p80_populated_jedec(void *s) "[%p] populated jedec code"
84m25p80_chip_erase(void *s) "[%p] chip erase"
85m25p80_select(void *s, const char *what) "[%p] %sselect"
86m25p80_page_program(void *s, uint32_t addr, uint8_t tx) "[%p] page program cur_addr=0x%"PRIx32" data=0x%"PRIx8
87m25p80_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
88m25p80_read_byte(void *s, uint32_t addr, uint8_t v) "[%p] Read byte 0x%"PRIx32"=0x%"PRIx8
89m25p80_read_data(void *s, uint32_t pos, uint8_t v) "[%p] Read data 0x%"PRIx32"=0x%"PRIx8
90m25p80_read_sfdp(void *s, uint32_t addr, uint8_t v) "[%p] Read SFDP 0x%"PRIx32"=0x%"PRIx8
91m25p80_binding(void *s) "[%p] Binding to IF_MTD drive"
92m25p80_binding_no_bdrv(void *s) "[%p] No BDRV - binding to RAM"
93
94# swim.c
95swim_ismctrl_read(int reg, const char *name, unsigned size, uint64_t value) "reg=%d [%s] size=%u value=0x%"PRIx64
96swim_ismctrl_write(int reg, const char *name, unsigned size, uint64_t value) "reg=%d [%s] size=%u value=0x%"PRIx64
97swim_iwmctrl_read(int reg, const char *name, unsigned size, uint64_t value) "reg=%d [%s] size=%u value=0x%"PRIx64
98swim_iwmctrl_write(int reg, const char *name, unsigned size, uint64_t value) "reg=%d [%s] size=%u value=0x%"PRIx64
99swim_switch_to_ism(void) "switch from IWM to ISM mode"
100swim_switch_to_iwm(void) "switch from ISM to IWM mode"
101