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/lib.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/lib.stp')
-rw-r--r-- | testsuite/systemtap.exelib/lib.stp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/systemtap.exelib/lib.stp b/testsuite/systemtap.exelib/lib.stp new file mode 100644 index 00000000..0151282e --- /dev/null +++ b/testsuite/systemtap.exelib/lib.stp @@ -0,0 +1,18 @@ +// Plain function call probes in executable and shared library +// Arguments: @1 uprobes_exe, @2 libuprobes_lib.so + +probe process(@1).function("main") { + printf("main\n"); +} + +probe process(@1).function("main_func") { + printf("main_func\n"); +} + +probe process(@2).function("lib_main") { + printf("lib_main\n"); +} + +probe process(@2).function("lib_func") { + printf("lib_func\n"); +} |