Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2016 00:42:52 -0800
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Cc:        dteske@freebsd.org
Subject:   Re: svn commit: r294556 - head/share/dtrace
Message-ID:  <1453452172.7116.9.camel@FreeBSD.org>
In-Reply-To: <201601220829.u0M8TN7q082805@repo.freebsd.org>
References:  <201601220829.u0M8TN7q082805@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1453452172.7116.9.camel>