Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 24 Sep 2002 03:01:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 24 Sep 2002 03:01:54 -0400 Received: from dp.samba.org ([66.70.73.150]:64186 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id ; Tue, 24 Sep 2002 03:01:53 -0400 From: Rusty Russell To: Jeff Garzik Cc: linux-kernel mailing list , Alan Cox , cgl_discussion mailing list , evlog mailing list , "ipslinux (Keith Mitchell)" , Linus Torvalds , Hien Nguyen , James Keniston , Mike Sullivan Subject: Re: [PATCH-RFC} 3 of 4 - New problem logging macros, plus template generation In-reply-to: Your message of "Tue, 24 Sep 2002 02:05:45 -0400." <3D9000B9.4000001@pobox.com> Date: Tue, 24 Sep 2002 17:06:27 +1000 Message-Id: <20020924070706.D3A332C189@lists.samba.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1359 Lines: 33 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 _problem.h for every subsystem? . 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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/