Re: [PATCH 2/2] perf, tools: Don't force MetricExprs to lower case

From: Jiri Olsa
Date: Mon Oct 09 2017 - 10:43:28 EST


On Mon, Oct 09, 2017 at 07:07:29AM -0700, Andi Kleen wrote:

SNIP

> >
> > > The only real fix would be probably to add some unique
> > > prefix for BPF, but that would break all existing users.
> >
> >
> > yea, there was no response from bpf folks, but it's probably not an optio
> >
> > how about checking if the file exist like below..
>
> I presume that would interact badly with good error messages for typos
> for file names.

it'd misplaced them for event names.. maybe not big deal

jirka