From a93f0b31fe6c8961aef9da22ce2cf41d8fd52240 Mon Sep 17 00:00:00 2001 From: Stan Cox Date: Tue, 5 Aug 2008 12:31:21 -0400 Subject: Add test for $$vars, $$params, $$locals. --- tapsets.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'tapsets.cxx') diff --git a/tapsets.cxx b/tapsets.cxx index ca91659b..71c92470 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -4280,6 +4280,7 @@ dwarf_var_expanding_copy_visitor::visit_target_symbol (target_symbol *e) case DW_TAG_variable: if (e->base_name == "$$parms") continue; + break; case DW_TAG_formal_parameter: if (e->base_name == "$$locals") continue; -- cgit From 41211ba31d863acbff6603446f7eefa28c874ddf Mon Sep 17 00:00:00 2001 From: David Smith Date: Fri, 8 Aug 2008 13:47:27 -0500 Subject: Moved details of utrace detach to stap_utrace_detach(). 2008-08-08 David Smith * tapsets.cxx (utrace_derived_probe_group::emit_module_decls): Calls stap_utrace_detach() to perform detach. 2008-08-08 David Smith * task_finder.c (stap_utrace_detach): New function. (stap_utrace_detach_ops): Calls stap_utrace_detach(). (__stp_utrace_attach_match_filename): Ditto. --- tapsets.cxx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'tapsets.cxx') diff --git a/tapsets.cxx b/tapsets.cxx index 71c92470..c5679043 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -6290,13 +6290,7 @@ utrace_derived_probe_group::emit_module_decls (systemtap_session& s) s.op->newline() << "case UDPF_SYSCALL:"; s.op->newline() << "case UDPF_SYSCALL_RETURN:"; s.op->indent(1); - s.op->newline() << "engine = utrace_attach(tsk, UTRACE_ATTACH_MATCH_OPS, &p->ops, 0);"; - s.op->newline() << "if (! IS_ERR(engine) && engine != NULL) {"; - s.op->indent(1); - s.op->newline() << "utrace_detach(tsk, engine);"; - s.op->newline() << "debug_task_finder_detach();"; - - s.op->newline(-1) << "}"; + s.op->newline() << "stap_utrace_detach(tsk, &p->ops);"; s.op->newline() << "break;"; s.op->indent(-1); } -- cgit