diff options
author | Martin Hunt <hunt@redhat.com> | 2008-03-28 17:01:40 -0400 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 2008-03-28 17:01:40 -0400 |
commit | 580f1a959f79fdd5534a5f2f8daeb415399f38ac (patch) | |
tree | 9a9376db87cc1e6a2410afebbef10cc7e2415915 /runtime/stack-x86_64.c | |
parent | 614ead2b7dd8ac70cd89d018b09a397be7ade371 (diff) | |
download | systemtap-steved-580f1a959f79fdd5534a5f2f8daeb415399f38ac.tar.gz systemtap-steved-580f1a959f79fdd5534a5f2f8daeb415399f38ac.tar.xz systemtap-steved-580f1a959f79fdd5534a5f2f8daeb415399f38ac.zip |
dded _stp_read_address() and changed code to use it.
Diffstat (limited to 'runtime/stack-x86_64.c')
-rw-r--r-- | runtime/stack-x86_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stack-x86_64.c b/runtime/stack-x86_64.c index 846653be..96f82004 100644 --- a/runtime/stack-x86_64.c +++ b/runtime/stack-x86_64.c @@ -15,7 +15,7 @@ static void _stp_stack_print_fallback(unsigned long stack, int verbose) { unsigned long addr; while (stack & (THREAD_SIZE - 1)) { - if (unlikely(__stp_get_user(addr, (unsigned long *)stack))) { + if (unlikely(_stp_read_address(addr, (unsigned long *)stack, KERNEL_DS))) { /* cannot access stack. give up. */ return; } |