------- Comment From pac...@us.ibm.com 2017-08-23 10:15 EDT-------
(In reply to comment #7)
> 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.

ping.  Can we pull the above patch in as well, or shall I open a new
request?

The commit is now in the linux "tip" tree:
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py?id=6fae8663c9940bcaa9edd8e21a9ae0f562789a3d

-- 
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/1707875

Title:
  include support for Python bindings in "perf"

Status in The Ubuntu-power-systems project:
  New
Status in linux package in Ubuntu:
  New

Bug description:
  == Comment: #0 - Paul A. Clarke <pac...@us.ibm.com> - 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 <mainam...@in.ibm.com> - 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:/home/Mamatha/ubuntu/ubuntu-zesty/tools/perf# perf --version
  perf version 4.10.17

  == Comment: #3 - MAMATHA INAMDAR <mainam...@in.ibm.com> - 2017-08-01 05:03:44 
==
  Request to build python bindings support with perf.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1707875/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to