summaryrefslogtreecommitdiffstats
path: root/elaborate.h
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-10-13 11:52:22 -0400
committerDave Brolley <brolley@redhat.com>2009-10-13 11:52:22 -0400
commit8f6d8c2bd3e5c1d2881e2ebe1c7ad5deb389e581 (patch)
treef8a2e01b07e9fd351a1d598846b5d51ee69736f1 /elaborate.h
parent2865d17a48d055b3aef6e45506292908800cdb21 (diff)
downloadsystemtap-steved-8f6d8c2bd3e5c1d2881e2ebe1c7ad5deb389e581.tar.gz
systemtap-steved-8f6d8c2bd3e5c1d2881e2ebe1c7ad5deb389e581.tar.xz
systemtap-steved-8f6d8c2bd3e5c1d2881e2ebe1c7ad5deb389e581.zip
Ensure that unprivileged-authorized probe point functions are hashed differently
than non-authorized ones for the purpose of removing duplicates. 2009-10-13 Dave Brolley <brolley@redhat.com> * elaborate.h (print_dupe_stamp_unprivileged): New static method of derived_probe. (print_dupe_stamp_unprivileged_process_owner): Likewise. * elaborate.cxx (print_dupe_stamp_unprivileged): New static method of derived_probe. (print_dupe_stamp_unprivileged_process_owner): Likewise. * tapset-been.cxx (print_dupe_stamp): New virtual method of be_derived_p robe and never_derived_probe. * tapset-utrace.cxx (print_dupe_stamp): New virtual method of utrace_der ived_probe * tapset-itrace.cxx (itrace_derived_probe::emit_unprivileged_assertion): Removed. (itrace_builder::check_unprivileged): Removed. * tapsets.cxx (print_dupe_stamp): New virtual method of uprobe_derived_p robe
Diffstat (limited to 'elaborate.h')
-rw-r--r--elaborate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/elaborate.h b/elaborate.h
index d41608cb..2da4fa1e 100644
--- a/elaborate.h
+++ b/elaborate.h
@@ -159,6 +159,9 @@ public:
// From within unparser::emit_probe, emit a check that the current
// process belongs to the user.
+ static void print_dupe_stamp_unprivileged(std::ostream& o);
+ static void print_dupe_stamp_unprivileged_process_owner(std::ostream& o);
+
virtual bool needs_global_locks () { return true; }
// by default, probes need locks around global variables
};