[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150811134027.GE4524@tassilo.jf.intel.com>
Date: Tue, 11 Aug 2015 06:40:27 -0700
From: Andi Kleen <ak@...ux.intel.com>
To: Jiri Olsa <jolsa@...hat.com>
Cc: Andi Kleen <andi@...stfloor.org>, acme@...nel.org,
jolsa@...nel.org, linux-kernel@...r.kernel.org, eranian@...gle.com,
namhyung@...nel.org, peterz@...radead.org, mingo@...nel.org
Subject: Re: [PATCH 1/9] perf, tools: Dont stop PMU parsing on alias parse
error
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
--
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