RE: [PATCH v3] Make the pr_*() family of macros in kernel.h complete

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Joe Perches
Date: Wednesday, September 12, 2007 - 10:11 pm

On Wed, 2007-09-12 at 11:44 -0700, Medve Emilian-EMMEDVE1 wrote:

I expect all the kernel logging functions to be
overhauled eventually.

I'd prefer a mechanism that somehow supports
identifying complete messages.  I think the new
pr_<level> functions are not particularly useful
without a mechanism to avoid or identify multiple
processors or threads interleaving partial in-progress
multiple statement messages.

I've got a very large patch series that converts _all_
the current single line messages that use KERN_<level>
to pr_<level> and identifies, prefixes and postfixes
the rest of the multiple source line messages.

At some point, sooner or later, the logging functions
will be improved.  Apparently, more likely later.

cheers, Joe

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RE: [PATCH v3] Make the pr_*() family of macros in kernel. ..., Medve Emilian-EMMEDVE1, (Wed Sep 12, 11:44 am)
RE: [PATCH v3] Make the pr_*() family of macros in kernel. ..., Joe Perches, (Wed Sep 12, 10:11 pm)
RE: [PATCH v3] Make the pr_*() family of macros in kernel. ..., Medve Emilian-EMMEDVE1, (Thu Sep 13, 7:32 am)
RE: [PATCH v3] Make the pr_*() family of macros in kernel. ..., Medve Emilian-EMMEDVE1, (Fri Sep 14, 6:27 am)