[18.04] include support for Python bindings in "perf"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Won't Fix
|
Medium
|
Canonical Kernel Team | ||
linux (Ubuntu) |
Invalid
|
Medium
|
Canonical Kernel Team | ||
Bionic |
Won't Fix
|
Medium
|
Canonical Kernel Team | ||
Cosmic |
Invalid
|
Medium
|
Canonical Kernel Team | ||
Disco |
Invalid
|
Medium
|
Canonical Kernel Team |
Bug Description
== Comment: #0 - Paul A. Clarke <email address hidden> - 2017-07-26 09:59:57 ==
---Problem Description---
Request to build python bindings support with perf.
---Steps to Reproduce---
Ubuntu-17.04# perf script -g python
Python scripting not supported. Install libpython and rebuild perf to enable it.
For example:
# apt-get install python-dev (ubuntu)
# yum install python-devel (Fedora)
etc.
Userspace tool common name: perf
Userspace rpm: linux-tools-common
Userspace tool obtained from project website: na
== Comment: #2 - MAMATHA INAMDAR <email address hidden> - 2017-08-01 05:02:34 ==
After installing libpython, downloaded ubuntu 17.04 linux source code and compiled perf tool then it works fine.
# ./perf script -g python
generated Python script: perf-script.py
but when I run perf tool without rebuilding after installing libpython it shows an error
# perf script -g python
Python scripting not supported. Install libpython and rebuild perf to enable it.
For example:
# apt-get install python-dev (ubuntu)
# yum install python-devel (Fedora)
etc.
root@p8wookie:
perf version 4.10.17
== Comment: #3 - MAMATHA INAMDAR <email address hidden> - 2017-08-01 05:03:44 ==
Request to build python bindings support with perf.
tags: | added: architecture-all bugnameltc-156984 severity-medium targetmilestone-inin--- |
Changed in ubuntu: | |
assignee: | nobody → Taco Screen team (taco-screen-team) |
affects: | ubuntu → kernel-package (Ubuntu) |
Changed in kernel-package (Ubuntu): | |
assignee: | Taco Screen team (taco-screen-team) → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
affects: | kernel-package (Ubuntu) → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
Changed in ubuntu-power-systems: | |
importance: | Undecided → Medium |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
tags: | added: triage-g |
tags: |
added: triage-a removed: triage-g |
tags: |
added: targetmilestone-inin1710 removed: targetmilestone-inin--- |
Changed in linux (Ubuntu): | |
assignee: | Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Canonical Kernel Team (canonical-kernel-team) |
tags: |
added: triage-r removed: triage-a |
Changed in linux (Ubuntu): | |
status: | New → In Progress |
Changed in linux (Ubuntu Zesty): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Joseph Salisbury (jsalisbury) |
Changed in linux (Ubuntu): | |
assignee: | Canonical Kernel Team (canonical-kernel-team) → Joseph Salisbury (jsalisbury) |
tags: |
added: targetmilestone-inin1804 triage-g removed: targetmilestone-inin1710 triage-r |
tags: |
added: targetmilestone-inin1710 removed: targetmilestone-inin1804 |
Changed in ubuntu-power-systems: | |
status: | New → In Progress |
summary: |
- include support for Python bindings in "perf" + [18.04] include support for Python bindings in "perf" |
no longer affects: | linux (Ubuntu Zesty) |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Triaged |
assignee: | Joseph Salisbury (jsalisbury) → nobody |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
tags: | added: bionic |
Changed in ubuntu-power-systems: | |
status: | In Progress → Triaged |
tags: |
added: triage-a removed: triage-g |
tags: | added: kernel-key |
Changed in linux (Ubuntu Bionic): | |
status: | Triaged → Fix Committed |
Changed in ubuntu-power-systems: | |
status: | Triaged → Fix Committed |
tags: |
added: kernel-da-key removed: kernel-key |
tags: | added: kernel-key |
Changed in linux (Ubuntu Bionic): | |
status: | Fix Committed → Triaged |
Changed in linux (Ubuntu): | |
status: | Fix Committed → Triaged |
Changed in ubuntu-power-systems: | |
status: | Fix Committed → Triaged |
tags: |
added: targetmilestone-inin1804 removed: targetmilestone-inin1710 |
Changed in linux (Ubuntu): | |
status: | Won't Fix → Triaged |
Changed in ubuntu-power-systems: | |
status: | Won't Fix → Triaged |
Changed in ubuntu-power-systems: | |
status: | Triaged → Won't Fix |
------- Comment From <email address hidden> 2017-08-02 16:33 EDT-------
Any chance we could pull in this patch as well:
https:/ /lists. ozlabs. org/pipermail/ linuxppc- dev/2017- August/ 161412. html
It's recent enough that it has not made it to mainline, but it's ppc64le-specific.