[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090313130730.GA10117@elte.hu>
Date: Fri, 13 Mar 2009 14:07:30 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Frédéric Weisbecker <fweisbec@...il.com>,
Steven Rostedt <rostedt@...dmis.org>
Cc: paulus@...ba.org, tglx@...utronix.de, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 00/11] generic software counters -v2
* Peter Zijlstra <a.p.zijlstra@...llo.nl> wrote:
> This patch set improves the current software counters by
> providing sampling events for most of them.
>
> The clock based software counters use hrtimers to generate
> events, allowing sample based profiling without hardware
> support -- obviously this has limited functionality for kernal
> based profiling since we disable interrupts quite frequently,
> but should be good for userspace.
>
> Other events like pagefaults insert simple hooks into the
> actual pagefault code to generate these events.
Very nice series! Applied to tip:core/locking and
tip:perfcounters/core - thanks Peter!
Fixed a trivial !PERF_COUNTERS build failure as well.
> Future work (in-progress) will hook into the tracepoint
> infrastructure to to provide profiling events.
Cool!
Especially for pagefaults we have a number of callbacks there:
kmmio, kprobes, kmemcheck, tracing, perfcounters - they could
indeed all be consolidated step by step onto a tracepoint.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists