LWN.net Logo

generic software counters -v2

From:  Peter Zijlstra <a.p.zijlstra@chello.nl>
To:  mingo@elte.hu, paulus@samba.org, tglx@linutronix.de
Subject:  [PATCH 00/11] generic software counters -v2
Date:  Fri, 13 Mar 2009 12:21:25 +0100
Message-ID:  <20090313112125.886730125@chello.nl>
Cc:  linux-kernel@vger.kernel.org, Peter Zijlstra <a.p.zijlstra@chello.nl>
Archive-link:  Article, Thread

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.

Future work (in-progress) will hook into the tracepoint infrastructure to to
provide profiling events.


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

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