From: mil...@asfs2.hitachi.co.jp [mailto:mil...@asfs2.hitachi.co.jp] On Behalf Of Milian Wolff > >On Tuesday, November 3, 2015 3:20:42 AM CET 平松雅巳 / HIRAMATU,MASAMI wrote: >> From: Arnaldo Carvalho de Melo [mailto:a...@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_15ResourceRequestEN >S3_17StoredCredentialsERNS3_13ResourceErrorERNS3_16ResourceResponseERNS_6VectorIcLm0ENS_15CrashOnOverflowEEEEEENS_24Ke >yValuePairKeyExtractorISK_EENS_16AtomicStringHashENS_18HashMapValueTraitsINS_10HashTraitsIS1_EENSP_ISJ_EEEESQ_E3addINS_1 >7HashMapTranslatorISS_SN_EES1_SJ_EENS_18HashTableAddResultINS_17HashTableIteratorIS1_SK_SM_SN_SS_SQ_EEEERKT0_RKT1_E1 >9__PRETTY_FUNCTION__ >490 >
Oops ... OK, so perf-probe should warn user to give a new event name for the probes on such long-name function. Thanks! >Cheers >-- >Milian Wolff | milian.wo...@kdab.com | Software Engineer >KDAB (Deutschland) GmbH&Co KG, a KDAB Group company >Tel: +49-30-521325470 >KDAB - The Qt Experts N�����r��y����b�X��ǧv�^�){.n�+����{���ߺǫ�)����w*jg��������ݢj/���z�ޖ��2�ޙ����&�)ߡ�a�����G���h��j:+v���w��٥