[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081216122229.GA1430@ucw.cz>
Date: Tue, 16 Dec 2008 13:22:29 +0100
From: Pavel Machek <pavel@...e.cz>
To: Ingo Molnar <mingo@...e.hu>
Cc: linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
Andrew Morton <akpm@...ux-foundation.org>,
Stephane Eranian <eranian@...glemail.com>,
Eric Dumazet <dada1@...mosbay.com>,
Robert Richter <robert.richter@....com>,
Arjan van de Ven <arjan@...radead.org>,
Peter Anvin <hpa@...or.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Paul Mackerras <paulus@...ba.org>,
"David S. Miller" <davem@...emloft.net>,
perfctr-devel@...ts.sourceforge.net
Subject: Re: [patch] Performance Counters for Linux, v4
On Sun 2008-12-14 22:28:29, Ingo Molnar wrote:
> We are pleased to announce the v4 release of our performance counters
> subsystem implementation. The kernel changes can be picked up from:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git perfcounters/core
>
> (also in the master branch. There's also a kernel patch attached
> below.)
>
> The biggest new feature in this release is the implementation of
> "performance counter inheritance" for the per task counters: the ability
> to extend performance counters to cover the execution of child tasks
> too, transparently and automatically - following them to other CPUs.
>
> This can be used to monitor a hierarchy of tasks without stopping them
> (or impacting them in any observable way), and extending that monitoring
> to all child tasks as well.
>
> We've written a new utility: 'timec', which takes advantage of this new
> kernel capability:
>
> http://redhat.com/~mingo/perfcounters/timec.c
>
> 'timec' works like /usr/bin/time, but it extends the dimension of "time"
> with all the metrics that hardware and software performance counters are
> able to capture.
Hmm, if I timec some setuid program, what happens?
Performance counters seem like great tool to pull secret keys out of
other processes :-).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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