summaryrefslogtreecommitdiffstats
path: root/trace-events
diff options
context:
space:
mode:
authorStefan Hajnoczi2010-11-16 13:20:25 +0100
committerAnthony Liguori2010-11-21 16:16:57 +0100
commit94b0b5ff5f5c3ab946fa926d464738edb3713ed4 (patch)
treead036f244c901516dbd3940d25b32c5834903160 /trace-events
parentvirtfs: enable MSI-X (diff)
downloadqemu-94b0b5ff5f5c3ab946fa926d464738edb3713ed4.tar.gz
qemu-94b0b5ff5f5c3ab946fa926d464738edb3713ed4.tar.xz
qemu-94b0b5ff5f5c3ab946fa926d464738edb3713ed4.zip
trace: Trace vm_start()/vm_stop()
VM state change notifications are invoked from vm_start()/vm_stop(). Trace these state changes so we can reason about the state of the VM from trace output. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events3
1 files changed, 3 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index 947f8b08cb..da03d4be12 100644
--- a/trace-events
+++ b/trace-events
@@ -189,3 +189,6 @@ disable sun4m_iommu_mem_writel_pgflush(uint32_t val) "page flush %x"
disable sun4m_iommu_page_get_flags(uint64_t pa, uint64_t iopte, uint32_t ret) "get flags addr %"PRIx64" => pte %"PRIx64", *pte = %x"
disable sun4m_iommu_translate_pa(uint64_t addr, uint64_t pa, uint32_t iopte) "xlate dva %"PRIx64" => pa %"PRIx64" iopte = %x"
disable sun4m_iommu_bad_addr(uint64_t addr) "bad addr %"PRIx64""
+
+# vl.c
+disable vm_state_notify(int running, int reason) "running %d reason %d"