* Liu, Eric E ([EMAIL PROTECTED]) wrote: > +#ifdef CONFIG_KVM_TRACE > +#define KVMTRACE_ND(evt, vcpu, cycles, count, d1, d2, d3, d4) > \ > + do { > \ > + if (unlikely(kvm_trace_enable_flag)) { > \ > + if (KVM_TRC_##evt == KVM_TRC_VMEXIT || > \ > + KVM_TRC_##evt == KVM_TRC_PAGE_FAULT) { > \ > + struct { > \ > + u32 pid:16, vid:16; > \ > + u32 data1; > \ > + unsigned long data2; > \ > + } _d; > \ > + _d.pid = (u16)current->tgid; > \ > + _d.vid = (vcpu)->vcpu_id; > \ > + _d.data1 = d1; > \ > + _d.data2 = d2; > \ > + kvm_trace_var(KVM_TRC_ ## evt, cycles,
BTW, this appears to break bisectability of the series, since kvm_trace_var doesn't exist until next patch. thanks, -chris ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel