diff options
author | Dave Brolley <brolley@redhat.com> | 2010-01-13 15:09:10 -0500 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2010-01-13 15:09:10 -0500 |
commit | 39aa76ca86f83daa71b269cbb2aaa0f0f0931487 (patch) | |
tree | 1429089179013f4f13e758b32fcff53dd782a4bf /runtime/uprobes/uprobes.h | |
parent | f73d5cad4e9aa5baa0a763a76cf4516721d29b2a (diff) | |
parent | 75de0a1f306ecedfe992b9b3ad8b8f2f76d8d24a (diff) | |
download | systemtap-steved-39aa76ca86f83daa71b269cbb2aaa0f0f0931487.tar.gz systemtap-steved-39aa76ca86f83daa71b269cbb2aaa0f0f0931487.tar.xz systemtap-steved-39aa76ca86f83daa71b269cbb2aaa0f0f0931487.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/uprobes/uprobes.h')
-rw-r--r-- | runtime/uprobes/uprobes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/uprobes/uprobes.h b/runtime/uprobes/uprobes.h index 80725f23..2096ff20 100644 --- a/runtime/uprobes/uprobes.h +++ b/runtime/uprobes/uprobes.h @@ -107,6 +107,12 @@ extern void unmap_uretprobe(struct uretprobe *rp); extern unsigned long uprobe_get_pc(struct uretprobe_instance *ri, unsigned long pc, unsigned long sp); +/* + * This version will do the mapping for an arbitrary task. + */ +extern unsigned long uprobe_get_pc_task(struct task_struct *task, + unsigned long pc, + unsigned long sp); #ifdef UPROBES_IMPLEMENTATION |