User: Password:
|
|
Subscribe / Log in / New account

Re: [GIT PULL] Performance Counters for Linux

From:  Linus Torvalds <torvalds-AT-linux-foundation.org>
To:  Christoph Hellwig <hch-AT-infradead.org>
Subject:  Re: [GIT PULL] Performance Counters for Linux
Date:  Thu, 11 Jun 2009 09:26:55 -0700 (PDT)
Message-ID:  <alpine.LFD.2.01.0906110922080.3573@localhost.localdomain>
Cc:  Ingo Molnar <mingo-AT-elte.hu>, "David S. Miller" <davem-AT-davemloft.net>, Stephane Eranian <eranian-AT-googlemail.com>, linux-kernel-AT-vger.kernel.org, Paul Mackerras <paulus-AT-samba.org>, Peter Zijlstra <a.p.zijlstra-AT-chello.nl>, Andrew Morton <akpm-AT-linux-foundation.org>, Thomas Gleixner <tglx-AT-linutronix.de>
Archive-link:  Article



On Thu, 11 Jun 2009, Christoph Hellwig wrote:
>
> Err, no.   This adds tons of userspace code into tools/ which
> should not be in the kernel tree but a proper package.

I disagree.

We've had tons of cases where we tried to "separate" the user-land code 
and the kernel code, in the name of "beauty" of whatever.

It's almost invariably a disaster.

Look at oprofile. F*ck me, what a horrid piece of crap. It took literally 
months for the user mode tools to catch up and get the patches to support 
new functionality into CVS (or is it SVN?), and after that it took even 
longer for them to become part of a release and be picked up by 
distributions. In fact, I'm not sure it is part of a release even now - I 
had to make a bug report to Fedora to get atom and Nehalem support in my 
tools: I think they took the unofficial patch.

Or look at the crazy things we used to do for X. It's going away (slowly), 
because some of the most incestuous things are actually just being 
integrated into the kernel, and so there's less of the "two broken pieces" 
approach, and more of a "one working piece" kind of thing.

So I'd much rather have kernel tools with the kernel, than have to depend 
on some external entity that doesn't really care.

			Linus


(Log in to post comments)


Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds