summaryrefslogtreecommitdiffstats
path: root/runtime/uprobes/uprobes.h
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2010-01-13 15:09:10 -0500
committerDave Brolley <brolley@redhat.com>2010-01-13 15:09:10 -0500
commit39aa76ca86f83daa71b269cbb2aaa0f0f0931487 (patch)
tree1429089179013f4f13e758b32fcff53dd782a4bf /runtime/uprobes/uprobes.h
parentf73d5cad4e9aa5baa0a763a76cf4516721d29b2a (diff)
parent75de0a1f306ecedfe992b9b3ad8b8f2f76d8d24a (diff)
downloadsystemtap-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.h6
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