Linux Perf Users
 help / color / mirror / Atom feed
From: Milian Wolff <milian.wolff@kdab.com>
To: "平松雅巳 / HIRAMATU,MASAMI" <masami.hiramatsu.pt@hitachi.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>,
	Alex Bagehot <ceeaspb@gmail.com>,
	"linux-perf-users@vger.kernel.org"
	<linux-perf-users@vger.kernel.org>
Subject: Re: perf probe Argument list too long
Date: Tue, 03 Nov 2015 12:30:56 +0100	[thread overview]
Message-ID: <2050018.LCqhWtF7on@milian-kdab2> (raw)
In-Reply-To: <50399556C9727B4D88A595C8584AAB37525F9F23@GSjpTKYDCembx32.service.hitachi.net>

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

On Tuesday, November 3, 2015 3:20:42 AM CET 平松雅巳 / HIRAMATU,MASAMI wrote:
> From: Arnaldo Carvalho de Melo [mailto:acme@kernel.org]
> 
> >Em Tue, Nov 03, 2015 at 12:50:46AM +0000, Alex Bagehot escreveu:
> >> Hello,
> >> 
> >> I get this error with perf probe, :
> >> 
> >> perf probe  -vvv -x /opt/jdk1.8.0_60/jre/lib/amd64/server/libjvm.so
> >> '_ZN13CollectedHeap24common_mem_allocate_initE11KlassHandlemP6Thread'
> 
> Ah, I've never thought that the symbol name gets so long :(
> BTW, is that oracle's jdk package? I'd like to reproduce the bug.

Just want to chime in: Don't assume _anything_ about symbol names - they are 
extremely complicated and with C++ templates can be extremely long:

nm -a libQt5WebKit.so.5.6.0 | cut -d' ' -f 3 | awk '{ if (length($0) > max) 
{max = length($0); maxline = $0} } END { print maxline; print length(maxline) 
}'  
_ZZN3WTF9HashTableINS_12AtomicStringENS_12KeyValuePairIS1_PFvPN7WebCore17NetworkingContextERKNS3_15ResourceRequestENS3_17StoredCredentialsERNS3_13ResourceErrorERNS3_16ResourceResponseERNS_6VectorIcLm0ENS_15CrashOnOverflowEEEEEENS_24KeyValuePairKeyExtractorISK_EENS_16AtomicStringHashENS_18HashMapValueTraitsINS_10HashTraitsIS1_EENSP_ISJ_EEEESQ_E3addINS_17HashMapTranslatorISS_SN_EES1_SJ_EENS_18HashTableAddResultINS_17HashTableIteratorIS1_SK_SM_SN_SS_SQ_EEEERKT0_RKT1_E19__PRETTY_FUNCTION__
490

Cheers
-- 
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 --]

  parent reply	other threads:[~2015-11-03 11:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-03  0:50 perf probe Argument list too long Alex Bagehot
2015-11-03  1:00 ` Arnaldo Carvalho de Melo
2015-11-03  3:20   ` 平松雅巳 / HIRAMATU,MASAMI
2015-11-03 11:22     ` Alex Bagehot
2015-11-03 11:30     ` Milian Wolff [this message]
2015-11-03 15:38       ` 平松雅巳 / HIRAMATU,MASAMI

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=2050018.LCqhWtF7on@milian-kdab2 \
    --to=milian.wolff@kdab.com \
    --cc=acme@kernel.org \
    --cc=ceeaspb@gmail.com \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=masami.hiramatsu.pt@hitachi.com \
    /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