From owner-freebsd-current@FreeBSD.ORG Sun Mar 29 21:30:01 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B428106566B; Sun, 29 Mar 2009 21:30:01 +0000 (UTC) (envelope-from wenji@fnal.gov) Received: from mailgw2.fnal.gov (mailgw2.fnal.gov [131.225.111.12]) by mx1.freebsd.org (Postfix) with ESMTP id 4D3398FC16; Sun, 29 Mar 2009 21:30:01 +0000 (UTC) (envelope-from wenji@fnal.gov) Received: from mailav1.fnal.gov (mailav1.fnal.gov [131.225.111.18]) by mailgw2.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) with SMTP id <0KHA008W3EDHD3@mailgw2.fnal.gov>; Sun, 29 Mar 2009 16:30:01 -0500 (CDT) Received: from mailgw1.fnal.gov ([131.225.111.11]) by mailav1.fnal.gov (SAVSMTP 3.1.7.47) with SMTP id M2009032916300028482 ; Sun, 29 Mar 2009 16:30:00 -0500 Received: from conversion-daemon.mailgw1.fnal.gov by mailgw1.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) id <0KHA00201E1OGD@mailgw1.fnal.gov> (original mail from wenji@fnal.gov); Sun, 29 Mar 2009 16:30:00 -0500 (CDT) Received: from fnal.gov (imap2.fnal.gov [131.225.111.7]) by mailgw1.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) with ESMTP id <0KHA007R3EE0U7@mailgw1.fnal.gov>; Sun, 29 Mar 2009 16:30:00 -0500 (CDT) Received: from [131.225.2.15] by imap2.fnal.gov (mshttpd); Sun, 29 Mar 2009 21:30:00 +0000 (GMT) Date: Sun, 29 Mar 2009 21:30:00 +0000 (GMT) From: Wenji Wu In-reply-to: <49CF4E39.4010905@FreeBSD.org> To: Kris Kennaway Message-id: MIME-version: 1.0 X-Mailer: Sun Java(tm) System Messenger Express 6.3-6.03 (built Mar 14 2008; 32bit) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7BIT Content-disposition: inline X-Accept-Language: en Priority: normal References: <49CE231C.9080609@FreeBSD.org> <49CF4E39.4010905@FreeBSD.org> Cc: freebsd-current@freebsd.org Subject: Re: LOCK_PROFILING does not work on FreeBSD 8.0-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Mar 2009 21:30:01 -0000 Here is my procedures: (1) run "cvsup supfile" to synchronize the latest kernel (2) edit my kernel configuration file, and add "options LOCK_PROFILING" to my kernel configuration file (3) run "make buildkernel KERNCONF=wenjikernel" (4) run "make installkernel kernconf=WENJIKERNEL" (5) run "reboot" to reboot my system. Here is the system printout after the reboot. (1) "$ uname -a" FreeBSD wan-koi.fnal.gov 8.0-CURRENT FreeBSD 8.0-CURRENT #8: Sun Mar 29 20:11:07 UTC 2009 root@wan-koi.fnal.gov:/usr/obj/usr/src/sys/wenjikernel amd64 (2) "sysctl -a|grep lock" $ sysctl -a|grep lock kern.clockrate: { hz = 1000, tick = 1000, profhz = 2000, stathz = 133 } vm.pageout_lock_miss: 0 net.inet.tcp.wlock_looped: 0 net.inet.tcp.wlock_relocked: 0 net.inet.tcp.wlock_upgraded: 56 net.inet.tcp.tcp_wlock_atfirst: 97 net.inet.tcp.rlock_atfirst: 757 net.inet.tcp.read_locking: 1 debug.acpi.reset_clock: 1 debug.rwlock.loops: 10000 debug.rwlock.retry: 10 debug.to_avg_lockcalls: 17 hw.clockrate: 2666 machdep.wall_cmos_clock: 0 p1003_1b.memlock: 0 p1003_1b.memlock_range: 0 dev.atrtc.0.%desc: AT realtime clock What else did I have miss? thanks wenji