lkml.org 
[lkml]   [2009]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2009-03-13 14:11    [W:0.157 / U:3.448 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site