summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authordsmith <dsmith>2006-09-26 21:41:37 +0000
committerdsmith <dsmith>2006-09-26 21:41:37 +0000
commita63a95dc1994d08176b63f0a133749b531f22b80 (patch)
treeb9ffa6793a0289097481df6931a74c5478eb0a38 /examples
parent3ae203b24203fc169e39f7b733f11038aafa80ef (diff)
downloadsystemtap-steved-a63a95dc1994d08176b63f0a133749b531f22b80.tar.gz
systemtap-steved-a63a95dc1994d08176b63f0a133749b531f22b80.tar.xz
systemtap-steved-a63a95dc1994d08176b63f0a133749b531f22b80.zip
2006-09-26 David Smith <dsmith@redhat.com>
* .cvsignore: Changed 'stpd' reference to 'staprun'. * INTERNALS: Ditto. * buildrun.cxx (run_pass): Ditto. * lket.5.in: Ditto. * stap.1.in: Ditto. * stapruncs.5.in: Ditto. * examples/small_demos/demo_script.txt: Ditto. * examples/small_demos/sys.stp: Ditto. * systemtap.spec.in: Created a new subpackage, "systemtap-runtime", that contains staprun. * Makefile.am: Renamed 'stpd' to 'staprun' and moved it to $(bindir). * Makefile.in: Regenerated from Makefile.am. * configure.ac: Incremented version number. * configure: Regenerated from configure.ac.
Diffstat (limited to 'examples')
-rw-r--r--examples/small_demos/demo_script.txt2
-rwxr-xr-xexamples/small_demos/sys.stp4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/small_demos/demo_script.txt b/examples/small_demos/demo_script.txt
index 40408c4d..48d90c9c 100644
--- a/examples/small_demos/demo_script.txt
+++ b/examples/small_demos/demo_script.txt
@@ -33,7 +33,7 @@ name - the name of the function
argstr - on function entry, a formatted string containing the arguments
retstr - on function exit, the return value and possibly error code
-In this example, we filter out programs named "stpd" because this is
+In this example, we filter out programs named "staprun" because this is
part of the systemtap infrastructure. (It may be filtered out
automatically in the future)
diff --git a/examples/small_demos/sys.stp b/examples/small_demos/sys.stp
index c25055de..2df20bc3 100755
--- a/examples/small_demos/sys.stp
+++ b/examples/small_demos/sys.stp
@@ -3,12 +3,12 @@
# print all system calls on the system
probe syscall.* {
- if (execname() != "stpd")
+ if (execname() != "staprun")
printf("%s: %s (%s) = ", execname(), name, argstr)
}
probe syscall.*.return {
- if (execname() != "stpd")
+ if (execname() != "staprun")
printf("%s\n", retstr)
}