diff options
author | David Smith <dsmith@redhat.com> | 2010-03-23 16:37:59 -0500 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2010-03-23 16:37:59 -0500 |
commit | d2f8bc76b0165cfe6e2e23b1dfab9f044e33a38a (patch) | |
tree | af768b4a0eebe761b2f7ce9fc45330a7a384df7e | |
parent | 4afa95f6c4f601ce9c002913b94864c99ebf4392 (diff) | |
download | systemtap-steved-d2f8bc76b0165cfe6e2e23b1dfab9f044e33a38a.tar.gz systemtap-steved-d2f8bc76b0165cfe6e2e23b1dfab9f044e33a38a.tar.xz systemtap-steved-d2f8bc76b0165cfe6e2e23b1dfab9f044e33a38a.zip |
Fixed PR 11425 by fixing probefunc() when used with kprobe.function.
* tapset/context-symbols.stp: Fixed probefunc() by looking for '"' as the
end of the function name along with '@'.
-rw-r--r-- | tapset/context-symbols.stp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset/context-symbols.stp b/tapset/context-symbols.stp index 38900196..f38c9ec1 100644 --- a/tapset/context-symbols.stp +++ b/tapset/context-symbols.stp @@ -56,7 +56,7 @@ function probefunc:string () %{ /* pure */ if (start) { int len = MAXSTRINGLEN; char *dst = THIS->__retvalue; - while (*ptr != '@' && --len > 0 && *ptr) + while (*ptr != '@' && *ptr != '"' && --len > 0 && *ptr) *dst++ = *ptr++; *dst = 0; |