aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/trace.c
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@citrix.com>2012-10-03 11:11:35 +0100
committerDavid Vrabel <david.vrabel@citrix.com>2012-10-03 11:11:35 +0100
commitcaf512bef7b2801c7f11c924b9bdfb8c0840fbe2 (patch)
tree2779aa6b25e6005c8f8761d30af3d4404bde1160 /xen/arch/x86/trace.c
parent86b35acb001f977eb1f82df6c07edaef173f4232 (diff)
downloadxen-caf512bef7b2801c7f11c924b9bdfb8c0840fbe2.tar.gz
xen-caf512bef7b2801c7f11c924b9bdfb8c0840fbe2.tar.bz2
xen-caf512bef7b2801c7f11c924b9bdfb8c0840fbe2.zip
trace: trace hypercalls inside a multicall
Add a trace record for every hypercall inside a multicall. These use a new event ID (with a different sub-class ) so they may be filtered out if only the calls into hypervisor are of interest. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Acked-by: George Dunlap <george.dunlap@citrix.com> Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/trace.c')
-rw-r--r--xen/arch/x86/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/trace.c b/xen/arch/x86/trace.c
index f2c75bca05..982ca88945 100644
--- a/xen/arch/x86/trace.c
+++ b/xen/arch/x86/trace.c
@@ -30,7 +30,7 @@ void trace_hypercall(void)
args[5] = regs->r9;
}
- __trace_hypercall(regs->eax, args);
+ __trace_hypercall(TRC_PV_HYPERCALL_V2, regs->eax, args);
}
void __trace_pv_trap(int trapnr, unsigned long eip,