From aa30ccd31a0163bed25b993ae386efe1cd1feb39 Mon Sep 17 00:00:00 2001 From: fche Date: Sun, 25 Feb 2007 23:03:49 +0000 Subject: 2007-02-25 Frank Ch. Eigler * 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. --- elaborate.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'elaborate.h') 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 const & parameters, std::vector & finished_results) = 0; virtual ~derived_probe_builder() {} + virtual void build_no_more (systemtap_session &) {} static bool get_param (std::map 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& results); + void build_no_more (systemtap_session &s); match_node* bind(match_key const & k); match_node* bind(std::string const & k); -- cgit