Hi Stefan :)
I've successfully verified that this issue is resolved after updating to
-proposed:
ubuntu@ubuntu:~$ sudo perf stat -e l1d_cache_rd -- sleep 1
Performance counter stats for 'sleep 1':
159,369 l1d_cache_rd
1.001034006 seconds time elapsed
Linux ubuntu 4.13.0-38-generic #43~16.04.1-Ubuntu SMP Wed Mar 14
17:49:43 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1745246
Title:
perf stat segfaults on uncore events w/o -a
Status in linux package in Ubuntu:
Fix Released
Status in linux source package in Artful:
Fix Committed
Bug description:
[Impact]
perf crashes when monitoring an application for non-system-wide uncore events.
[Test Case]
Before fix:
ubuntu@starbuck:~$ sudo perf stat -e l1d_cache_rd -- sleep 1
*** Error in `/usr/lib/linux-tools/4.13.0-31.34-generic/perf': free():
invalid next size (fast): 0x00000000315f6e80 ***
Aborted
After fix:
ubuntu@starbuck:~$ sudo perf stat -e l1d_cache_rd -- sleep 1
Performance counter stats for 'sleep 1':
159,004 l1d_cache_rd
1.001223072 seconds time elapsed
[Regression Risk]
The fix involves 2 clean cherry picks from upstream to the perf utility, so
any regressions introduced by them should have a straightforward support path
w/ upstream.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1745246/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp