summaryrefslogtreecommitdiff
path: root/balloon.c
diff options
context:
space:
mode:
authorPrerna Saxena <prerna@linux.vnet.ibm.com>2010-08-11 17:16:03 +0530
committerAnthony Liguori <aliguori@us.ibm.com>2010-09-09 16:22:45 -0500
commit62dd89dea25b08796fcb83beeac3aea5f5a89c95 (patch)
treefe93f6c398ba4518ae0ff8274742c97a81cbd7c0 /balloon.c
parentbd3c9aa5319ba2656a0dd8faae2c68b7feb39d1c (diff)
trace: Trace entry point of balloon request handler
Signed-off-by: Prerna Saxena <prerna@linux.vnet.ibm.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'balloon.c')
-rw-r--r--balloon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/balloon.c b/balloon.c
index 8e0b7f18de..0021fef4b8 100644
--- a/balloon.c
+++ b/balloon.c
@@ -29,6 +29,7 @@
#include "cpu-common.h"
#include "kvm.h"
#include "balloon.h"
+#include "trace.h"
static QEMUBalloonEvent *qemu_balloon_event;
@@ -43,6 +44,7 @@ void qemu_add_balloon_handler(QEMUBalloonEvent *func, void *opaque)
int qemu_balloon(ram_addr_t target, MonitorCompletion cb, void *opaque)
{
if (qemu_balloon_event) {
+ trace_balloon_event(qemu_balloon_event_opaque, target);
qemu_balloon_event(qemu_balloon_event_opaque, target, cb, opaque);
return 1;
} else {