From 7018ffc32898930158a83d04248554581d3168f4 Mon Sep 17 00:00:00 2001 From: jistone Date: Thu, 18 May 2006 00:47:48 +0000 Subject: 2006-05-17 Josh Stone * process.stp: Rename signal.send to signal_send and process.complete to process_complete, to allow process.* to work properly. * process.stp (_IS_ERR): declare parameter type * process.stp (process.create): correct new_pid assignment --- examples/small_demos/proc_snoop.stp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/small_demos/proc_snoop.stp b/examples/small_demos/proc_snoop.stp index c7517496..5b46d343 100755 --- a/examples/small_demos/proc_snoop.stp +++ b/examples/small_demos/proc_snoop.stp @@ -30,7 +30,7 @@ probe process.exec { report(sprintf("exec %s", filename)) } -probe process.exec.complete { +probe process.exec_complete { if (success) report("exec success") else @@ -45,13 +45,13 @@ probe process.release { report(sprintf("remove %s", id(task))) } -probe process.signal.send { +probe process.signal_send { report(sprintf("sigsend %d (%s) to %s%s", signal, signal_name, id(task), shared? " [SHARED]" : "")) } /* FIXME this probepoint is not fully implemented -probe process.signal.handle { +probe process.signal_handle { report(sprintf("sighandle %d (%s)", signal, signal_name)) } */ -- cgit