From 888af770ba125802efa0f9209064be7b5d000f87 Mon Sep 17 00:00:00 2001 From: fche Date: Sat, 26 May 2007 01:55:20 +0000 Subject: 2007-05-25 Frank Ch. Eigler 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. --- elaborate.cxx | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'elaborate.cxx') 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 const & params } +bool +derived_probe_builder::has_null_param (std::map const & params, + const std::string& key) +{ + map::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), -- cgit