summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-04-28 14:01:50 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-04-28 14:01:50 -0400
commitbe1b875ec567a8947da5893c09ad71478a4b50a9 (patch)
tree4f34c1023a06fecd5e46d32ae86039806b0e3b82 /tapsets.cxx
parentf98a02cee66ba983187058e3b09a0a712fbe2277 (diff)
downloadsystemtap-steved-be1b875ec567a8947da5893c09ad71478a4b50a9.tar.gz
systemtap-steved-be1b875ec567a8947da5893c09ad71478a4b50a9.tar.xz
systemtap-steved-be1b875ec567a8947da5893c09ad71478a4b50a9.zip
populate sess.unwindsym_modules set from dwarf probes
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index c10196e2..522c1f94 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -2764,6 +2764,7 @@ dwarf_query::add_probe_point(const string& funcname,
if (! bad)
{
+ sess.unwindsym_modules.insert (module);
probe = new dwarf_derived_probe(funcname, filename, line,
module, reloc_section, addr, reloc_addr, *this, scope_die);
results.push_back(probe);
@@ -2772,7 +2773,6 @@ dwarf_query::add_probe_point(const string& funcname,
-
// The critical determining factor when interpreting a pattern
// string is, perhaps surprisingly: "presence of a lineno". The
// presence of a lineno changes the search strategy completely.
@@ -4263,6 +4263,7 @@ dwarf_builder::build(systemtap_session & sess,
q.statement_num_val, q.statement_num_val,
q, 0);
finished_results.push_back (p);
+ sess.unwindsym_modules.insert ("kernel");
return;
}