[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1108037: linux-perf: perf report --demangle only works on some(?) symbols



Package: linux-perf
Version: 6.1.140-1
Version: 6.12.30-1
Version: 6.12.32-1
Severity: normal

Dear Maintainer,

I'm attaching a tarball that, when extracted in the home directory,
should demonstrate the issue.

Running perf report -g --demangle shows
  Samples: 278K of event 'cycles:u', Event count (approx.): 183133005676
    Children      Self  Command  Shared Object         Symbol
  +   98.44%     0.00%  bench    bench                 [.] main
  +   89.76%     0.00%  bench    bench                 [.] _ZN5Botan11Cipher_Mode6updateITkNS_8concepts21resizable_byte_bufferESt6vectorIhNS_16secure_allocatorIhEEEEEvRT_m
  +   89.76%     0.00%  bench    bench                 [.] Botan::Cipher_Mode::process(std::span<unsigned char, 18446744073709551615ul>)
  +   54.86%     0.00%  bench    bench                 [.] Botan::CBC_Encryption::finish_msg(std::vector<unsigned char, Botan::secure_allocator<unsigned char> >&, unsigned lo
  +   46.47%     0.16%  bench    bench                 [.] Botan::CBC_Encryption::process_msg(unsigned char*, unsigned long)
  +   43.29%     0.00%  bench    bench                 [.] Botan::CBC_Decryption::finish_msg(std::vector<unsigned char, Botan::secure_allocator<unsigned char> >&, unsigned lo
  +   43.28%     0.19%  bench    bench                 [.] Botan::CBC_Decryption::process_msg(unsigned char*, unsigned long)
  +   40.66%     0.07%  bench    bench                 [.] Botan::BlockCipher::encrypt(unsigned char*) const
  +   40.61%     2.70%  bench    bench                 [.] Botan::Twofish::encrypt_n(unsigned char const*, unsigned char*, unsigned long) const
  +   40.35%     0.00%  bench    [unknown]             [k] 0000000000000000
  +   38.64%     2.30%  bench    bench                 [.] Botan::Twofish::decrypt_n(unsigned char const*, unsigned char*, unsigned long) const
  +   21.28%    12.28%  bench    bench                 [.] Botan::(anonymous namespace)::TF_E(unsigned int, unsigned int, unsigned int&, unsigned int&, unsigned int, unsigned
  +   20.93%    12.36%  bench    bench                 [.] Botan::(anonymous namespace)::TF_D(unsigned int, unsigned int, unsigned int&, unsigned int&, unsigned int, unsigned
  +   14.96%    11.71%  bench    bench                 [.] std::vector<unsigned int, Botan::secure_allocator<unsigned int> >::operator[](unsigned long) const
  +    9.29%     0.15%  bench    bench                 [.] Botan::xor_buf(unsigned char*, unsigned char const*, unsigned long)
  +    8.39%     0.00%  bench    bench                 [.] Botan::PKCS7_Padding::add_padding(std::vector<unsigned char, Botan::secure_allocator<unsigned char> >&, unsigned lo
  +    8.39%     0.00%  bench    bench                 [.] std::vector<unsigned char, Botan::secure_allocator<unsigned char> >::resize(unsigned long)
  +    8.39%     0.00%  bench    bench                 [.] std::vector<unsigned char, Botan::secure_allocator<unsigned char> >::_M_default_append(unsigned long)
  +    8.33%     0.00%  bench    bench                 [.] std::vector<unsigned char, Botan::secure_allocator<unsigned char> >::_S_relocate(unsigned char*, unsigned char*, un
  +    8.33%     0.00%  bench    bench                 [.] unsigned char* std::__relocate_a<unsigned char*, unsigned char*, Botan::secure_allocator<unsigned char> >(unsigned
  +    8.33%     0.90%  bench    bench                 [.] unsigned char* std::__relocate_a_1<unsigned char*, unsigned char*, Botan::secure_allocator<unsigned char> >(unsigne
  +    8.19%     3.06%  bench    bench                 [.] _ZN5Botan7xor_bufITkNS_6ranges23contiguous_output_rangeIhEESt4spanIhLm18446744073709551615EETkNS1_16contiguous_rang
  +    7.56%     1.01%  bench    bench                 [.] void std::__relocate_object_a<unsigned char, unsigned char, Botan::secure_allocator<unsigned char> >(unsigned char*
  +    7.34%     0.04%  bench    bench                 [.] auto Botan::load_le<Botan::detail::AutoDetect, unsigned char const*&, unsigned int&, unsigned int&, unsigned int&,
  +    7.29%     0.07%  bench    bench                 [.] _ZN5Botan6detail8load_anyILNS0_10EndiannessE1ENS0_10AutoDetectETpTkNS0_20unsigned_integralishEJjjjjEQaaaagtsZT1_Li0
  +    7.25%     0.05%  bench    bench                 [.] auto Botan::load_le<Botan::detail::AutoDetect, unsigned char const*&, unsigned int&, unsigned int&, unsigned int&,
  +    7.20%     0.06%  bench    bench                 [.] _ZN5Botan6detail8load_anyILNS0_10EndiannessE1ENS0_10AutoDetectETpTkNS0_20unsigned_integralishEJjjjjjjjjEQaaaagtsZT1
  +    7.18%     0.05%  bench    bench                 [.] auto Botan::store_le<Botan::detail::AutoDetect, unsigned char*&, unsigned int&, unsigned int&, unsigned int&, unsig
  +    7.13%     0.07%  bench    bench                 [.] _ZN5Botan6detail9store_anyILNS0_10EndiannessE1ENS0_10AutoDetectETkNS0_20unsigned_integralishEjTpTkNS0_20unsigned_in
  +    7.11%     0.39%  bench    bench                 [.] _ZN5Botan6detail8load_anyILNS0_10EndiannessE1ETkNS0_20unsigned_integralishEjTkNS_6ranges16contiguous_rangeIhEESt4sp
  +    7.02%     0.26%  bench    bench                 [.] _ZN5Botan6detail8load_anyILNS0_10EndiannessE1ENS0_10AutoDetectETkNS_6ranges16contiguous_rangeIhEESt4spanIKhLm16EETp
  +    7.01%     0.18%  bench    bench                 [.] _ZN5Botan6detail8load_anyILNS0_10EndiannessE1ENS0_10AutoDetectETkNS_6ranges16contiguous_rangeIhEESt4spanIKhLm32EETp
  +    6.88%     0.21%  bench    bench                 [.] _ZN5Botan6detail9store_anyILNS0_10EndiannessE1EjTkNS_6ranges23contiguous_output_rangeIhEESt4spanIhLm16EETpTkNS0_20u
  +    6.82%     0.42%  bench    bench                 [.] _ZZN5Botan6detail8load_anyILNS0_10EndiannessE1ENS0_10AutoDetectETkNS_6ranges16contiguous_rangeIhEESt4spanIKhLm32EET
  +    6.71%     0.40%  bench    bench                 [.] _ZZN5Botan6detail8load_anyILNS0_10EndiannessE1ENS0_10AutoDetectETkNS_6ranges16contiguous_rangeIhEESt4spanIKhLm16EET
  +    6.66%     0.07%  bench    bench                 [.] auto Botan::store_le<Botan::detail::AutoDetect, unsigned char*&, unsigned int&, unsigned int&, unsigned int&, unsig
  +    6.60%     0.32%  bench    bench                 [.] _ZZN5Botan6detail9store_anyILNS0_10EndiannessE1EjTkNS_6ranges23contiguous_output_rangeIhEESt4spanIhLm16EETpTkNS0_20
  +    6.60%     0.05%  bench    bench                 [.] _ZN5Botan6detail9store_anyILNS0_10EndiannessE1ENS0_10AutoDetectETkNS0_20unsigned_integralishEjTpTkNS0_20unsigned_in
  +    6.57%     0.41%  bench    bench                 [.] _ZN5Botan6detail9store_anyILNS0_10EndiannessE1ETkNS0_20unsigned_integralishEjTkNS_6ranges23contiguous_output_rangeI
  +    6.47%     0.23%  bench    bench                 [.] _ZN5Botan6detail9store_anyILNS0_10EndiannessE1EjTkNS_6ranges23contiguous_output_rangeIhEESt4spanIhLm32EETpTkNS0_20u
  +    6.28%     0.25%  bench    bench                 [.] _ZZN5Botan6detail8load_anyILNS0_10EndiannessE1ETkNS0_20unsigned_integralishEjTkNS_6ranges16contiguous_rangeIhEESt4s
  +    6.20%     0.30%  bench    bench                 [.] _ZZN5Botan6detail9store_anyILNS0_10EndiannessE1EjTkNS_6ranges23contiguous_output_rangeIhEESt4spanIhLm32EETpTkNS0_20
  +    6.03%     0.30%  bench    bench                 [.] _ZN5Botan13typecast_copyIjTkNS_6ranges16contiguous_rangeERSt4spanIKhLm4EEQaaaasr3stdE26is_default_constructible_vIT
  +    5.78%     0.36%  bench    bench                 [.] _ZN5Botan13typecast_copyIjTkNS_6ranges16contiguous_rangeERSt4spanIKhLm4EEQaaaasr3stdE23is_trivially_copyable_vINSt8
  +    5.64%     0.38%  bench    bench                 [.] _ZN5Botan13typecast_copyITkNS_6ranges23contiguous_output_rangeERSt4spanIhLm4EEjQaaaasr3stdE23is_trivially_copyable_
  +    4.40%     0.00%  bench    [unknown]             [k] 0x7e7e5a48fcfcb490
  +    3.88%     0.91%  bench    bench                 [.] decltype (_S_construct({parm#1}, {parm#2}, (std::forward<unsigned char>)({parm#3}))) std::allocator_traits<Botan::s
  +    3.69%     0.65%  bench    bench                 [.] _ZN5Botan13typecast_copyITkNS_6ranges23contiguous_output_rangeERSt4spanIhLm4EETkNS1_16contiguous_rangeES2_IKjLm1EEQ
  +    3.68%     0.70%  bench    bench                 [.] _ZN5Botan13typecast_copyITkNS_6ranges23contiguous_output_rangeESt4spanIjLm1EETkNS1_16contiguous_rangeERS2_IKhLm4EEQ
  +    2.98%     0.90%  bench    bench                 [.] std::enable_if<__and_<std::__and_<std::__not_<std::allocator_traits<Botan::secure_allocator<unsigned char> >::__con
  +    2.79%     0.78%  bench    bench                 [.] void std::allocator_traits<Botan::secure_allocator<unsigned char> >::destroy<unsigned char>(Botan::secure_allocator
  Cannot load tips.txt file, please install perf!
and obviously many of these have not been demangled.

Best,

-- System Information:
Debian Release: 12.11
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-27-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-perf depends on:
ii  libbabeltrace1  1.5.11-1+b2
ii  libc6           2.36-9+deb12u10
ii  libcap2         1:2.66-4+deb12u1
ii  libdw1          0.188-2.1
ii  libelf1         0.188-2.1
ii  liblzma5        5.4.1-1
ii  libnuma1        2.0.16-1
ii  libopencsd1     1.3.3-1
ii  libperl5.36     5.36.0-7+deb12u2
ii  libpython3.11   3.11.2-6+deb12u6
ii  libslang2       2.3.3-3
ii  libunwind8      1.6.2-3
ii  libzstd1        1.5.4+dfsg2-5
ii  perl            5.36.0-7+deb12u2
ii  python3         3.11.2-1+b1
ii  zlib1g          1:1.2.13.dfsg-1

linux-perf recommends no packages.

Versions of packages linux-perf suggests:
pn  linux-doc-6.1  <none>

-- no debconf information

Attachment: signature.asc
Description: PGP signature


Reply to: