Date: Fri, 22 Jan 2016 08:29:23 +0000 (UTC) From: Devin Teske <dteske@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r294556 - head/share/dtrace Message-ID: <201601220829.u0M8TN7q082805@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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?201601220829.u0M8TN7q082805>