svn commit: r203476 - head/sys/mips/mips
Neel Natu
neel at FreeBSD.org
Thu Feb 4 06:42:31 UTC 2010
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
/*
More information about the svn-src-all
mailing list