summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-09-11 16:16:25 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-09-11 16:16:25 -0400
commit35dc8b0471eb566a2e15a1ed24e9ad26362cf6b1 (patch)
treeea45c65ad60b7d46e3db7535039281084cd23549 /tapsets.cxx
parent41a6bdc97595066a4f8fd3147102cc36b54c5822 (diff)
downloadsystemtap-steved-35dc8b0471eb566a2e15a1ed24e9ad26362cf6b1.tar.gz
systemtap-steved-35dc8b0471eb566a2e15a1ed24e9ad26362cf6b1.tar.xz
systemtap-steved-35dc8b0471eb566a2e15a1ed24e9ad26362cf6b1.zip
PR6871: sadly, reenable prologue searching for user-space function probes
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 308cef1f..4d47dca1 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -3458,13 +3458,8 @@ query_func_info (Dwarf_Addr entrypc,
}
else
{
- if (q->sess.prologue_searching
- && !q->has_statement_str && !q->has_statement_num
- && !q->sess.ignore_vmlinux && !q->sess.ignore_dwarf) // PR 2608
+ if (fi.prologue_end != 0)
{
- if (fi.prologue_end == 0)
- throw semantic_error("could not find prologue-end "
- "for probed function '" + fi.name + "'");
query_statement (fi.name, fi.decl_file, fi.decl_line,
&fi.die, fi.prologue_end, q);
}
@@ -3718,7 +3713,7 @@ query_cu (Dwarf_Die * cudie, void * arg)
if (rc != DWARF_CB_OK)
q->query_done = true;
- if (q->sess.prologue_searching
+ if ((q->sess.prologue_searching || q->has_process) // PR 6871
&& !q->has_statement_str && !q->has_statement_num) // PR 2608
if (! q->filtered_functions.empty())
q->dw.resolve_prologue_endings (q->filtered_functions);