From: Mathieu Desnoyers Date: Wed, 16 Mar 2011 23:02:05 +0000 (-0400) Subject: kvm-trace: fix warning (probe prototype mismatch) X-Git-Tag: v0.19.8 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=9a5662f48d7cf84ec20bb5649b9e22463df285ca;hp=0bc7b65420e79fa789f62b1f21ebbee787d7a29f;p=lttng-modules.git kvm-trace: fix warning (probe prototype mismatch) Signed-off-by: Mathieu Desnoyers --- diff --git a/probes/kvm-trace.c b/probes/kvm-trace.c index 9a85f924..b611efcc 100644 --- a/probes/kvm-trace.c +++ b/probes/kvm-trace.c @@ -59,12 +59,12 @@ void probe_kvm_apic (void *_data, unsigned int rw, unsigned int reg, reg, val); } -void probe_kvm_exit(void *_data, unsigned int exit_reason, struct kvm_vcpu *vcpu) +void probe_kvm_exit(void *_data, unsigned int exit_reason, struct kvm_vcpu *vcpu, u32 isa) { trace_mark_tp(kvm, kvm_exit, kvm_exit, probe_kvm_exit, - "reason %d", - exit_reason); + "reason %d isa %u", + exit_reason, (unsigned int)isa); } void probe_kvm_inj_virq(void *_data, unsigned int irq)