diff options
author | fche <fche> | 2007-05-26 01:55:20 +0000 |
---|---|---|
committer | fche <fche> | 2007-05-26 01:55:20 +0000 |
commit | 888af770ba125802efa0f9209064be7b5d000f87 (patch) | |
tree | 5d8d904fbd356e4d64681d994c0f807e3aff67a9 /elaborate.cxx | |
parent | d99bc65f2bcb24a0649444314e67a0bb97e351cc (diff) | |
download | systemtap-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.cxx | 10 |
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), |