From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755264AbeARRG3 (ORCPT ); Thu, 18 Jan 2018 12:06:29 -0500 Received: from foss.arm.com ([217.140.101.70]:58598 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754909AbeARRG2 (ORCPT ); Thu, 18 Jan 2018 12:06:28 -0500 Date: Thu, 18 Jan 2018 17:06:33 +0000 From: Will Deacon To: Mathieu Poirier Cc: Alexander Shishkin , Peter Zijlstra , Ingo Molnar , "linux-kernel@vger.kernel.org" , Vince Weaver , Stephane Eranian , Arnaldo Carvalho de Melo , Mark Rutland Subject: Re: [PATCH 1/3] perf, pt, coresight: Clean up address filter structure Message-ID: <20180118170633.GG12394@arm.com> References: <20170126094057.13805-2-alexander.shishkin@linux.intel.com> <20170126182645.GA1991@linaro.org> <87h94kbt29.fsf@ashishki-desk.ger.corp.intel.com> <87wpda9iyv.fsf@ashishki-desk.ger.corp.intel.com> <87d1f0a7g9.fsf@ashishki-desk.ger.corp.intel.com> <20180117123137.3hlmudzu5eogl53n@ukko.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 18, 2018 at 09:59:26AM -0700, Mathieu Poirier wrote: > On 17 January 2018 at 05:31, Alexander Shishkin > wrote: > > On Tue, Feb 07, 2017 at 10:50:50AM -0700, Mathieu Poirier wrote: > >> > index 39106ae61b..d7a11faac1 100644 > >> > --- a/kernel/events/core.c > >> > +++ b/kernel/events/core.c > >> > @@ -8194,7 +8194,8 @@ static void perf_event_addr_filters_apply(struct perf_event *event) > >> > * * for kernel addresses: [/] > >> > * * for object files: [/]@ > >> > * > >> > - * if is not specified, the range is treated as a single address. > >> > + * if is not specified or is zero, the range is treated as a single > >> > + * address; not valid for ACTION=="filter". > >> > >> Now that a size of 0 can't be specified with a "filter" action, I'm > >> good with that statement. > > > > Hi Mathieu, I completely lost track of this. > > > > Following is the commit I found dangilng in one of my local branches. > > Does this make sense to you? Thanks! > > Oh boy! That's a whole year ago... Give me some time to wrap my > brain around it again. Do we need anything for SPE, or is this only applicable to certain types of tracing PMUs? Will