Re: KVM PMU virtualization

Peter Zijlstra
2010-03-03T10:15:25Z

On Wed, 2010-03-03 at 17:27 +0800, Zhang, Yanmin wrote:
> -#ifndef perf_misc_flags
> -#define perf_misc_flags(regs) (user_mode(regs) ? PERF_RECORD_MISC_USER : \
> - PERF_RECORD_MISC_KERNEL)
> -#define perf_instruction_pointer(regs) instruction_pointer(regs)
> -#endif

Ah, that #ifndef is for powerpc, which I think you just broke.