From 66671fd8e5bccd2b15ffe50299c81e964d7e7dbe Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 18 Aug 2009 10:54:11 -0700 Subject: Adapt tracepoints to the new probe_locals union * tapsets.cxx (tracepoint_derived_probe_group::emit_module_decls): Use probe_locals to set the tracepoint arguments for the probe. * testsuite/systemtap.base/tracepoints.exp: Include the arguments in the pass-4 tracepoint test. --- testsuite/systemtap.base/tracepoints.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/systemtap.base') diff --git a/testsuite/systemtap.base/tracepoints.exp b/testsuite/systemtap.base/tracepoints.exp index cd033908..a4e38c05 100644 --- a/testsuite/systemtap.base/tracepoints.exp +++ b/testsuite/systemtap.base/tracepoints.exp @@ -13,7 +13,7 @@ catch {close}; catch { wait } foreach tp $tracepoints { set test "tracepoint $tp -p4" - if {[catch {exec stap -w -p4 -e "probe $tp {}"} res]} { + if {[catch {exec stap -w -p4 -e "probe $tp { println($\$name, $\$vars) }"} res]} { fail "$test $res" } else { pass "$test" -- cgit