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-06-23 17:41:39 -0400
commit1a0dbc5a7ff6ec220b9b4b150ce5cfb6c035d1f5 (patch)
treeed0446ecc8e629ed398494b89cd964da612fcb4f /tapsets.cxx
parenta8368458b976929634935d66202d27927e3c2ed9 (diff)
downloadsystemtap-steved-1a0dbc5a7ff6ec220b9b4b150ce5cfb6c035d1f5.tar.gz
systemtap-steved-1a0dbc5a7ff6ec220b9b4b150ce5cfb6c035d1f5.tar.xz
systemtap-steved-1a0dbc5a7ff6ec220b9b4b150ce5cfb6c035d1f5.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 7db0fc0a..7dd7cf27 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -3145,6 +3145,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);
@@ -3191,7 +3192,6 @@ dwarf_query::assess_dbinfo_reqt()
}
-
// 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.
@@ -4732,6 +4732,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;
}