Re: [PATCH-RFC} 3 of 4 - New problem logging macros, plus template generation

Rusty Russell
2002-09-24T07:01:54Z

In message <3D9000B9.4000001@pobox.com> you write:
> The backend is fairly sound. And I agree in general event logging is
> useful, and I fully support integrating [sane] support into the kernel.
>
> But the kernel API is utter crap.
>
> Adding <foo>_problem.h for every subsystem?

<sigh>. That's an extension, designed to make things *easier* on the
author, for example to share code between network drivers. But I'm
more than happy to grow them on demand (you know IBM programmers,
they're always want "completeness").

> Changing every printk() in the damn kernel?
>
> Come on dude, I _know_ you have more taste than that.

I'm not interested in changing all the printks. I'm interested in
designing the simplest regularized logging interface I can. If it's
done right, driver authors will migrate to it because it's easier for
them, and their bug reports become clearer, and sysadmins get happier.

And even though they don't care about the eventlogging tools, all that
stuff becomes exponentially more useful as a bonus.

Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.