diff options
author | fche <fche> | 2007-02-25 23:03:49 +0000 |
---|---|---|
committer | fche <fche> | 2007-02-25 23:03:49 +0000 |
commit | aa30ccd31a0163bed25b993ae386efe1cd1feb39 (patch) | |
tree | ae223d1620408b9f8f62b4af6faa75ac2451d024 /elaborate.h | |
parent | 5dbd55d7b4012a10e41c18ebaaddfb534c1b9196 (diff) | |
download | systemtap-steved-aa30ccd31a0163bed25b993ae386efe1cd1feb39.tar.gz systemtap-steved-aa30ccd31a0163bed25b993ae386efe1cd1feb39.tar.xz systemtap-steved-aa30ccd31a0163bed25b993ae386efe1cd1feb39.zip |
2007-02-25 Frank Ch. Eigler <fche@redhat.com>
* elaborate.h (match_node, derived_probe_builder): Add
build_no_more member function.
* elaborate.cxx (semantic_pass_symbols): Call it.
* tapsets.cxx (dwarf_builder): Implement it by releasing dwflpp
instance after pass 2, freeing mucho memory.
Diffstat (limited to 'elaborate.h')
-rw-r--r-- | elaborate.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/elaborate.h b/elaborate.h index aafe0ae1..8c3a6869 100644 --- a/elaborate.h +++ b/elaborate.h @@ -1,5 +1,5 @@ // -*- C++ -*- -// Copyright (C) 2005, 2006 Red Hat Inc. +// Copyright (C) 2005-2007 Red Hat Inc. // // This file is part of systemtap, and is free software. You can // redistribute it and/or modify it under the terms of the GNU General @@ -170,6 +170,7 @@ struct derived_probe_builder std::map<std::string, literal*> const & parameters, std::vector<derived_probe*> & finished_results) = 0; virtual ~derived_probe_builder() {} + virtual void build_no_more (systemtap_session &) {} static bool get_param (std::map<std::string, literal*> const & parameters, const std::string& key, std::string& value); @@ -210,6 +211,7 @@ match_node void find_and_build (systemtap_session& s, probe* p, probe_point *loc, unsigned pos, std::vector<derived_probe *>& results); + void build_no_more (systemtap_session &s); match_node* bind(match_key const & k); match_node* bind(std::string const & k); |