svn commit: r294556 - head/share/dtrace
Devin Teske
dteske at FreeBSD.org
Fri Jan 22 08:42:53 UTC 2016
A better log message in retrospect:
"syscalls changed fbt names to be sys_*"
(developed these scripts on 8.x originally where "sys_" prefix was not
applied and we still had fbt::kill)
--
Devin
On Fri, 2016-01-22 at 08:29 +0000, Devin Teske wrote:
> Author: dteske
> Date: Fri Jan 22 08:29:23 2016
> New Revision: 294556
> URL: https://svnweb.freebsd.org/changeset/base/294556
>
> Log:
> Switch to syscall; HEAD lacks fbt for kill(2)
>
> MFC after: 3 days
> X-MFC-to: stable/10
> X-MFC-with: 294548
>
> Modified:
> head/share/dtrace/watch_kill
>
> Modified: head/share/dtrace/watch_kill
> =====================================================================
> =========
> --- head/share/dtrace/watch_kill Fri Jan 22 07:35:10 2016
> (r294555)
> +++ head/share/dtrace/watch_kill Fri Jan 22 08:29:23 2016
> (r294556)
> @@ -40,11 +40,10 @@ syscall::execve:entry /* probe ID 1 */
>
> /*********************************************************/
>
> -fbt::kill:entry /* probe ID 2 */
> +syscall::kill:entry /* probe ID 2 */
> {
> - this->kill_args = (struct kill_args *)arg1;
> - this->pid_to_kill = this->kill_args->pid;
> - this->kill_signal = this->kill_args->signum;
> + this->pid_to_kill = (pid_t)arg0;
> + this->kill_signal = (int)arg1;
>
> /*
> * Examine process, parent process, and grandparent process
> details
>
More information about the svn-src-head
mailing list