diff options
author | jistone <jistone> | 2006-06-06 21:50:08 +0000 |
---|---|---|
committer | jistone <jistone> | 2006-06-06 21:50:08 +0000 |
commit | ea89646f808bcc6de27ff1ec77a1b7d10697bf95 (patch) | |
tree | f4a8621ac0f7f75d86710c90c420dc63aa971645 | |
parent | 96c5feca5d295c506ff64595309b353023f739a7 (diff) | |
download | systemtap-steved-ea89646f808bcc6de27ff1ec77a1b7d10697bf95.tar.gz systemtap-steved-ea89646f808bcc6de27ff1ec77a1b7d10697bf95.tar.xz systemtap-steved-ea89646f808bcc6de27ff1ec77a1b7d10697bf95.zip |
2006-06-06 Josh Stone <joshua.i.stone@intel.com>
* process.stp (create, exec_complete): replace retval() with $return
-rw-r--r-- | tapset/ChangeLog | 4 | ||||
-rw-r--r-- | tapset/process.stp | 4 |
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) } |