Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2002 03:24:23 -0400 (EDT)
From:      Jeff Roberson <jroberson@chesapeake.net>
Cc:        cvs-committers@FreeBSD.org, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/sys ktr.h src/sys/kern kern_ktr.c
Message-ID:  <20020922032016.I43954-100000@mail.chesapeake.net>
In-Reply-To: <200209220713.g8M7Dj49045903@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sun, 22 Sep 2002, Jeff Roberson wrote:

> jeff        2002/09/22 00:13:45 PDT
>
>   Modified files:
>     sys/sys              ktr.h
>     sys/kern             kern_ktr.c
>   Log:
>    - Add support for logging KTR via ALQ.  This is optional and enabled by the
>      KTR_ALQ config option.
>
>   Revision  Changes    Path
>   1.32      +92 -3     src/sys/kern/kern_ktr.c
>   1.20      +3 -0      src/sys/sys/ktr.h
>

Expect a man page update for this shortly.  If you'd like to use it just
set ktr up as you normally would, and look at options in debug.ktr.  To
start logging do sysctl debug.ktr.alq_enable=1.  It actually kept up with
my mask set to -1 on a mostly idle machine without missing any ktr events.
Of course the output file was over 50MB after 30 seconds or so.

This is mostly intended for tracing long term events.  I'm especially
interested in logging all vnode operations over a long period.  It could
also be used to track network or disk io with the appropriate trace
points.

I hope you all find this useful.

Thanks,
Jeff


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020922032016.I43954-100000>