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: https://git.lttng.org./?a=commitdiff_plain;h=9a5662f48d7cf84ec20bb5649b9e22463df285ca;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)