Date: Thu, 4 Feb 2010 06:42:30 +0000 (UTC) From: Neel Natu <neel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r203476 - head/sys/mips/mips Message-ID: <201002040642.o146gUHa037415@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: neel Date: Thu Feb 4 06:42:30 2010 New Revision: 203476 URL: http://svn.freebsd.org/changeset/base/203476 Log: Get system call tracing using ktrace working for mips. Modified: head/sys/mips/mips/trap.c Modified: head/sys/mips/mips/trap.c ============================================================================== --- head/sys/mips/mips/trap.c Thu Feb 4 05:49:59 2010 (r203475) +++ head/sys/mips/mips/trap.c Thu Feb 4 06:42:30 2010 (r203476) @@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$"); #include "opt_ddb.h" #include "opt_global.h" +#include "opt_ktrace.h" #define NO_REG_DEFS 1 /* Prevent asm.h from including regdef.h */ #include <sys/param.h> @@ -747,7 +748,7 @@ dofault: td->td_locks)); userret(td, trapframe); #ifdef KTRACE - if (KTRPOINT(p, KTR_SYSRET)) + if (KTRPOINT(td, KTR_SYSRET)) ktrsysret(code, i, td->td_retval[0]); #endif /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002040642.o146gUHa037415>