Messages in this thread | | | Date | Fri, 13 Mar 2009 14:07:30 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH 00/11] generic software counters -v2 |
| |
* Peter Zijlstra <a.p.zijlstra@chello.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
| |