]> git.proxmox.com Git - mirror_qemu.git/blobdiff - balloon.c
trace: Trace entry point of balloon request handler
[mirror_qemu.git] / balloon.c
index 8e0b7f18de288e3f219099a0d263c01c3e737aa5..0021fef4b83182c0e113f3f1b6e87138ac010e8f 100644 (file)
--- 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 {