This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add systemtap markers to slowpow and slowexp
- From: Andreas Jaeger <aj at suse dot com>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: libc-alpha at sourceware dot org, law at redhat dot com, carlos at redhat dot com
- Date: Wed, 11 Sep 2013 09:21:33 +0200
- Subject: Re: [PATCH] Add systemtap markers to slowpow and slowexp
- Authentication-results: sourceware.org; auth=none
- References: <20130911053106 dot GH4306 at spoyarek dot pnq dot redhat dot com>
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