summaryrefslogtreecommitdiffstats
path: root/runtime/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/stack.c')
-rw-r--r--runtime/stack.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/stack.c b/runtime/stack.c
index 73ac19cf..7037fa8f 100644
--- a/runtime/stack.c
+++ b/runtime/stack.c
@@ -30,6 +30,14 @@
#include "sym.c"
#include "regs.h"
+static int _stp_kta(unsigned long addr)
+{
+ if (addr >= stap_symbols[0].addr &&
+ addr <= stap_symbols[stap_num_symbols-1].addr)
+ return 1;
+ return 0;
+}
+
#if defined (__x86_64__)
static void __stp_stack_sprint (String str, unsigned long *stack, int verbose, int levels)