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" <
> [email protected]> 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
> >
> >

Reply via email to