summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tapset/ChangeLog4
-rw-r--r--tapset/process.stp4
2 files changed, 6 insertions, 2 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
index 0e7de1fd..d6da0989 100644
--- a/tapset/ChangeLog
+++ b/tapset/ChangeLog
@@ -1,3 +1,7 @@
+2006-06-06 Josh Stone <joshua.i.stone@intel.com>
+
+ * process.stp (create, exec_complete): replace retval() with $return
+
2006-06-02 Josh Stone <joshua.i.stone@intel.com>
* process.stp (exec, exec_complete): conditionally include
diff --git a/tapset/process.stp b/tapset/process.stp
index 5f51f5ee..005a698a 100644
--- a/tapset/process.stp
+++ b/tapset/process.stp
@@ -24,7 +24,7 @@ function _IS_ERR:long(ptr:long) %{
* task - a handle to the newly created process.
*/
probe process.create = kernel.function("copy_process").return {
- task = retval()
+ task = $return
new_pid = task_pid(task)
if (_IS_ERR(task)) next
}
@@ -74,7 +74,7 @@ probe process.exec_complete =
kernel.function("do_execve").return,
kernel.function("compat_do_execve").return ?
{
- errno = retval()
+ errno = $return
success = (errno >= 0)
}