Get system call tracing using ktrace working for mips.

This commit is contained in:
neel 2010-02-04 06:42:30 +00:00
parent 3e324aa481
commit c111af420c

View File

@ -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 @@ trap(struct trapframe *trapframe)
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
/*