RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 640977 - RFE: systemtap-runtime inclusion
Summary: RFE: systemtap-runtime inclusion
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ovirt-node
Version: 6.1
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Mike Burns
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 676515 (view as bug list)
Depends On: 634995
Blocks: 698469
TreeView+ depends on / blocked
 
Reported: 2010-10-07 12:27 UTC by Frank Ch. Eigler
Modified: 2011-08-19 15:25 UTC (History)
10 users (show)

Fixed In Version: ovirt-node-1.9.3-17.el6
Doc Type: Enhancement
Doc Text:
Key systemtap-runtime parts such as /usr/bin/staprun and /usr/bin/stapio are now included in the Red Hat Enterprise Virtualization Hypervisor image to allow remote invocation of systemtap probing.
Clone Of:
: 698469 (view as bug list)
Environment:
Last Closed: 2011-08-19 15:25:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch (625 bytes, patch)
2011-02-03 20:14 UTC, Mike Burns
no flags Details | Diff

Description Frank Ch. Eigler 2010-10-07 12:27:19 UTC
Please include key parts of systemtap-runtime in the RHEV-H image, to
permit remotely invoked systemtap probing.  As of systemtap-1.3, these
parts would be:

/usr/bin/staprun
/usr/bin/stapio

By RHEL6.1, systemtap-1.4 should be available, and may include an 
additional small binary to help smoothen the remote probing task.

Comment 1 Frank Ch. Eigler 2010-10-07 12:28:54 UTC
Bug #634995 covers the future stap-1.4 rebase.

Comment 4 Frank Ch. Eigler 2010-10-07 14:31:26 UTC
The way this would work with current-day code is that a development/management
machine, with all the debuginfo / compilers goo installed, would have a stap
user run 

   stap -p4 FOO.stp
   scp FOOBAR.ko root@rhev-host:FOOBAR.ko
   ssh root@rhev-host staprun FOOBAR.ko

basically according to the 'cross-compilation' pattern of operation.  There
is currently no man page that spells out this sequence, but is outlined on
our wiki:

http://sourceware.org/systemtap/wiki/TipCrossCompiling

With systemtap 1.4, these steps will be automated (with a proper man page
blurb).

Comment 5 Mike Burns 2011-02-03 20:14:37 UTC
Created attachment 476867 [details]
Patch

Note:  bug asks for /usr/bin/stapio, but rpm adds /usr/libexec/systemtap/stapio instead

Testing:  
rpm -qa systemtap-runtime
ls /usr/bin/staprun
ls /usr/libexec/systemtap/stapio

Comment 6 Alan Pevec 2011-02-10 08:53:42 UTC
*** Bug 676515 has been marked as a duplicate of this bug. ***

Comment 8 Mohua Li 2011-03-07 07:22:37 UTC
rhevh 6.1-8

[root@intel-x5550-12-2 ~]# rpm -ql systemtap-runtime | grep staprun
/usr/bin/staprun
/usr/share/man/man8/staprun.8.gz
[root@intel-x5550-12-2 ~]# rpm -ql  systemtap-runtime | grep stapio
/usr/libexec/systemtap/stapio
[root@intel-x5550-12-2 ~]#

Comment 9 Mark Huth 2011-04-20 22:39:00 UTC
Is it possible to get systemtap in the RHEVH 5.x as well?

Comment 13 Misha H. Ali 2011-05-06 07:03:54 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:
Key systemtap-runtime parts such as /usr/bin/staprun and /usr/bin/stapio are now included in the Red Hat Enterprise Virtualization Hypervisor image to allow remote invocation of systemtap probing.


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