diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-04-21 17:16:51 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-04-21 17:16:51 +0200 |
commit | c45319065d6e3ae91ae833f7afbf0edba6c87d89 (patch) | |
tree | a5e0618ee9bea4911cac01b7df5f3ddbb6260fca /testsuite/buildok | |
parent | 6094e1992123454047c79ce724475c49e834d218 (diff) | |
download | systemtap-steved-c45319065d6e3ae91ae833f7afbf0edba6c87d89.tar.gz systemtap-steved-c45319065d6e3ae91ae833f7afbf0edba6c87d89.tar.xz systemtap-steved-c45319065d6e3ae91ae833f7afbf0edba6c87d89.zip |
Add ubacktrace(), print_ustack() and print_ubacktrace().
* runtime/sym.c (_stp_usymbol_print): New function.
* tapset/ucontext-unwind.stp (print_ubacktrace): New tapset function.
(ubacktrace): Likewise.
* tapset/ucontext-symbols.stp (print_ustack): Likewise.
* testsuite/buildok/ustack.stp: New test for above three functions.
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-x | testsuite/buildok/ustack.stp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/buildok/ustack.stp b/testsuite/buildok/ustack.stp new file mode 100755 index 00000000..23af0bff --- /dev/null +++ b/testsuite/buildok/ustack.stp @@ -0,0 +1,10 @@ +#! stap -p4 +# +# Test the translatability for ubacktrace(), print_ustack() +# and print_ubacktrace() +# +probe begin +{ + print_ustack(ubacktrace()); + print_ubacktrace(); +} |