From owner-freebsd-current@FreeBSD.ORG Sat Mar 28 13:16:14 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 2F0171065675 for ; Sat, 28 Mar 2009 13:16:14 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from dhcp-172-28-76-214.eur.corp.google.com (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 81C538FC1F; Sat, 28 Mar 2009 13:16:13 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <49CE231C.9080609@FreeBSD.org> Date: Sat, 28 Mar 2009 13:16:12 +0000 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Wenji Wu References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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: Sat, 28 Mar 2009 13:16:14 -0000 Wenji Wu wrote: > I, Could anybody help me out? Thanks in advance. > > LOCK_PROFILING does not work on FreeBSD 8.0-CURRENT. I loaded FreeBSD 8.0-Current on my system, and try to run LOCK PROFILING. I have added the “options LOCK_PROFILING” to the configure file and rebuild the kernel. Then I reboot the system, and run “sysctl –a|grep lock” to check if the lock debugging has been enabled. But NO lock debugging related parameters show up. LOCK_PROFILING does not work on FreeBSD 8.0-CURRENT! > > I have repeated the same operations on FreeBSD 7.1, “sysctl –a|grep lock” shows “LOCK PROFILING” works. So what happens to FreeBSD 8.0-CURRENT? > > Thanks, It certainly does work in 8.0. Is it possible you forgot to install the rebuilt kernel? Kris