summaryrefslogtreecommitdiffstats
path: root/tapset-mark.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapset-mark.cxx')
-rw-r--r--tapset-mark.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/tapset-mark.cxx b/tapset-mark.cxx
index 6dbc55dc..4d873eed 100644
--- a/tapset-mark.cxx
+++ b/tapset-mark.cxx
@@ -714,6 +714,8 @@ mark_builder::build(systemtap_session & sess,
void
register_tapset_mark(systemtap_session& s)
{
+ if (s.unprivileged) return;
+
match_node* root = s.pattern_root;
derived_probe_builder *builder = new mark_builder();