Re: [tip:perf/core] perf/x86: Fix USER/KERNEL tagging of samples

Peter Zijlstra
2012-07-10T09:52:42Z

On Tue, 2012-07-10 at 11:50 +0200, Peter Zijlstra wrote:
> + if (regs->cs != __USER32_CS && regs->cs != __USER_CS)
> + return 0;
> +
> + if (regs->ss != __USER32_DS && regs->ss != __USER_DS)
> + return 0;

Those should be return 1, they are a 32bit callchain, we just don't do
anything with it.