From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423878AbcBQPbh (ORCPT ); Wed, 17 Feb 2016 10:31:37 -0500 Received: from mga14.intel.com ([192.55.52.115]:65089 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423845AbcBQPbf (ORCPT ); Wed, 17 Feb 2016 10:31:35 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,461,1449561600"; d="scan'208";a="917394435" Date: Wed, 17 Feb 2016 07:31:07 -0800 From: Andi Kleen To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , lkml , David Ahern , Ingo Molnar , Namhyung Kim , Peter Zijlstra , Stephane Eranian Subject: Re: [PATCH 01/23] perf record: Add --all-user/--all-kernel options Message-ID: <20160217153107.GB11236@tassilo.jf.intel.com> References: <1455525293-8671-1-git-send-email-jolsa@kernel.org> <1455525293-8671-2-git-send-email-jolsa@kernel.org> <20160216165601.GF17690@kernel.org> <20160217031037.GA11236@tassilo.jf.intel.com> <20160217142616.GB15386@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160217142616.GB15386@kernel.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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