aboutsummaryrefslogtreecommitdiff
path: root/trace-events
diff options
context:
space:
mode:
authorFrediano Ziglio <freddy77@gmail.com>2011-08-31 09:25:35 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-09-02 10:35:41 -0500
commita74cd8cc37896402a1793217d5059a0b0489155a (patch)
treeeed91e91e08c4afa16f882168c492ab9b470611a /trace-events
parent1901cb14edb6b6d4c20986a77b2fcff67bd19755 (diff)
rename qemu_malloc and related to glib names for coherence
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Frediano Ziglio <freddy77@gmail.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events8
1 files changed, 4 insertions, 4 deletions
diff --git a/trace-events b/trace-events
index 98f3ec2841..08ffedfdd1 100644
--- a/trace-events
+++ b/trace-events
@@ -14,7 +14,7 @@
#
# [disable] <name>(<type1> <arg1>[, <type2> <arg2>] ...) "<format-string>"
#
-# Example: qemu_malloc(size_t size) "size %zu"
+# Example: g_malloc(size_t size) "size %zu"
#
# The "disable" keyword will build without the trace event.
#
@@ -26,9 +26,9 @@
# The <format-string> should be a sprintf()-compatible format string.
# qemu-malloc.c
-qemu_malloc(size_t size, void *ptr) "size %zu ptr %p"
-qemu_realloc(void *ptr, size_t size, void *newptr) "ptr %p size %zu newptr %p"
-qemu_free(void *ptr) "ptr %p"
+g_malloc(size_t size, void *ptr) "size %zu ptr %p"
+g_realloc(void *ptr, size_t size, void *newptr) "ptr %p size %zu newptr %p"
+g_free(void *ptr) "ptr %p"
# osdep.c
qemu_memalign(size_t alignment, size_t size, void *ptr) "alignment %zu size %zu ptr %p"