Re: [PATCH 01/23] perf record: Add --all-user/--all-kernel options

From: Andi Kleen
Date: Wed Feb 17 2016 - 10:31:39 EST


On Wed, Feb 17, 2016 at 11:26:16AM -0300, Arnaldo Carvalho de Melo wrote:
> Em Tue, Feb 16, 2016 at 07:10:37PM -0800, Andi Kleen escreveu:
> > > Need to investigate why there are kernel samples when --all-user is used and
> > > the other way around as well.
>
> > This is a known issue due to skid. PEBS usually avoids it.
>
> Right, thanks for pointing this out, we have to detect that :p is not
> being used and warn the user about this possibility, i.e. user asks for
> just kernel samples, tool finds user samples, tell that using :p+ may
> help.

If you're really so worried about it the kernel driver could filter it.

-Andi