At 09:55 27/11/19 -0700, Jeff Rhyason wrote:
>Is there a way that I can log a large amount of statistics
>regarding kernel memory allocator activity and make that
>accessible to a user process?  (Something like Solaris'
>crash(1m) and kmalog)

The quick solution is to config -g your kernel, and extract statistics
via gdb

    gdb -x extract-reset-script -k -wcore unstripped-kernel /dev/mem

where extract-reset-script prints the current values, resets, and
then exits.

Otherwise, write a character device driver and matching user land 
facility to extract the information you want.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to