diff options
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 |