qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH resend] Add missing trace call to oslib-posix.c:qemu_vmalloc()
@ 2011-07-25 15:13 Jes.Sorensen
  2011-07-25 15:25 ` Stefan Hajnoczi
  2011-07-29 14:36 ` Anthony Liguori
  0 siblings, 2 replies; 3+ messages in thread
From: Jes.Sorensen @ 2011-07-25 15:13 UTC (permalink / raw)
  To: qemu-devel; +Cc: stefanha

From: Jes Sorensen <Jes.Sorensen@redhat.com>

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
---
 oslib-posix.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/oslib-posix.c b/oslib-posix.c
index 3a18e86..196099c 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)
-- 
1.7.4.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-29 14:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-25 15:13 [Qemu-devel] [PATCH resend] Add missing trace call to oslib-posix.c:qemu_vmalloc() Jes.Sorensen
2011-07-25 15:25 ` Stefan Hajnoczi
2011-07-29 14:36 ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).