From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934312AbbHKNk3 (ORCPT ); Tue, 11 Aug 2015 09:40:29 -0400 Received: from mga14.intel.com ([192.55.52.115]:39480 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934066AbbHKNk2 (ORCPT ); Tue, 11 Aug 2015 09:40:28 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,653,1432623600"; d="scan'208";a="781255540" Date: Tue, 11 Aug 2015 06:40:27 -0700 From: Andi Kleen To: Jiri Olsa Cc: Andi Kleen , acme@kernel.org, jolsa@kernel.org, linux-kernel@vger.kernel.org, eranian@google.com, namhyung@kernel.org, peterz@infradead.org, mingo@kernel.org Subject: Re: [PATCH 1/9] perf, tools: Dont stop PMU parsing on alias parse error Message-ID: <20150811134027.GE4524@tassilo.jf.intel.com> References: <1438995985-13631-1-git-send-email-andi@firstfloor.org> <1438995985-13631-2-git-send-email-andi@firstfloor.org> <20150811130736.GA1942@krava.brq.redhat.com> <20150811131457.GA4524@tassilo.jf.intel.com> <20150811132427.GA10703@krava.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150811132427.GA10703@krava.brq.redhat.com> 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 Tue, Aug 11, 2015 at 03:24:27PM +0200, Jiri Olsa wrote: > On Tue, Aug 11, 2015 at 06:14:57AM -0700, Andi Kleen wrote: > > > Which attribute parsing is failing for you? > > > > The new .agg-per-core attribute I added later in the series. > > I think it will happen to any not-yet-known attribute. > > alias can contain only terms defined in formats directory, > and the *.XXX attributes parsing does not return error code > > can't see the failure, please get some example Apply the kernel patch that adds several .agg-per-core attributes Then try to use any cpu/.../ event % perf stat -e cpu/event=0x3c/ true invalid or unsupported event: 'cpu/event=0x3c/' because the PMU parsing bailed out. With patched perf (either this patch or the patch that adds the .agg-per-core parsing) it works. -Andi