Switch to syscall; HEAD lacks fbt for kill(2)

MFC after:	3 days
X-MFC-to:	stable/10
X-MFC-with:	294548
This commit is contained in:
Devin Teske 2016-01-22 08:29:23 +00:00
parent 68ba7e87e7
commit 7b84bab04c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=294556

View File

@ -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