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

From: Amit Uttamchandani <amit.uttamchandani_AT_my.csun.edu>
Date: Fri, 31 Aug 2012 17:34:26 -0700

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.

On Fri, Aug 31, 2012 at 04:32:11PM -0400, Carlos Torres wrote:
> On Solaris there is dtrace, Linux provides something similar, but I forget
> what it's called...there might be a port of dtrace for Linux.
>
> System tap.
>
> --Carlos
> On Aug 31, 2012 3:22 PM, "Amit Uttamchandani" <
> amit.uttamchandani_AT_my.csun.edu> wrote:
>
> > Hello,
> >
> > Would you be able to share your thoughts/experiences on performance
> > monitoring using hardware counters in Linux?
> >
> > I am currently using *perf* tools that come built in with the kernel to
> > measure the number of cycles a specific program takes.
> >
> > Now, I can't seem to figure out how to measure the number of cycles per
> > function call. For example, I would like to measure the number of cycles
> > it takes for SHA1_Update() from libcrypto when using the sha1 ASM
> > instructions compared to not using the sha1 ASM.
> >
> > Thanks,
> > Amit
> >
> >
Received on Sat Sep 01 2012 - 02:34:26 CEST

This archive was generated by hypermail 2.3.0 : Sat Sep 01 2012 - 02:36:04 CEST