From 4125a78ae5fc99abb8606bf0eda2a08b3e2d300c Mon Sep 17 00:00:00 2001 From: ddomingo Date: Thu, 2 Oct 2008 23:07:01 +1000 Subject: new section, iotop.stp --- doc/SystemTap_Beginners_Guide/en-US/CrossInstrumenting.xml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'doc/SystemTap_Beginners_Guide/en-US/CrossInstrumenting.xml') diff --git a/doc/SystemTap_Beginners_Guide/en-US/CrossInstrumenting.xml b/doc/SystemTap_Beginners_Guide/en-US/CrossInstrumenting.xml index 07280100..cc451ec4 100644 --- a/doc/SystemTap_Beginners_Guide/en-US/CrossInstrumenting.xml +++ b/doc/SystemTap_Beginners_Guide/en-US/CrossInstrumenting.xml @@ -77,7 +77,7 @@ Configuring a Host System and Target Systems - Configure yum on the host system to point to a repository containing the necessary debug RPMs for the target kernels. The following yum repository file (which you can add to /etc/yum.repos.d/ points to a popular debug RPM repository for Red Hat Enterprise Linux 5: + Configure yum on the host system to point to a repository containing the necessary debug RPMs for the target kernels. The following yum repository file (which you can add to /etc/yum.repos.d/ points to a popular debug RPM repository for i386 systems running Red Hat Enterprise Linux 5: [rhel-debuginfo] name=Red Hat Enterprise Linux $releasever - $basearch - Debug @@ -119,10 +119,11 @@ enabled=1 Note - To determine the version of a running kernel, run uname -r. To determine the architecture notation of a running kernel, run uname -m. + To determine the architecture notation of a running kernel, run uname -m. + -Once the the instrumentation moduleis compiled, copy it to the target system and load it using: +Once the the instrumentation module is compiled, copy it to the target system and load it using: staprun instrumentation @@ -142,6 +143,9 @@ enabled=1 Note the version of the target system's kernel on which you wish to use SystemTap. You can do this by logging onto the target system and running uname -r (assuming the system is running the kernel on which you wish to use SystemTap), or by inspecting /boot. --> - + + Important + The host system must be the same architecture as the target system in order for the instrumentation module to work. + \ No newline at end of file -- cgit