Date: Mon, 3 Oct 2011 20:05:21 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r225948 - stable/8/sys/kern Message-ID: <201110032005.p93K5LWi025755@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110032005.p93K5LWi025755>