diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-05-22 16:25:24 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-05-22 16:25:24 -0400 |
commit | baee44464046d3960fe385baffa8d273f2198236 (patch) | |
tree | c361e7f932c641a9668adb080102b22a1d7b678c /tapsets.cxx | |
parent | e3339150b3c04f50b0abdc4a6d132a6b75b22cb6 (diff) | |
parent | cf314c0fcb625876d8440291af6a21b86abf66f4 (diff) | |
download | systemtap-steved-baee44464046d3960fe385baffa8d273f2198236.tar.gz systemtap-steved-baee44464046d3960fe385baffa8d273f2198236.tar.xz systemtap-steved-baee44464046d3960fe385baffa8d273f2198236.zip |
Merge commit 'origin/master' into pr6429-comp-unwindsyms
* commit 'origin/master':
PR5643: fix .statement(NUM) regression
powerpc register+arg access
Diffstat (limited to 'tapsets.cxx')
-rw-r--r-- | tapsets.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tapsets.cxx b/tapsets.cxx index 7207c072..54b951cd 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -2527,6 +2527,15 @@ dwflpp::iterate_over_functions (int (* callback)(Dwarf_Die * func, void * arg), } } } + else if (q->has_statement_num) // searching all for kernel.statement + { + for (cu_function_cache_t::iterator it = v->begin(); it != v->end(); it++) + { + Dwarf_Die die = it->second; + rc = (*callback)(& die, data); + if (rc != DWARF_CB_OK) break; + } + } else // not a wildcard and no match in this CU { // do nothing |