perf probe: ppc64le/ABIv2 support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Tim Gardner | ||
Vivid |
Fix Released
|
Undecided
|
Tim Gardner | ||
Wily |
Fix Released
|
Medium
|
Tim Gardner |
Bug Description
Problem Description
=======
perf probe does not work properly on ppc64le
---uname output---
Linux ubuntu1504 3.19.0-22-generic #22-Ubuntu SMP Tue Jun 16 17:15:17 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = POWER
Steps to Reproduce
=======
'perf probe do_fork' adds the probe, but is not able to capture events on 'perf record -e probe:do_fork -a'. This is because ppc64le ABIv2 uses local entry points at an offset from the global entry point where the probe is currently being placed.
These issues have been fixed upstream with the below patch series:
- http://
- http://
== Comment: #1 - Naveen N. Rao <email address hidden> - 2015-07-01 07:03:19 ==
I have backported the patches relevant for ppc64le and I am attaching them here. These fixes are needed for 15.04, 14.04.03 and 15.10 (depending on the kernel it gets based on). For reference, upstream commits in -tip for reference:
- d4c537e6bf860c1
- 3099c026002e97b
- 7b6ff0bdbf4f7f4
- d5c2e2c17ae1d63
- c50fc0a43e33a6c
- 031b84c407c3153
- fb6d59423115b10
- d2332098331fffe
Related branches
CVE References
affects: | ubuntu → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu): | |
assignee: | nobody → Taco Screen team (taco-screen-team) |
Changed in linux (Ubuntu Vivid): | |
assignee: | nobody → Tim Gardner (timg-tpi) |
status: | New → In Progress |
Changed in linux (Ubuntu Wily): | |
assignee: | Taco Screen team (taco-screen-team) → Tim Gardner (timg-tpi) |
status: | New → In Progress |
Changed in linux (Ubuntu Wily): | |
status: | In Progress → Fix Released |
Changed in linux (Ubuntu Vivid): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-vivid removed: verification-needed-vivid |
tags: |
added: targetmilestone-inin1504 removed: targetmilestone-inin--- |
Default Comment by Bridge