diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/small_demos/demo_script.txt | 2 | ||||
-rwxr-xr-x | examples/small_demos/sys.stp | 4 |
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) } |