summaryrefslogtreecommitdiffstats
path: root/runtime/unwind.c
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-04-10 22:55:26 +0200
committerMark Wielaard <mjw@redhat.com>2009-04-10 22:55:26 +0200
commit6d6dbe278ad5fab5d33273b38c1ad137380a3e1e (patch)
treee362ff296c9e550838c2a72480da31d5491f9dbb /runtime/unwind.c
parent412e8ec0dadbc0010c865f9a285a748b8d08c053 (diff)
downloadsystemtap-steved-6d6dbe278ad5fab5d33273b38c1ad137380a3e1e.tar.gz
systemtap-steved-6d6dbe278ad5fab5d33273b38c1ad137380a3e1e.tar.xz
systemtap-steved-6d6dbe278ad5fab5d33273b38c1ad137380a3e1e.zip
Fix unwind _stp_mod_sec_lookup.
* runtime/unwind.c (unwind): Pass current to _stp_mod_sec_lookup().
Diffstat (limited to 'runtime/unwind.c')
-rw-r--r--runtime/unwind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/unwind.c b/runtime/unwind.c
index 9c704e28..f7b19def 100644
--- a/runtime/unwind.c
+++ b/runtime/unwind.c
@@ -581,7 +581,7 @@ static int unwind(struct unwind_frame_info *frame)
if (UNW_PC(frame) == 0)
return -EINVAL;
- m = _stp_mod_sec_lookup (pc, &s);
+ m = _stp_mod_sec_lookup (pc, current, &s);
if (unlikely(m == NULL)) {
dbug_unwind(1, "No module found for pc=%lx", pc);
return -EINVAL;