diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-09-18 19:40:23 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-09-18 19:42:14 +0200 |
commit | 9500f4e4861b057f2335c76e7342aab0c8d9faf4 (patch) | |
tree | 52efc77deca56a32965dad7902f59e10a74eddad /tapset/ucontext-symbols.stp | |
parent | 296970e4051e45e672d39ecc78fb31e626852043 (diff) | |
download | systemtap-steved-9500f4e4861b057f2335c76e7342aab0c8d9faf4.tar.gz systemtap-steved-9500f4e4861b057f2335c76e7342aab0c8d9faf4.tar.xz systemtap-steved-9500f4e4861b057f2335c76e7342aab0c8d9faf4.zip |
Don't mark print_ustack() as pure, it has side effects (printing the stack).
* tapset/ucontext-symbols.stp (print_ustack): Remove /* pure */
Diffstat (limited to 'tapset/ucontext-symbols.stp')
-rw-r--r-- | tapset/ucontext-symbols.stp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset/ucontext-symbols.stp b/tapset/ucontext-symbols.stp index e884a36b..574a32be 100644 --- a/tapset/ucontext-symbols.stp +++ b/tapset/ucontext-symbols.stp @@ -64,7 +64,7 @@ function usymdata:string (addr: long) %{ /* pure */ /* unprivileged */ * name of the function containing the address, and an estimate of * its position within that function. Return nothing. */ -function print_ustack(stk:string) %{ /* pure */ /* unprivileged */ +function print_ustack(stk:string) %{ /* unprivileged */ char *ptr = THIS->stk; char *tok = strsep(&ptr, " "); assert_is_myproc(); |