I was wrong. `/usr/bin/perf` is just a shell script calling a kernel specific 
version. 
The real executable is in `linux-hwe-tools-4.**`. 
I checked the source of `linux-hwe-tools-4.15.0-36` and it already has the 
necessary fix. 
Rebuilding just the perf executable from withhin the source dir resulted in a 
binary with correct demangling support. 
```
apt-get source linux-hwe-tools-4.15.0-36
sudo apt-get build-dep linux-hwe-tools-4.15.0-36
cd linux-hwe-4.15.0/tools/perf && make 
```

However rebuilding and installing the package `linux-hwe-tools-4.15.0-36` 
resulted in a different binary with still broken demangling. I don’t know 
what’s the reason for that. 
```
apt-get source linux-hwe-tools-4.15.0-36
sudo apt-get build-dep linux-hwe-tools-4.15.0-36
cd linux-hwe-4.15.0 && debuild -us -uc -b
sudo dpkg -i ../linux-hwe-tools-4.15.0-36_4.15.0-36.39~16.04.1_amd64.deb 
../linux-tools-4.15.0-36-generic_4.15.0-36.39~16.04.1_amd64.deb
```



** Also affects: linux-hwe (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: linux-meta-hwe (Ubuntu)

** No longer affects: linux-meta-hwe (Ubuntu Xenial)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1396654

Title:
  C++ demangling support missing from perf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396654/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to