linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Milian Wolff <milian.wolff@kdab.com>
To: perf group <linux-perf-users@vger.kernel.org>
Subject: demangling of @plt entries
Date: Sat, 03 Oct 2015 12:43:34 +0200	[thread overview]
Message-ID: <1896568.Zv4hrWaDKC@agathebauer> (raw)

[-- Attachment #1: Type: text/plain, Size: 955 bytes --]

Hey all,

both perf and c++filt seem to have a problem with demangling @plt symbols:

c++filt _ZNK12QMapNodeBase8nextNodeEv@plt
_ZNK12QMapNodeBase8nextNodeEv@plt

c++filt _ZNK12QMapNodeBase8nextNodeEv
QMapNodeBase::nextNode() const

My question is: Should perf prevent this? I have a patch locally to just 
demangle symbols up to the @plt at the end, i.e. ignoring it. This fixes the 
problem for me.

But I'm not so sure - sounds like this is something that would be better fixed 
globally. I found https://sourceware.org/bugzilla/show_bug.cgi?id=12021 but 
that says it should be fixed already. Can anyone else reproduce this? Where 
should this be fixed, can anyone point me to a software repository?

c++filt --version
GNU c++filt (GNU Binutils) 2.25.1

perf from current acme/perf/core

Thanks
-- 
Milian Wolff | milian.wolff@kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt Experts

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5903 bytes --]

             reply	other threads:[~2015-10-03 10:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-03 10:43 Milian Wolff [this message]
2015-10-04 16:03 ` demangling of @plt entries Andi Kleen
2015-10-04 17:27   ` Milian Wolff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1896568.Zv4hrWaDKC@agathebauer \
    --to=milian.wolff@kdab.com \
    --cc=linux-perf-users@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).