Messages in this thread | | | Subject | Re: patch for common networking error messages | From | Valdis.Kletnieks@vt ... | Date | Tue, 17 Jun 2003 00:34:34 -0400 |
| |
On Mon, 16 Jun 2003 21:12:50 CDT, Janice Girouard said:
> Okay. That solves the issue of events generated in a plethora of formats > for the same event. Any suggestions on what should be included in this new > family? I can present a patch to suggest a starting point. However, it > would be great to hear from everyone that has any initial thoughts.
Well, at the risk of torquing off any SCO supporters, I'd suggest a quick peek over at the general design of the AIX errpt/trace systems - in both cases, data comes out of the kernel in a formatted binary stream, and then a 'template' file is used to drive the parsing of the formatted data.
Quite slick overall, and nicely extensible - you add a new kernel subsystem that has more trace points, you just tack its templates onto the end of the format file and you're good to go....
(And SCO can't even claim that's their code - it's pretty obvious the parentage of the AIX errpt/trace logging is the OS/VS1 and MVS SMF logging features :)
[unhandled content-type:application/pgp-signature] | |