mirror of
https://github.com/qemu/qemu.git
synced 2025-07-27 12:20:07 +00:00

In trace format '#' flag of printf is forbidden. Fix it to '0x%'. This patch is created by the following: check that we have a problem > find . -name trace-events | xargs grep '%#' | wc -l 56 check that there are no cases with additional printf flags before '#' > find . -name trace-events | xargs grep "%[-+ 0'I]+#" | wc -l 0 check that there are no wrong usage of '#' and '0x' together > find . -name trace-events | xargs grep '0x%#' | wc -l 0 fix the problem > find . -name trace-events | xargs sed -i 's/%#/0x%/g' [Eric Blake noted that xargs grep '%[-+ 0'I]+#' should be xargs grep "%[-+ 0'I]+#" instead so the shell quoting is correct. --Stefan] Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20170731160135.12101-3-vsementsov@virtuozzo.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
# See docs/devel/tracing.txt for syntax documentation.
|
|
|
|
# hw/input/ps2.c
|
|
ps2_put_keycode(void *opaque, int keycode) "%p keycode %d"
|
|
ps2_read_data(void *opaque) "%p"
|
|
ps2_set_ledstate(void *s, int ledstate) "%p ledstate %d"
|
|
ps2_reset_keyboard(void *s) "%p"
|
|
ps2_write_keyboard(void *opaque, int val) "%p val %d"
|
|
ps2_keyboard_set_translation(void *opaque, int mode) "%p mode %d"
|
|
ps2_mouse_send_packet(void *s, int dx1, int dy1, int dz1, int b) "%p x %d y %d z %d bs 0x%x"
|
|
ps2_mouse_fake_event(void *opaque) "%p"
|
|
ps2_write_mouse(void *opaque, int val) "%p val %d"
|
|
ps2_kbd_reset(void *opaque) "%p"
|
|
ps2_mouse_reset(void *opaque) "%p"
|
|
ps2_kbd_init(void *s) "%p"
|
|
ps2_mouse_init(void *s) "%p"
|
|
|
|
# hw/input/milkymist-softusb.c
|
|
milkymist_softusb_memory_read(uint32_t addr, uint32_t value) "addr %08x value %08x"
|
|
milkymist_softusb_memory_write(uint32_t addr, uint32_t value) "addr %08x value %08x"
|
|
milkymist_softusb_mevt(uint8_t m) "m %d"
|
|
milkymist_softusb_kevt(uint8_t m) "m %d"
|
|
milkymist_softusb_pulse_irq(void) "Pulse IRQ"
|
|
|
|
# hw/input/hid.c
|
|
hid_kbd_queue_full(void) "queue full"
|
|
hid_kbd_queue_empty(void) "queue empty"
|
|
|
|
# hw/input/virtio
|
|
virtio_input_queue_full(void) "queue full"
|