summaryrefslogtreecommitdiffstats
path: root/runtime/uprobes/uprobes.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-01-26 07:29:43 -0500
committerFrank Ch. Eigler <fche@elastic.org>2008-01-26 07:29:43 -0500
commit12ff32421213618b5802a90547d80cf7da504502 (patch)
tree326cc0efa5719a742f95b7580b605fbc91273de0 /runtime/uprobes/uprobes.h
parent96fcddffcf1ff26cd9a5d112bcef2541d8440c09 (diff)
parentfb10329303b55f4b7af98237e65d72c030df13b0 (diff)
downloadsystemtap-steved-12ff32421213618b5802a90547d80cf7da504502.tar.gz
systemtap-steved-12ff32421213618b5802a90547d80cf7da504502.tar.xz
systemtap-steved-12ff32421213618b5802a90547d80cf7da504502.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/uprobes/uprobes.h')
-rw-r--r--runtime/uprobes/uprobes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/uprobes/uprobes.h b/runtime/uprobes/uprobes.h
index e8a06599..418518f8 100644
--- a/runtime/uprobes/uprobes.h
+++ b/runtime/uprobes/uprobes.h
@@ -157,6 +157,13 @@ struct uprobe_ssol_area {
/* lock held while finding a free slot */
spinlock_t lock;
+ /*
+ * We currently use access_process_vm() to populate instruction
+ * slots. Calls must be serialized because access_process_vm()
+ * isn't thread-safe.
+ */
+ struct mutex populate_mutex;
+
/* Next slot to steal */
int next_slot;