Re: [dev] [OT] performance monitoring using hardware counters [SOLVED]

From: Amit Uttamchandani <amit.uttamchandani_AT_my.csun.edu>
Date: Tue, 4 Sep 2012 11:36:52 -0700

On Sat, Sep 01, 2012 at 01:21:39AM -0400, Kurt H Maier wrote:
> On Sat, Sep 01, 2012 at 06:29:32AM +0200, Valentin Ochs wrote:
> > On Fri, Aug 31, 2012 at 05:34:26PM -0700, Amit Uttamchandani wrote:
> > > Thanks for the reply.
> > >
> > > Played around with Systemtap and it seems to have what I need. However,
> > > I can't get user space probing to work! Apparently, you need
> > > uprobes/utrace support, which debian kernels don't have.
> >
> > cd /usr/src/linux
> > make menuconfig
> > make
> > cp arch/x86/boot/bzImage /boot/
> >
>
> Worse: the systemtap wiki contains instructions on how to do this
> without violating debureaucracy:
> http://sourceware.org/systemtap/wiki/SystemtapOnDebian
>

Thanks for the replies.

uprobe support was merged into Linus's kernel at around 3.5 series. So
building the latest kernel (3.6rc3) and building the latest system tap
from git allows to probe user space processes.

Thus, systemtap works as advertised.
Received on Tue Sep 04 2012 - 20:36:52 CEST

This archive was generated by hypermail 2.3.0 : Tue Sep 04 2012 - 20:48:03 CEST