diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-02-27 21:32:43 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-02-27 21:32:43 -0500 |
commit | 23220a9c611cd088418d108b3fa6d35aad177175 (patch) | |
tree | e7e459d81a344d958ff7739215f24e17db3324f1 /doc/tutorial/probe-alias.stp | |
parent | ed1f47c32969a60eb074dc246c79ccda456ebf58 (diff) | |
parent | 872a4b73dc80fd865d61f17911b84494e1f820d9 (diff) | |
download | systemtap-steved-23220a9c611cd088418d108b3fa6d35aad177175.tar.gz systemtap-steved-23220a9c611cd088418d108b3fa6d35aad177175.tar.xz systemtap-steved-23220a9c611cd088418d108b3fa6d35aad177175.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'doc/tutorial/probe-alias.stp')
-rw-r--r-- | doc/tutorial/probe-alias.stp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/tutorial/probe-alias.stp b/doc/tutorial/probe-alias.stp new file mode 100644 index 00000000..aa5feb1b --- /dev/null +++ b/doc/tutorial/probe-alias.stp @@ -0,0 +1,17 @@ +probe syscallgroup.io = syscall.open, syscall.close, + syscall.read, syscall.write +{ groupname = "io" } + +probe syscallgroup.process = syscall.fork, syscall.execve +{ groupname = "process" } + +probe syscallgroup.* +{ groups [execname() . "/" . groupname] ++ } + +probe end +{ + foreach (eg+ in groups) + printf ("%s: %d\n", eg, groups[eg]) +} + +global groups |