mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 19:18:23 +00:00
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>
This commit is contained in:
committed by
Anthony Liguori
parent
33fa8234c3
commit
c7f4111a06
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user