1 #include <linux/ftrace.h>
2 #include <xen/interface/xen.h>
4 #define N(x) [__HYPERVISOR_##x] = "("#x")"
5 static const char *xen_hypercall_names[] = {
21 N(event_channel_op_compat),
27 N(update_va_mapping_otherdomain),
41 /* Architecture-specific hypercall definitions. */
53 static const char *xen_hypercall_name(unsigned op)
55 if (op < ARRAY_SIZE(xen_hypercall_names) && xen_hypercall_names[op] != NULL)
56 return xen_hypercall_names[op];
61 #define CREATE_TRACE_POINTS
62 #include <trace/events/xen.h>