Bug 640977

Summary: RFE: systemtap-runtime inclusion
Product: Red Hat Enterprise Linux 6 Reporter: Frank Ch. Eigler <fche>
Component: ovirt-nodeAssignee: Mike Burns <mburns>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.1CC: apevec, dyasny, jistone, mburns, mhusnain, mhuth, moli, mshao, ovirt-maint, yeylon
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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.
Story Points: ---
Clone Of:
: 698469 (view as bug list) Environment:
Last Closed: 2011-08-19 15:25:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 634995    
Bug Blocks: 698469    
Attachments:
Description Flags
Patch none

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.