Bug 1757947 - perf top "-p" functionality is broken in perf-3.10.0-1062.1.1.el7.x86_64
Summary: perf top "-p" functionality is broken in perf-3.10.0-1062.1.1.el7.x86_64
Keywords:
Status: CLOSED DUPLICATE of bug 1757325
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: kernel
Version: 7.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Michael Petlan
QA Contact: Kernel General QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-02 19:33 UTC by Brandon Clark
Modified: 2020-01-24 08:08 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-08 12:05:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Brandon Clark 2019-10-02 19:33:14 UTC
Description of problem:
perf top -p $PID doesn't work as reported in https://bugzilla.kernel.org/show_bug.cgi?id=203203

Version-Release number of selected component (if applicable):
perf-3.10.0-1062.1.1.el7.x86_64
Red Hat Enterprise Linux 7

How reproducible:
Consistently reproducible.

Steps to Reproduce (From fresh install):
1.Ensure RHEL 7.7 is installed, 
2.Ensure above version of perf is installed.
3. run 'perf top -p <pid>' substituting <pid> with process pid of choice.

Actual results:
"Samples: 0  of event 'cpu-clock'" displayed in perf output

Expected results:
Samples to be displayed in perf output

Comment 4 Gregg Leventhal 2019-10-04 18:36:30 UTC
It seems like some important info from the original ticket is missing, which is that I believe I already know the 2 commits which resolve this issue:


1e6db2ee86e6a4399fc0ae5689e55e0fd1c43caf
1e5b0cf8672e622257df024074e6e09bfbcb7750

I simply want to know how soon this will be fixed, so I know whether I need to build and maintain a patched RPM myself, or if I can just wait for RHEL to offer the fix.

Comment 5 Michael Petlan 2019-10-08 12:05:09 UTC
Hello Gregg. This issue has been already fixed in RHEL-7 and the bits are under testing right now. The fixed package will be released within RHEL-7.8.
Closing this bug as a dupe of bz1757325 which I filed based on your e-mail report and which tracks the issue already. I've also made the mentioned bug public.

*** This bug has been marked as a duplicate of bug 1757325 ***


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