[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1341913952.3462.106.camel@twins>
Date: Tue, 10 Jul 2012 11:52:32 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: mingo@...nel.org, hpa@...or.com, eranian@...gle.com,
linux-kernel@...r.kernel.org, fweisbec@...il.com,
akpm@...ux-foundation.org, tglx@...utronix.de,
linux-tip-commits@...r.kernel.org,
Robert Richter <robert.richter@....com>
Subject: Re: [tip:perf/core] perf/x86: Fix USER/KERNEL tagging of samples
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists