summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-03-24 16:41:31 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-03-24 16:41:31 -0400
commit5d6b014268ca47386ef92525b8669429dec6e49c (patch)
treed93914d164b51a9994b50ad3de60422ec6f102f9 /translate.cxx
parentb84e888167b9ecc22497730078759ee3a7c4914e (diff)
downloadsystemtap-steved-5d6b014268ca47386ef92525b8669429dec6e49c.tar.gz
systemtap-steved-5d6b014268ca47386ef92525b8669429dec6e49c.tar.xz
systemtap-steved-5d6b014268ca47386ef92525b8669429dec6e49c.zip
further accelerate pass-3 symbol/unwind process, skip one more iteration
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/translate.cxx b/translate.cxx
index 798d52fe..55b266bf 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -4824,9 +4824,10 @@ emit_symbol_data (systemtap_session& s)
do
{
if (pending_interrupts) return;
+ if (ctx.undone_unwindsym_modules.empty()) return;
off = dwfl_getmodules (dwfl, &dump_unwindsyms, (void *) &ctx, 0);
}
- while (off > 0 && !ctx.undone_unwindsym_modules.empty());
+ while (off > 0);
dwfl_assert("dwfl_getmodules", off == 0);
}
dwfl_end(dwfl);
@@ -4862,9 +4863,10 @@ emit_symbol_data (systemtap_session& s)
do
{
if (pending_interrupts) return;
+ if (ctx.undone_unwindsym_modules.empty()) return;
off = dwfl_getmodules (dwfl, &dump_unwindsyms, (void *) &ctx, 0);
}
- while (off > 0 && !ctx.undone_unwindsym_modules.empty());
+ while (off > 0);
dwfl_assert("dwfl_getmodules", off == 0);
}
dwfl_end(dwfl);