[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171207175529.GI3173@kernel.org>
Date: Thu, 7 Dec 2017 14:55:29 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Paul Clarke <pc@...ibm.com>
Cc: Masami Hiramatsu <mhiramat@...nel.org>,
bhargavb <bhargavaramudu@...il.com>,
linux-kernel@...r.kernel.org,
Ravi Bangoria <ravi.bangoria@...ux.vnet.ibm.com>,
linux-rt-users@...r.kernel.org, linux-perf-users@...r.kernel.org
Subject: Re: [PATCH v2 2/5] perf-probe: Cut off the version suffix from event
name
Em Thu, Dec 07, 2017 at 11:24:47AM -0600, Paul Clarke escreveu:
> On 12/07/2017 10:56 AM, Arnaldo Carvalho de Melo wrote:
> > Em Thu, Dec 07, 2017 at 04:20:28PM +0900, Masami Hiramatsu escreveu:
> > See also Paul Clarke's question and suggestion, which I agree, i.e.
> > instead of chopping off the version, just replace the chars with valid
> > ones or better, do what Paul suggests, be more flexible in interpreting
> > @, i.e. if it is a number and/or fails to point to any file, interpret
> > it as versioning.
> It's a nit, and subjective, but I'd favor checking for versioning
> first, then file. The namespaces are very unlikely to intersect, but
> I could foresee symbols like "sym@...lA.c" and "sym@...lB.c" more
> likely than a symbol in a file "GLIBC_2.2.5".
> Perhaps straying toward bikeshedding...
Nah, those are valid concerns, and I share them.
- Arnaldo
Powered by blists - more mailing lists