summaryrefslogtreecommitdiff
path: root/trace-events
diff options
context:
space:
mode:
authorzhanghailiang <zhang.zhanghailiang@huawei.com>2014-11-17 13:11:10 +0800
committerLuiz Capitulino <lcapitulino@redhat.com>2015-03-04 13:00:04 -0500
commit6adfdc5a6a4c2540a802e10fe0370d3ffb14487b (patch)
treeb2c8f229faf4ef6ed66b85c3b42c4a92173a86d9 /trace-events
parent463756d03164d640e3de00460488ba97302bf77e (diff)
downloadqemu-6adfdc5a6a4c2540a802e10fe0370d3ffb14487b.tar.gz
qemu-6adfdc5a6a4c2540a802e10fe0370d3ffb14487b.tar.bz2
qemu-6adfdc5a6a4c2540a802e10fe0370d3ffb14487b.zip
virtio-balloon: Add some trace events
Add some trace events for easier debugging Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events4
1 files changed, 4 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index f87b077805..65385f6570 100644
--- a/trace-events
+++ b/trace-events
@@ -143,6 +143,10 @@ cpu_out(unsigned int addr, unsigned int val) "addr %#x value %u"
# balloon.c
# Since requests are raised via monitor, not many tracepoints are needed.
balloon_event(void *opaque, unsigned long addr) "opaque %p addr %lu"
+virtio_balloon_handle_output(const char *name, uint64_t gpa) "setion name: %s gpa: %"PRIx64""
+virtio_balloon_get_config(uint32_t num_pages, uint32_t acutal) "num_pages: %d acutal: %d"
+virtio_balloon_set_config(uint32_t acutal, uint32_t oldacutal) "acutal: %d oldacutal: %d"
+virtio_balloon_to_target(uint64_t target, uint32_t num_pages) "balloon target: %"PRIx64" num_pages: %d"
# hw/intc/apic_common.c
cpu_set_apic_base(uint64_t val) "%016"PRIx64