Re: [RFC] New kernel-message logging API

From: Joe Perches
Date: Mon Sep 24 2007 - 13:01:51 EST


On Mon, 2007-09-24 at 18:43 +0200, Vegard Nossum wrote:
> Storing the format-string separately allows us to hash THAT instead of
> the formatted (ie. console output) message. Since this will never
> change from message to message, it can be looked up in a table or
> whatever and allow user-space to do translations without for example
> regular expressions.

That hash will change with each linux version given the
inevitable spelling fixes, message reformatting and such.

> I will follow up with some code to demonstrate as soon as I can.

Looking forward to it.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/