summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index d05b548a..463cbf68 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -85,6 +85,10 @@ struct be_derived_probe: public derived_probe
static inline bool comp(be_derived_probe const *a,
be_derived_probe const *b)
{ return a->priority < b->priority; }
+
+ bool needs_global_locks () { return false; }
+ // begin/end probes don't need locks around global variables, since
+ // they aren't run concurrently with any other probes
};