1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-13 14:40:22 +00:00

Get system call tracing using ktrace working for mips.

This commit is contained in:
Neel Natu 2010-02-04 06:42:30 +00:00
parent 2f9f616df9
commit ce735fb428
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=203476

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
/*