@@ -113,12 +113,13 @@ TRACE_EVENT(kvm_hv_hypercall_done,
113
113
* Tracepoint for Xen hypercall.
114
114
*/
115
115
TRACE_EVENT (kvm_xen_hypercall ,
116
- TP_PROTO ( unsigned long nr , unsigned long a0 , unsigned long a1 ,
117
- unsigned long a2 , unsigned long a3 , unsigned long a4 ,
118
- unsigned long a5 ),
119
- TP_ARGS (nr , a0 , a1 , a2 , a3 , a4 , a5 ),
116
+ TP_PROTO ( u8 cpl , unsigned long nr ,
117
+ unsigned long a0 , unsigned long a1 , unsigned long a2 ,
118
+ unsigned long a3 , unsigned long a4 , unsigned long a5 ),
119
+ TP_ARGS (cpl , nr , a0 , a1 , a2 , a3 , a4 , a5 ),
120
120
121
121
TP_STRUCT__entry (
122
+ __field (u8 , cpl )
122
123
__field (unsigned long , nr )
123
124
__field (unsigned long , a0 )
124
125
__field (unsigned long , a1 )
@@ -129,6 +130,7 @@ TRACE_EVENT(kvm_xen_hypercall,
129
130
),
130
131
131
132
TP_fast_assign (
133
+ __entry -> cpl = cpl ;
132
134
__entry -> nr = nr ;
133
135
__entry -> a0 = a0 ;
134
136
__entry -> a1 = a1 ;
@@ -138,8 +140,9 @@ TRACE_EVENT(kvm_xen_hypercall,
138
140
__entry -> a4 = a5 ;
139
141
),
140
142
141
- TP_printk ("nr 0x%lx a0 0x%lx a1 0x%lx a2 0x%lx a3 0x%lx a4 0x%lx a5 %lx" ,
142
- __entry -> nr , __entry -> a0 , __entry -> a1 , __entry -> a2 ,
143
+ TP_printk ("cpl %d nr 0x%lx a0 0x%lx a1 0x%lx a2 0x%lx a3 0x%lx a4 0x%lx a5 %lx" ,
144
+ __entry -> cpl , __entry -> nr ,
145
+ __entry -> a0 , __entry -> a1 , __entry -> a2 ,
143
146
__entry -> a3 , __entry -> a4 , __entry -> a5 )
144
147
);
145
148
0 commit comments