1 #include <linux/ftrace.h>
3 #define N(x) [__HYPERVISOR_##x] = "("#x")"
4 static const char *xen_hypercall_names
[] = {
20 N(event_channel_op_compat
),
26 N(update_va_mapping_otherdomain
),
40 /* Architecture-specific hypercall definitions. */
52 static const char *xen_hypercall_name(unsigned op
)
54 if (op
< ARRAY_SIZE(xen_hypercall_names
) && xen_hypercall_names
[op
] != NULL
)
55 return xen_hypercall_names
[op
];
60 #define CREATE_TRACE_POINTS
61 #include <trace/events/xen.h>