Re: [tip:perf/core] perf/x86: Fix USER/KERNEL tagging of samples
From: Peter Zijlstra
Date: Tue Jul 10 2012 - 05:52:36 EST
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/