summaryrefslogtreecommitdiffstats
path: root/elaborate.cxx
diff options
context:
space:
mode:
authorfche <fche>2007-05-26 01:55:20 +0000
committerfche <fche>2007-05-26 01:55:20 +0000
commit888af770ba125802efa0f9209064be7b5d000f87 (patch)
tree5d8d904fbd356e4d64681d994c0f807e3aff67a9 /elaborate.cxx
parentd99bc65f2bcb24a0649444314e67a0bb97e351cc (diff)
downloadsystemtap-steved-888af770ba125802efa0f9209064be7b5d000f87.tar.gz
systemtap-steved-888af770ba125802efa0f9209064be7b5d000f87.tar.xz
systemtap-steved-888af770ba125802efa0f9209064be7b5d000f87.zip
2007-05-25 Frank Ch. Eigler <fche@redhat.com>
PR 4255 teaser. * elaborate.cxx (has_null_param): New function. * elaborate.h: Declare it. * session.h: Include uprobe_derived_probes group. * tapsets.cxx (uprobe_*): New classes. (all_session_groups): List uprobes in list. (register_standard_tapset): Interpret process(#).statement(#).absolute and process(#).statement(#).absolute.return probe points.
Diffstat (limited to 'elaborate.cxx')
-rw-r--r--elaborate.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/elaborate.cxx b/elaborate.cxx
index 8ec376c0..b52cc4aa 100644
--- a/elaborate.cxx
+++ b/elaborate.cxx
@@ -146,6 +146,15 @@ derived_probe_builder::get_param (std::map<std::string, literal*> const & params
}
+bool
+derived_probe_builder::has_null_param (std::map<std::string, literal*> const & params,
+ const std::string& key)
+{
+ map<string, literal *>::const_iterator i = params.find(key);
+ return (i != params.end() && i->second == NULL);
+}
+
+
// ------------------------------------------------------------------------
// Members of match_key.
@@ -1004,6 +1013,7 @@ systemtap_session::systemtap_session ():
user_file (0),
be_derived_probes(0),
dwarf_derived_probes(0),
+ uprobe_derived_probes(0),
timer_derived_probes(0),
profile_derived_probes(0),
mark_derived_probes(0),