trace: split out trace events for util/ directory
Move all trace-events for files in the util/ directory to their own file. Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Message-id: 1466066426-16657-3-git-send-email-berrange@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
1412cf58be
commit
492bb2dd65
@ -119,3 +119,4 @@ ivshmem-server-obj-y = contrib/ivshmem-server/
|
||||
|
||||
######################################################################
|
||||
trace-events-y = trace-events
|
||||
trace-events-y += util/trace-events
|
||||
|
12
trace-events
12
trace-events
@ -25,13 +25,6 @@
|
||||
#
|
||||
# The <format-string> should be a sprintf()-compatible format string.
|
||||
|
||||
# util/oslib-win32.c
|
||||
# util/oslib-posix.c
|
||||
qemu_memalign(size_t alignment, size_t size, void *ptr) "alignment %zu size %zu ptr %p"
|
||||
qemu_anon_ram_alloc(size_t size, void *ptr) "size %zu ptr %p"
|
||||
qemu_vfree(void *ptr) "ptr %p"
|
||||
qemu_anon_ram_free(void *ptr, size_t size) "ptr %p size %zu"
|
||||
|
||||
# hw/virtio/virtio.c
|
||||
virtqueue_fill(void *vq, const void *elem, unsigned int len, unsigned int idx) "vq %p elem %p len %u idx %u"
|
||||
virtqueue_flush(void *vq, unsigned int count) "vq %p count %u"
|
||||
@ -1449,11 +1442,6 @@ buffer_move_empty(const char *buf, size_t len, const char *from) "%s: %zd bytes
|
||||
buffer_move(const char *buf, size_t len, const char *from) "%s: %zd bytes from %s"
|
||||
buffer_free(const char *buf, size_t len) "%s: capacity %zd"
|
||||
|
||||
# util/hbitmap.c
|
||||
hbitmap_iter_skip_words(const void *hb, void *hbi, uint64_t pos, unsigned long cur) "hb %p hbi %p pos %"PRId64" cur 0x%lx"
|
||||
hbitmap_reset(void *hb, uint64_t start, uint64_t count, uint64_t sbit, uint64_t ebit) "hb %p items %"PRIu64",%"PRIu64" bits %"PRIu64"..%"PRIu64
|
||||
hbitmap_set(void *hb, uint64_t start, uint64_t count, uint64_t sbit, uint64_t ebit) "hb %p items %"PRIu64",%"PRIu64" bits %"PRIu64"..%"PRIu64
|
||||
|
||||
# target-s390x/mmu_helper.c
|
||||
get_skeys_nonzero(int rc) "SKEY: Call to get_skeys unexpectedly returned %d"
|
||||
set_skeys_nonzero(int rc) "SKEY: Call to set_skeys unexpectedly returned %d"
|
||||
|
13
util/trace-events
Normal file
13
util/trace-events
Normal file
@ -0,0 +1,13 @@
|
||||
# See docs/trace-events.txt for syntax documentation.
|
||||
|
||||
# util/oslib-win32.c
|
||||
# util/oslib-posix.c
|
||||
qemu_memalign(size_t alignment, size_t size, void *ptr) "alignment %zu size %zu ptr %p"
|
||||
qemu_anon_ram_alloc(size_t size, void *ptr) "size %zu ptr %p"
|
||||
qemu_vfree(void *ptr) "ptr %p"
|
||||
qemu_anon_ram_free(void *ptr, size_t size) "ptr %p size %zu"
|
||||
|
||||
# util/hbitmap.c
|
||||
hbitmap_iter_skip_words(const void *hb, void *hbi, uint64_t pos, unsigned long cur) "hb %p hbi %p pos %"PRId64" cur 0x%lx"
|
||||
hbitmap_reset(void *hb, uint64_t start, uint64_t count, uint64_t sbit, uint64_t ebit) "hb %p items %"PRIu64",%"PRIu64" bits %"PRIu64"..%"PRIu64
|
||||
hbitmap_set(void *hb, uint64_t start, uint64_t count, uint64_t sbit, uint64_t ebit) "hb %p items %"PRIu64",%"PRIu64" bits %"PRIu64"..%"PRIu64
|
Loading…
Reference in New Issue
Block a user