[glibc] Fix slowpow systemtap probe name.
Carlos O'Donell
codonell at fedoraproject.org
Thu Jul 25 22:51:12 UTC 2013
commit 37714d015a74c813261a9b26f8b41da95e4d3404
Author: Carlos O'Donell <carlos at redhat.com>
Date: Thu Jul 25 15:46:20 2013 -0400
Fix slowpow systemtap probe name.
- Correctly name the 240-bit slow path sytemtap probe slowpow_p10 for slowpow.
glibc-stap-libm.patch | 2 +-
glibc.spec | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/glibc-stap-libm.patch b/glibc-stap-libm.patch
index a9fe600..120bd87 100644
--- a/glibc-stap-libm.patch
+++ b/glibc-stap-libm.patch
@@ -54,7 +54,7 @@ diff -rup c/sysdeps/ieee754/dbl-64/slowpow.c d/sysdeps/ieee754/dbl-64/slowpow.c
+ {
+ /* Track how often we get to the slow pow code plus
+ its input/output values. */
-+ LIBC_PROBE (slowpow_p6, 4, &x, &y, &z, &res);
++ LIBC_PROBE (slowpow_p10, 4, &x, &y, &z, &res);
+ return res;
+ }
diff --git a/glibc.spec b/glibc.spec
index 794be30..f231a29 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -1,5 +1,6 @@
%define glibcsrcdir glibc-2.17-906-g8ab0740
%define glibcversion 2.17.90
+%define glibcrelease 6%{?dist}
##############################################################################
# If run_glibc_tests is zero then tests are not run for the build.
# You must always set run_glibc_tests to one for production builds.
@@ -69,7 +70,7 @@
Summary: The GNU libc libraries
Name: glibc
Version: %{glibcversion}
-Release: 6%{?dist}
+Release: %{glibcrelease}
# GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries.
# Things that are linked directly into dynamically linked programs
# and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional
@@ -1530,6 +1531,9 @@ rm -f *.filelist*
%endif
%changelog
+* Thu Jul 25 2013 Carlos O'Donell <carlos at redhat.com> - 2.17.90-7
+- Correctly name the 240-bit slow path sytemtap probe slowpow_p10 for slowpow.
+
* Wed Jul 24 2013 Carlos O'Donell <carlos at redhat.com> - 2.17.90-6
- Add build requirement on static libstdc++ library to fix testsuite failures
for static C++ tests.
More information about the scm-commits
mailing list