]> sourceware.org Git - systemtap.git/commitdiff
PR20982: fix some function parameter mis-renaming typo in PR14900
authorBenjamin Coddington <bcodding@redhat.com>
Wed, 21 Dec 2016 20:43:39 +0000 (15:43 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 21 Dec 2016 21:08:39 +0000 (16:08 -0500)
... in function stack:long

tapset/linux/context-symbols.stp

index 0585ca39939ce85278da09f3e944dbb8f5a18c6f..e710209b89eec4d5a819391dd72fc00cc9da4c5d 100644 (file)
@@ -34,13 +34,13 @@ function stack:long (n:long) {
          if (__r != 0) return __r
 
          /* fallback: parse backtrace() to go deeper in the stack */
-         __b = backtrace (); __orig_n = __n;
+         __b = backtrace (); __orig_n = n;
          __sym = tokenize (__b, " ");
          if (__sym == "") @__context_unwind_error(__orig_n);
-         while (__n > 0) {
+         while (n > 0) {
                __sym = tokenize ("", " ");
                if (__sym == "") @__context_unwind_error(__orig_n);
-               __n--;
+               n--;
          }
          return strtol(__sym, 16)
 }
This page took 0.033909 seconds and 5 git commands to generate.