Date: Thu, 13 Mar 2003 10:46:36 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/kdump kdump.c Message-ID: <200303131846.h2DIkaAU076722@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2003/03/13 10:46:35 PST FreeBSD src repository Modified files: usr.bin/kdump kdump.c Log: Teach kdump(8) to handle events marked with KTR_DROP. If a record has KTR_DROP set in its header, then we output an extra line to stdout to indicate that events were dropped between the previous record and this record. It is a bit trickier because we need to always notify the user if events are dropped even if KTR_DROP is set on a record of a type that we aren't interested in since kdump(8) doesn't know if the dropped events were of the types that the user has requested. To avoid outputting multiple events dropped notices in between actual event logs, a state variable is set whenever a drop is logged and cleared whenever an actual record is output. Requested by: phk Revision Changes Path 1.20 +12 -0 src/usr.bin/kdump/kdump.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303131846.h2DIkaAU076722>