Re: LOCK_PROFILING does not work on FreeBSD 8.0-CURRENT

From: Kris Kennaway <kris_at_FreeBSD.org>
Date: Sun, 29 Mar 2009 22:59:57 +0100
wenji wu wrote:
> That was my typo in the email.
> 
> It was correct when I compiled the kernel. Otherwise, it can not go through
> the compiling.

Do you have both wenjikernel and WENJIKERNEL config files?

Kris

> 
> 
> On 3/29/09 4:38 PM, "Kris Kennaway" <kris_at_FreeBSD.org> wrote:
> 
>> Wenji Wu wrote:
>>> 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"
>> KERNCONF and the value of this variable are both case-sensitive.
>>
>> Kris
>>
>>> (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_at_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
>>>
>>>
>>>
>>>
>> _______________________________________________
>> freebsd-current_at_freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
> 
> 
Received on Sun Mar 29 2009 - 19:59:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:45 UTC