Em Fri, Mar 31, 2017 at 11:06:16AM -0500, Paul Clarke escreveu:
Symbol versioning, as in glibc, results in symbols being defined as:
<real symbol>@[@]<version>
(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:
On top of what tree/branch should I try to apply this?
Trying on acme/perf/core:
[acme@jouet linux]$ patch -p1 < /wb/1.patch[...]
patching file tools/perf/util/auxtrace.c
Hunk #1 FAILED at 1875.
Apart from that, you are not checking the return of strndup, that
however unlikely, can fail, so must be checked.
On the style front you sometimes add a space after commas, sometimes
not, please make sure you add one.
But apart from those problems, I think that one should be able to ask
for a versioned symbol, to probe just apps using that specific version,
for instance, we should consider the whole name as two functions, which
in fact, they are, no?
Additionaly, I can't reproduce your problem here, on x86_64: