lkml.org 
[lkml]   [2010]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC PATCH] perf_core: provide a kernel-internal interface to get to performance counters
    > So this patch got accepted into mainline a while ago,
    > without a user
    > ever beeing presented, nevermind actually included in
    > mainline. Time
    > to revert providing these useless exports and dead code?

    I think kernel perf api is very useful for improving kernel (modules) performance, and of course, for this purpose their usage won't make it into the distribution code.
    I started to use them but still I would like to see an example showing its full potential (cpufreq was proposed).

    Imagine moving structure's fields around for increasing cache performance, the general perf counters are, hmm, too general when we need to monitor only some code sections (after being identified using the global perf counters/tool).

    John

    --- On Fri, 2/5/10, Christoph Hellwig <hch@infradead.org> wrote:
    > From: Christoph Hellwig <hch@infradead.org>
    > Subject: Re: [RFC PATCH] perf_core: provide a kernel-internal interface to get to performance counters
    > To: "Arjan van de Ven" <arjan@infradead.org>
    > Cc: linux-kernel@vger.kernel.org, mingo@elte.hu, peterz@infradead.org, "Frederic Weisbecker" <fweisbec@gmail.com>
    > Date: Friday, February 5, 2010, 7:47 AM
    > On Fri, Sep 25, 2009 at 12:25:56PM
    > +0200, Arjan van de Ven wrote:
    > > >From 5db5cd76f3c16c9f6093f54d1ccfb97d04b9a1ca Mon
    > Sep 17 00:00:00 2001
    > > From: Arjan van de Ven <arjan@linux.intel.com>
    > > Date: Fri, 25 Sep 2009 12:20:57 +0200
    > > Subject: [PATCH] perf_core: provide a kernel-internal
    > interface to get to performance counters
    >
    > So this patch got accepted into mainline a while ago,
    > without a user
    > ever beeing presented, nevermind actually included in
    > mainline.  Time
    > to revert providing these useless exports and dead code?
    >
    > --
    > 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/
    >



    --
    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/

    \
     
     \ /
      Last update: 2010-02-05 19:01    [from the cache]
    ©2003-2014 Jasper Spaans. Advertise on this site