aboutsummaryrefslogtreecommitdiff
path: root/oslib-posix.c
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2011-07-25 17:13:36 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-07-29 09:33:48 -0500
commitc7f4111a06208b46c6d05934d2a1e5cfbebc0180 (patch)
tree83ff7ba2d4ebea86ca964de13113da26ee001fc4 /oslib-posix.c
parent33fa8234c3d642317583c992b7fdc67ce7fdd1b5 (diff)
Add missing trace call to oslib-posix.c:qemu_vmalloc()
Acked-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'oslib-posix.c')
-rw-r--r--oslib-posix.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/oslib-posix.c b/oslib-posix.c
index 3a18e865f3..196099cc77 100644
--- a/oslib-posix.c
+++ b/oslib-posix.c
@@ -79,7 +79,10 @@ void *qemu_memalign(size_t alignment, size_t size)
/* alloc shared memory pages */
void *qemu_vmalloc(size_t size)
{
- return qemu_memalign(getpagesize(), size);
+ void *ptr;
+ ptr = qemu_memalign(getpagesize(), size);
+ trace_qemu_vmalloc(size, ptr);
+ return ptr;
}
void qemu_vfree(void *ptr)