summaryrefslogtreecommitdiffstats
path: root/tapset-itrace.cxx
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-09-14 17:47:26 -0400
committerDave Brolley <brolley@redhat.com>2009-09-14 17:47:26 -0400
commit9df741675d7e36008869dfff46ccc602875dc091 (patch)
tree1deafeacb302f9154586708ada7a240470aa6b4a /tapset-itrace.cxx
parentb232fab3a271c4c787462295d7ffbeca750c1092 (diff)
parent775c3771bb4a5f663a763d7c65b1571e24e4b212 (diff)
downloadsystemtap-steved-9df741675d7e36008869dfff46ccc602875dc091.tar.gz
systemtap-steved-9df741675d7e36008869dfff46ccc602875dc091.tar.xz
systemtap-steved-9df741675d7e36008869dfff46ccc602875dc091.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Conflicts: aclocal.m4 configure doc/SystemTap_Tapset_Reference/Makefile.in testsuite/aclocal.m4 testsuite/configure
Diffstat (limited to 'tapset-itrace.cxx')
-rw-r--r--tapset-itrace.cxx16
1 files changed, 12 insertions, 4 deletions
diff --git a/tapset-itrace.cxx b/tapset-itrace.cxx
index dee2fe64..9fc59d42 100644
--- a/tapset-itrace.cxx
+++ b/tapset-itrace.cxx
@@ -299,10 +299,18 @@ register_tapset_itrace(systemtap_session& s)
match_node* root = s.pattern_root;
derived_probe_builder *builder = new itrace_builder();
- root->bind_str(TOK_PROCESS)->bind(TOK_INSN)->bind(builder);
- root->bind_num(TOK_PROCESS)->bind(TOK_INSN)->bind(builder);
- root->bind_str(TOK_PROCESS)->bind(TOK_INSN)->bind(TOK_BLOCK)->bind(builder);
- root->bind_num(TOK_PROCESS)->bind(TOK_INSN)->bind(TOK_BLOCK)->bind(builder);
+ root->bind_str(TOK_PROCESS)->bind(TOK_INSN)
+ ->allow_unprivileged()
+ ->bind(builder);
+ root->bind_num(TOK_PROCESS)->bind(TOK_INSN)
+ ->allow_unprivileged()
+ ->bind(builder);
+ root->bind_str(TOK_PROCESS)->bind(TOK_INSN)->bind(TOK_BLOCK)
+ ->allow_unprivileged()
+ ->bind(builder);
+ root->bind_num(TOK_PROCESS)->bind(TOK_INSN)->bind(TOK_BLOCK)
+ ->allow_unprivileged()
+ ->bind(builder);
}