perf trace sleep 1 command is not giving any output

Bug #1470578 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned
Vivid
In Progress
Medium
Chris J Arges

Bug Description

[Impact]
perf trace sleep 1 command is not giving any output

[Test Case]
# perf trace sleep 1

[Fix]
$ git describe 7951722da2963cc1f1a7831a37aa2311ac927056
v4.1-rc5-310-g7951722

--

Problem Description
=====================
perf trace sleep 1 command is not giving any output

---uname output---
Linux alp15 3.19.0-20-generic #20~14.04.1-Ubuntu SMP Sat May 30 00:14:50 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux

Machine Type = P8

Steps to Reproduce
=======================
Install a P8 Power VM LPAR with Ubuntu 14.04.2 ISO image.
Then install the Ubuntu 14.04.3 kernel on the same and reboot.

root@alp15:~# perf trace sleep 1
root@alp15:~# echo $?
0
root@alp15:~# which perf
/usr/bin/perf
root@alp15:~# dpkg -S /usr/bin/perf
linux-tools-common: /usr/bin/perf
root@alp15:~# dpkg --list | grep linux-tools
ii linux-tools-3.19.0-20-generic 3.19.0-20.20~14.04.1 ppc64el Linux kernel version specific tools for version 3.19.0-20
ii linux-tools-common 3.13.0-54.91 all Linux kernel version specific tools for version 3.13.0

Userspace tool common name: /usr/bin/perf
Userspace rpm: linux-tools-common
 The userspace tool has the following bit modes: 64-bit

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-126351 severity-high targetmilestone-inin14043
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1470578/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → linux (Ubuntu)
Revision history for this message
bugproxy (bugproxy) wrote : output of 'perf trace --verbose sleep 1'

------- Comment (attachment only) From <email address hidden> 2015-07-02 09:03 EDT-------

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2015-07-02 09:41 EDT-------
FYI, Bug ID https://bugzilla.linux.ibm.com/page.cgi?id=track/proxy.html&bug_id=120252 tracks similiar issue on 15.04 and Sukadev Bhattiprolu have provided the fix.

This fix has been merged into linux-tip:
http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?id=7951722da2963cc1f1a7831a37aa2311ac927056

commit 7951722da2963cc1f1a7831a37aa2311ac927056
Author: Sukadev Bhattiprolu <email address hidden>
Date: Fri Jun 12 01:28:36 2015 -0400

perf trace: Fix race condition at the end of started workloads

Chris J Arges (arges)
Changed in linux (Ubuntu Vivid):
assignee: nobody → Chris J Arges (arges)
importance: Undecided → Medium
status: New → In Progress
Changed in linux (Ubuntu):
status: New → Confirmed
description: updated
Revision history for this message
Chris J Arges (arges) wrote :

This is a duplicate of 1410673, and will be fixed in:
$ git describe c0a4024acc1ca957b84c2e0aa48cab6cacea056e
Ubuntu-3.19.0-22.22-85-gc0a4024

Please verify this other bug. Thanks

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2015-12-18 10:28 EDT-------
I have installed Ubuntu 14.04.3 ISO on a Power 8 Bare Metal Hardware.
Then executed the same test scenario again on the OS.

root@lep8d:~# uname -a
Linux lep8d 3.19.0-41-generic #46~14.04.2-Ubuntu SMP Tue Dec 8 17:45:57 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
root@lep8d:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.3 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.3 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

root@lep8d:~# perf trace sleep 1
root@lep8d:~# echo $?
0
root@lep8d:~# which perf
/usr/bin/perf

root@lep8d:~# dpkg -S /usr/bin/perf
linux-tools-common: /usr/bin/perf
root@lep8d:~# dpkg --list | grep linux-tools
ii linux-tools-3.19.0-41-generic 3.19.0-41.46~14.04.2 ppc64el Linux kernel version specific tools for version 3.19.0-41
ii linux-tools-common 3.13.0-73.116 all Linux kernel version specific tools for version 3.13.0

The issue is still happening with the latest Ubuntu 14.04.3 release.

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2016-03-23 10:42 EDT-------
Hi Canonical,

Which release will have this fix be integrated into ?
Please advice.

Thank you.

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2017-03-09 01:47 EDT-------
Closing the bug as the fix is incorporated in 16.04LTS.

Thank you.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.