[PATCH] Add systemtap markers to slowpow and slowexp

Andreas Jaeger aj@suse.com
Wed Sep 11 07:21:00 GMT 2013


On 09/11/2013 07:31 AM, Siddhesh Poyarekar wrote:
> Hi,
> 
> Attached patch adds systemtap probes to various slow paths in libm so
> that application developers may use systemtap to find out if their
> applications are hitting these slow paths.  We have added probes for
> pow, exp, log, tan, atan and atan2.  More probes for sin, cos,
> etc. coming up.
> 
> OK to commit?
> 
> Siddhesh
> 
> 2013-09-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
> 	    Jeff Law  <law@redhat.com>
> 
> 	* sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
> 	(atan2Mp): Add systemtap probe marker.
> 	* sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
> 	(__ieee754_log): Add systemtap probe marker.
> 	* sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
> 	(atanMp): Add systemtap probe marker.
> 	* sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
> 	(tanMp): Add systemtap probe marker.
> 	* sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
> 	(__slowexp): Add systemtap probe marker.
> 	* sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
> 	(__slowpow): Add systemtap probe marker.

When we introduced the nptl probes, these were all documented as well,
see nptl/DESIGN-systemtap-probes.txt. I'd like to see documentation for
these probes as well.

Andreas
-- 
 Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
  SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
    GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126



More information about the Libc-alpha mailing list