aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/trace.h
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/include/xen/trace.h
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/include/xen/trace.h')
-rw-r--r--xen/include/xen/trace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/include/xen/trace.h b/xen/include/xen/trace.h
index f601aebbea..3b8a7b39da 100644
--- a/xen/include/xen/trace.h
+++ b/xen/include/xen/trace.h
@@ -44,7 +44,8 @@ static inline void trace_var(u32 event, int cycles, int extra,
__trace_var(event, cycles, extra, extra_data);
}
-void __trace_hypercall(unsigned long call, const unsigned long *args);
+void __trace_hypercall(uint32_t event, unsigned long op,
+ const unsigned long *args);
/* Convenience macros for calling the trace function. */
#define TRACE_0D(_e) \