Bug 725812 - python-linux-perf: Create new package with the Linux perf subsystem python binding
Summary: python-linux-perf: Create new package with the Linux perf subsystem python bi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.2
Hardware: Unspecified
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: Jiri Olsa
QA Contact: Han Pingtian
URL:
Whiteboard:
Depends On: 725522 752353 784888 788156
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-26 16:13 UTC by Arnaldo Carvalho de Melo
Modified: 2019-07-12 07:40 UTC (History)
5 users (show)

Fixed In Version: kernel-2.6.32-190.el6
Doc Type: Enhancement
Doc Text:
Red Hat Enterprise Linux 6.2 updates the perf utility to upstream version 3.1 along with the kernel upgrade to v 3.1. Refer to BZ#725524 for newly supported kernel features provided by the perf utility. The updated version of the perf utility includes: Added cgroup support Added handling of /proc/sys/kernel/kptr_restrict Added more cache-miss percentage printouts Added the -d -d and -d -d -d options to show more CPU events Added the --sync/-S option Added support for the PERF_TYPE_RAW parameter Added more documentation about the -f/--fields option The python-perf package has been added for python binding support.
Clone Of:
Environment:
Last Closed: 2011-12-06 13:54:39 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1530 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Linux 6 kernel security, bug fix and enhancement update 2011-12-06 01:45:35 UTC

Description Arnaldo Carvalho de Melo 2011-07-26 16:13:01 UTC
Description of problem:

A python binding to allow access to the perf events kernel subsystem was introduced upstream and is used by the tuna package to receive notifications of thread lifetime events, instead of the current /proc polling it does.


Version-Release number of selected component (if applicable):


How reproducible:

New package


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:

perf python binding installed and used by tools such as tuna.


Additional info:

The changes to the kernel spec file to have the package built were already prototyped/done by Jiri Olsa.

Comment 3 RHEL Program Management 2011-07-27 14:40:47 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 6 Aristeu Rozanski 2011-08-18 17:32:50 UTC
Patch(es) available on kernel-2.6.32-190.el6

Comment 9 Linda Wang 2011-08-21 15:56:22 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
In RHEL6.2, as part of the perf montoring subsystem sync up with upstream 3.1+, python-perf package has also been added for python binding.

Comment 10 Linda Wang 2011-08-21 15:56:31 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-In RHEL6.2, as part of the perf montoring subsystem sync up with upstream 3.1+, python-perf package has also been added for python binding.+In RHEL6.2, as part of the perf montoring subsystem sync up with upstream 3.1+, python-perf package has also been added for python binding support.

Comment 11 Han Pingtian 2011-09-05 05:59:05 UTC
Looks like python-perf isn't in distribution yet. I cannot find it in RHEL6.2-20110904.n.0. I have filed a bug 735709.

Comment 12 Martin Prpič 2011-11-10 12:02:53 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1,10 @@
-In RHEL6.2, as part of the perf montoring subsystem sync up with upstream 3.1+, python-perf package has also been added for python binding support.+Red Hat Enterprise Linux 6.2 updates the perf utility to upstream version 3.1 along with the kernel upgrade to v 3.1. Refer to BZ#725524 for newly supported kernel features provided by the perf utility. The updated version of the perf utility includes:
+
+    Added cgroup support
+    Added handling of /proc/sys/kernel/kptr_restrict
+    Added more cache-miss percentage printouts
+    Added the -d -d and -d -d -d options to show more CPU events
+    Added the --sync/-S option
+    Added support for the PERF_TYPE_RAW parameter
+    Added more documentation about the -f/--fields option
+    The python-perf package has been added for python binding support.

Comment 13 errata-xmlrpc 2011-12-06 13:54:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2011-1530.html


Note You need to log in before you can comment on or make changes to this bug.