From a688cff28de458448f40584acfa5f22d7e444471 Mon Sep 17 00:00:00 2001 From: Stan Cox Date: Sun, 21 Dec 2008 22:48:38 -0500 Subject: Put a block around the probe point. --- testsuite/ChangeLog | 4 ++++ testsuite/systemtap.base/static_uprobes.exp | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'testsuite') diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index dc91a215..b18ccf61 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-12-21 Stan Cox + + * systemtap.base/static_uprobes.exp: Parms now called $argN + 2008-12-16 Stan Cox * systemtap.base/static_uprobes.exp: Generate our own probes file. diff --git a/testsuite/systemtap.base/static_uprobes.exp b/testsuite/systemtap.base/static_uprobes.exp index f3f26d8a..354256db 100644 --- a/testsuite/systemtap.base/static_uprobes.exp +++ b/testsuite/systemtap.base/static_uprobes.exp @@ -112,7 +112,7 @@ set fp [open "[pwd]/static_uprobes.stp" "w"] puts $fp " probe process(\"static_uprobes.x\").mark(\"label0\") { - printf(\"In label0 probe %#x\\n\", \$label0_arg1) + printf(\"In label0 probe %#x\\n\", \$arg1) } probe process(\"static_uprobes.x\").mark(\"label1\") { @@ -120,15 +120,15 @@ probe process(\"static_uprobes.x\").mark(\"label1\") } probe process(\"static_uprobes.x\").mark(\"label2\") { - printf(\"In label2 probe %#x\\n\", \$label2_arg1) + printf(\"In label2 probe %#x\\n\", \$arg1) } probe process(\"static_uprobes.x\").mark(\"label3\") { - printf(\"In label3 probe %#x %#x\\n\", \$label3_arg1, \$label3_arg2) + printf(\"In label3 probe %#x %#x\\n\", \$arg1, \$arg2) } probe process(\"static_uprobes.x\").mark(\"label4\") { - printf(\"In label4 dtrace probe %#x\\n\", \$label4_arg1) + printf(\"In label4 dtrace probe %#x\\n\", \$arg1) } " close $fp -- cgit