diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2011-07-25 17:13:36 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-07-29 09:33:48 -0500 |
commit | c7f4111a06208b46c6d05934d2a1e5cfbebc0180 (patch) | |
tree | 83ff7ba2d4ebea86ca964de13113da26ee001fc4 /oslib-posix.c | |
parent | 33fa8234c3d642317583c992b7fdc67ce7fdd1b5 (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.c | 5 |
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) |