perf stat segfaults on uncore events w/o -a
Bug #1745246 reported by
dann frazier
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
dann frazier | ||
Artful |
Fix Released
|
Medium
|
dann frazier |
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/
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.
Changed in linux (Ubuntu Artful): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → dann frazier (dannf) |
Changed in linux (Ubuntu Artful): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-artful removed: verification-needed-artful |
To post a comment you must log in.
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- artful' to 'verification- done-artful' . If the problem still exists, change the tag 'verification- needed- artful' to 'verification- failed- artful' .
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!