summaryrefslogtreecommitdiffstats
path: root/tapset/process.stp
diff options
context:
space:
mode:
Diffstat (limited to 'tapset/process.stp')
-rw-r--r--tapset/process.stp4
1 files changed, 2 insertions, 2 deletions
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)
}