Re: [PATCH v4] tools/perf: Allow user probes on versioned symbols

2017-04-10 Thread Masami Hiramatsu
On Mon, 10 Apr 2017 09:53:48 -0500 Paul Clarke wrote: > >> diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h > >> index 5245d2f..bde2100 100644 > >> --- a/tools/perf/util/symbol.h > >> +++ b/tools/perf/util/symbol.h > >> @@ -348,8 +348,17 @@ void

Re: [PATCH v4] tools/perf: Allow user probes on versioned symbols

2017-04-10 Thread Masami Hiramatsu
On Mon, 10 Apr 2017 09:53:48 -0500 Paul Clarke wrote: > >> diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h > >> index 5245d2f..bde2100 100644 > >> --- a/tools/perf/util/symbol.h > >> +++ b/tools/perf/util/symbol.h > >> @@ -348,8 +348,17 @@ void arch__sym_update(struct symbol *s,

Re: [PATCH v4] tools/perf: Allow user probes on versioned symbols

2017-04-10 Thread Paul Clarke
On 04/10/2017 08:11 AM, Masami Hiramatsu wrote: On Wed, 5 Apr 2017 22:30:03 -0500 Paul Clarke wrote: Symbol versioning, as in glibc, results in symbols being defined as: @[@] (Note that "@@" identifies a default symbol, if the symbol name is repeated.) perf is currently

Re: [PATCH v4] tools/perf: Allow user probes on versioned symbols

2017-04-10 Thread Paul Clarke
On 04/10/2017 08:11 AM, Masami Hiramatsu wrote: On Wed, 5 Apr 2017 22:30:03 -0500 Paul Clarke wrote: Symbol versioning, as in glibc, results in symbols being defined as: @[@] (Note that "@@" identifies a default symbol, if the symbol name is repeated.) perf is currently unable to deal with

Re: [PATCH v4] tools/perf: Allow user probes on versioned symbols

2017-04-10 Thread Masami Hiramatsu
On Wed, 5 Apr 2017 22:30:03 -0500 Paul Clarke wrote: > Symbol versioning, as in glibc, results in symbols being defined as: > @[@] > (Note that "@@" identifies a default symbol, if the symbol name > is repeated.) > > perf is currently unable to deal with this, and is unable to

Re: [PATCH v4] tools/perf: Allow user probes on versioned symbols

2017-04-10 Thread Masami Hiramatsu
On Wed, 5 Apr 2017 22:30:03 -0500 Paul Clarke wrote: > Symbol versioning, as in glibc, results in symbols being defined as: > @[@] > (Note that "@@" identifies a default symbol, if the symbol name > is repeated.) > > perf is currently unable to deal with this, and is unable to create > user

Re: [PATCH v4] tools/perf: Allow user probes on versioned symbols

2017-04-06 Thread Paul Clarke
On 04/06/2017 09:36 AM, Arnaldo Carvalho de Melo wrote: Em Wed, Apr 05, 2017 at 10:30:03PM -0500, Paul Clarke escreveu: Symbol versioning, as in glibc, results in symbols being defined as: @[@] (Note that "@@" identifies a default symbol, if the symbol name is repeated.) perf is currently

Re: [PATCH v4] tools/perf: Allow user probes on versioned symbols

2017-04-06 Thread Paul Clarke
On 04/06/2017 09:36 AM, Arnaldo Carvalho de Melo wrote: Em Wed, Apr 05, 2017 at 10:30:03PM -0500, Paul Clarke escreveu: Symbol versioning, as in glibc, results in symbols being defined as: @[@] (Note that "@@" identifies a default symbol, if the symbol name is repeated.) perf is currently

Re: [PATCH v4] tools/perf: Allow user probes on versioned symbols

2017-04-06 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 05, 2017 at 10:30:03PM -0500, Paul Clarke escreveu: > Symbol versioning, as in glibc, results in symbols being defined as: > @[@] > (Note that "@@" identifies a default symbol, if the symbol name > is repeated.) > > perf is currently unable to deal with this, and is unable to create >

Re: [PATCH v4] tools/perf: Allow user probes on versioned symbols

2017-04-06 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 05, 2017 at 10:30:03PM -0500, Paul Clarke escreveu: > Symbol versioning, as in glibc, results in symbols being defined as: > @[@] > (Note that "@@" identifies a default symbol, if the symbol name > is repeated.) > > perf is currently unable to deal with this, and is unable to create >

[PATCH v4] tools/perf: Allow user probes on versioned symbols

2017-04-05 Thread Paul Clarke
Symbol versioning, as in glibc, results in symbols being defined as: @[@] (Note that "@@" identifies a default symbol, if the symbol name is repeated.) perf is currently unable to deal with this, and is unable to create user probes at such symbols: -- $ nm

[PATCH v4] tools/perf: Allow user probes on versioned symbols

2017-04-05 Thread Paul Clarke
Symbol versioning, as in glibc, results in symbols being defined as: @[@] (Note that "@@" identifies a default symbol, if the symbol name is repeated.) perf is currently unable to deal with this, and is unable to create user probes at such symbols: -- $ nm