diff options
author | Dave Brolley <brolley@redhat.com> | 2009-06-15 11:57:03 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-06-15 11:57:03 -0400 |
commit | 148b5d924e05124eae22a27ef670c480de76553a (patch) | |
tree | 894d71a8cc22f2c37cc1313154db9a8d1abb8b15 /testsuite/systemtap.exelib/uname.stp | |
parent | c3a47b9b2c204849646eda60e6fff9ea7625f122 (diff) | |
parent | d438dd9bc070216016e02f4958fe9dea571712c9 (diff) | |
download | systemtap-steved-148b5d924e05124eae22a27ef670c480de76553a.tar.gz systemtap-steved-148b5d924e05124eae22a27ef670c480de76553a.tar.xz systemtap-steved-148b5d924e05124eae22a27ef670c480de76553a.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/systemtap.exelib/uname.stp')
-rw-r--r-- | testsuite/systemtap.exelib/uname.stp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/systemtap.exelib/uname.stp b/testsuite/systemtap.exelib/uname.stp new file mode 100644 index 00000000..aaf7ef1f --- /dev/null +++ b/testsuite/systemtap.exelib/uname.stp @@ -0,0 +1,10 @@ +// Prints probefunc() and usymname(uaddr()) to check they are similar. +// Arguments: @1 uprobes_exe, @2 libuprobes_lib.so + +probe process(@1).function("*") { + printf("exe: %s=%s\n",probefunc(), usymname(uaddr())); +} + +probe process(@2).function("*") { + printf("lib: %s=%s\n",probefunc(), usymname(uaddr())); +} |