summaryrefslogtreecommitdiff
path: root/qemu-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-file.c')
-rw-r--r--qemu-file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-file.c b/qemu-file.c
index e5ec798e0b..8d5f45dcb0 100644
--- a/qemu-file.c
+++ b/qemu-file.c
@@ -4,6 +4,7 @@
#include "block/coroutine.h"
#include "migration/migration.h"
#include "migration/qemu-file.h"
+#include "trace.h"
#define IO_BUF_SIZE 32768
#define MAX_IOV_SIZE MIN(IOV_MAX, 64)
@@ -595,6 +596,7 @@ int qemu_fclose(QEMUFile *f)
ret = f->last_error;
}
g_free(f);
+ trace_qemu_file_fclose();
return ret;
}