From owner-svn-src-head@freebsd.org Fri Jan 22 08:42:53 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B254A8D4E3; Fri, 22 Jan 2016 08:42:53 +0000 (UTC) (envelope-from devin@shxd.cx) Received: from shxd.cx (mail.shxd.cx [64.201.244.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7035D1A11; Fri, 22 Jan 2016 08:42:53 +0000 (UTC) (envelope-from devin@shxd.cx) Received: from [64.201.244.132] (port=39469 helo=[10.0.0.113]) by shxd.cx with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1aMXIz-000PAz-9v; Fri, 22 Jan 2016 00:42:53 -0800 Message-ID: <1453452172.7116.9.camel@FreeBSD.org> Subject: Re: svn commit: r294556 - head/share/dtrace From: Devin Teske To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Cc: dteske@freebsd.org Date: Fri, 22 Jan 2016 00:42:52 -0800 In-Reply-To: <201601220829.u0M8TN7q082805@repo.freebsd.org> References: <201601220829.u0M8TN7q082805@repo.freebsd.org> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: devin@shxd.cx X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2016 08:42:53 -0000 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 >