------- Comment From pac...@us.ibm.com 2018-05-01 09:33 EDT-------
(In reply to comment #21)
> Python2 will not be maintained upstream past 2020, so a lack of python3
> bindings certainly feels like a non-starter.  As for why the kernel team
> decided to drop the python build-dep in 13.04, I'm not sure, and it's a
> conversation worth having.

Python3 bindings are upstream:  commit
66dfdff03d196e51322c6a85c0d8db8bb2bdd655 "perf tools: Add Python 3
support".

Given that this missed 18.04 LTS (and 17.10), the next logical target
would be 18.10, which will not be supported into 2020.  Is the lack of
support for Python2 bindings in 2020 an issue for 18.10?

-- 
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:
  [18.04] include support for Python bindings in "perf"

Status in The Ubuntu-power-systems project:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Bionic:
  Fix Committed

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