summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index c953dd78..f91d15d3 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -3390,7 +3390,8 @@ sdt_query::handle_query_module()
while (get_next_probe())
{
- if (!probes_handled.insert(probe_name).second)
+ if (probe_type != uprobe_type
+ && !probes_handled.insert(probe_name).second)
continue;
probe *new_base = new probe(*base_probe);
@@ -3424,7 +3425,7 @@ sdt_query::handle_query_module()
params[c->functor] = c->arg;
}
- dwarf_query q(base_probe, base_loc, dw, params, results);
+ dwarf_query q(new_base, new_location, dw, params, results);
q.has_mark = true; // enables mid-statement probing
dw.iterate_over_modules(&query_module, &q);
}