From d706e984ee8c60d278859a15c74b5a60829789f7 Mon Sep 17 00:00:00 2001 From: ddomingo Date: Wed, 5 Nov 2008 10:35:18 +1000 Subject: proofreading run 1 --- .../en-US/CrossInstrumenting.xml | 30 +++++++--------------- 1 file changed, 9 insertions(+), 21 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 a16e4f48..8a772f15 100644 --- a/doc/SystemTap_Beginners_Guide/en-US/CrossInstrumenting.xml +++ b/doc/SystemTap_Beginners_Guide/en-US/CrossInstrumenting.xml @@ -23,22 +23,11 @@ - Normally, however, SystemTap scripts can only be run on systems where - SystemTap is deployed (as in ). This could - mean that if you want to run SystemTap on ten systems, you would need to - deploy SystemTap on all those systems. In some cases, - this may be neither feasible nor desired to fully deploy SystemTap on those - systems. For instance corporate policy may prohibit an administrator from - installing RPMs that provide compilers or debug information on specific - machines, which will prevent the deployment of SystemTap. + Normally, however, SystemTap scripts can only be run on systems where SystemTap is deployed (as in ). This could mean that if you want to run SystemTap on ten systems, you would need to deploy SystemTap on all those systems. In some cases, this may be neither feasible nor desired. For instance, corporate policy may prohibit an administrator from installing RPMs that provide compilers or debug information on specific machines, which will prevent the deployment of SystemTap. - To work around this, you can resort to - cross-instrumentation. Cross-instrumentation is the - process of generating SystemTap instrumentation module from a SystemTap - script on one computer to be used on another computer. This process offers - the following benefits: + To work around this, you can resort to cross-instrumentation. Cross-instrumentation is the process of generating SystemTap instrumentation module from a SystemTap script on one computer to be used on another computer. This process offers the following benefits: @@ -186,10 +175,9 @@ appropriate values): - - stap -r kernel_version script -m - module_name - + +stap -r kernel_version script -m module_name + Here, kernel_version refers to @@ -214,9 +202,9 @@ it to the target system and load it using: - - staprun module_name.ko - + +staprun module_name.ko + For example, to create the instrumentation module @@ -249,7 +237,7 @@ The host system must be the same architecture and running the same distribution of Linux as the target - system in order for the instrumentation + system in order for the built instrumentation module to work. -- cgit