This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.23-212-g6f8222a


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  6f8222a1c52a9e577925b90d16b95be10ef50596 (commit)
      from  593285ac1520e54467573c3a73cdda26a6a5acea (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=6f8222a1c52a9e577925b90d16b95be10ef50596

commit 6f8222a1c52a9e577925b90d16b95be10ef50596
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue Apr 19 23:27:27 2016 +0200

    Fix gprof timing
    
    	* sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
    	frequency instead of tick length in us.

diff --git a/ChangeLog b/ChangeLog
index 04f5693..faa1e63 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
 	* sysdeps/mach/hurd/profil.c (update_waiter): Initialize
 	profil_reply_port.
 	(profile_waiter): Do not initialize profil_reply_port.
+	* sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
+	frequency instead of tick length in us.
 
 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
 
diff --git a/sysdeps/mach/hurd/profil.c b/sysdeps/mach/hurd/profil.c
index be249bb..a2c4e55 100644
--- a/sysdeps/mach/hurd/profil.c
+++ b/sysdeps/mach/hurd/profil.c
@@ -102,7 +102,7 @@ update_waiter (u_short *sample_buffer, size_t size, size_t offset, u_int scale)
 int
 __profile_frequency (void)
 {
-  return profile_tick;
+  return 1000000 / profile_tick;
 }
 libc_hidden_def (__profile_frequency)
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |    2 ++
 sysdeps/mach/hurd/profil.c |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]