svn commit: r225948 - stable/8/sys/kern

Konstantin Belousov kib at FreeBSD.org
Mon Oct 3 20:05:21 UTC 2011


Author: kib
Date: Mon Oct  3 20:05:21 2011
New Revision: 225948
URL: http://svn.freebsd.org/changeset/base/225948

Log:
  Restore the td_syscalls counter, that was erronously removed in the r225855.
  Note that this is a direct commit to stable/8, td_syscalls was removed in
  head by r210138.
  
  Submitted by:	jhb

Modified:
  stable/8/sys/kern/subr_syscall.c

Modified: stable/8/sys/kern/subr_syscall.c
==============================================================================
--- stable/8/sys/kern/subr_syscall.c	Mon Oct  3 19:51:18 2011	(r225947)
+++ stable/8/sys/kern/subr_syscall.c	Mon Oct  3 20:05:21 2011	(r225948)
@@ -58,6 +58,7 @@ syscallenter(struct thread *td, struct s
 
 	PCPU_INC(cnt.v_syscall);
 	p = td->td_proc;
+	td->td_syscalls++;
 
 	td->td_pticks = 0;
 	if (td->td_ucred != p->p_ucred)


More information about the svn-src-stable-8 mailing list