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.19-310-g140cc7a


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  140cc7abf7d15928b4c4a873d40a73b836685157 (commit)
      from  c54e5cf7db32709b4f04a117f44f69dc5684cbf2 (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=140cc7abf7d15928b4c4a873d40a73b836685157

commit 140cc7abf7d15928b4c4a873d40a73b836685157
Author: Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
Date:   Tue Apr 8 14:11:44 2014 +0100

    aarch64: Add setjmp and longjmp SystemTap probes
    
    Add setjmp, longjmp and longjmp_target SystemTap probes.
    
    ChangeLog:
    
    2014-04-22  Will Newton  <will.newton@linaro.org>
    	    Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
    
    	* sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
    	(__longjmp): Add longjmp and longjmp_target SystemTap
    	probes.
    	* sysdeps/aarch64/setjmp.S: Include stap-probe.h.
    	(__sigsetjmp): Add setjmp SystemTap probe.

diff --git a/ChangeLog b/ChangeLog
index e09fdc6..1d42c68 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2014-04-22  Will Newton  <will.newton@linaro.org>
+	    Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
+
+	* sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
+	(__longjmp): Add longjmp and longjmp_target SystemTap
+	probes.
+	* sysdeps/aarch64/setjmp.S: Include stap-probe.h.
+	(__sigsetjmp): Add setjmp SystemTap probe.
+
 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
 
 	* manual/intro.texi (Roadmap to the manual): Sort chapter listing to
diff --git a/sysdeps/aarch64/__longjmp.S b/sysdeps/aarch64/__longjmp.S
index 2d38bbf..1bb7be3 100644
--- a/sysdeps/aarch64/__longjmp.S
+++ b/sysdeps/aarch64/__longjmp.S
@@ -18,6 +18,7 @@
 
 #include <sysdep.h>
 #include <jmpbuf-offsets.h>
+#include <stap-probe.h>
 
 /* __longjmp(jmpbuf, val) */
 
@@ -56,6 +57,10 @@ ENTRY (__longjmp)
 #else
 	ldp	x29, x30, [x0, #JB_X29<<3]
 #endif
+	/* longjmp probe takes 3 arguments, address of jump buffer as
+	   first argument (8@x0), return value as second argument (-4@x1),
+	   and target address (8@x30), respectively.  */
+	LIBC_PROBE (longjmp, 3, 8@x0, -4@x1, 8@x30)
 	ldp	 d8,  d9, [x0, #JB_D8<<3]
 	ldp	d10, d11, [x0, #JB_D10<<3]
 	ldp	d12, d13, [x0, #JB_D12<<3]
@@ -98,6 +103,11 @@ ENTRY (__longjmp)
 	ldr	x5, [x0, #JB_SP<<3]
 #endif
 	mov	sp, x5
+
+	/* longjmp_target probe takes 3 arguments, address of jump buffer
+	   as first argument (8@x0), return value as second argument (-4@x1),
+	   and target address (8@x30), respectively.  */
+	LIBC_PROBE (longjmp_target, 3, 8@x0, -4@x1, 8@x30)
 	cmp	x1, #0
 	mov	x0, #1
 	csel	x0, x1, x0, ne
diff --git a/sysdeps/aarch64/setjmp.S b/sysdeps/aarch64/setjmp.S
index 5822abd..fd39319 100644
--- a/sysdeps/aarch64/setjmp.S
+++ b/sysdeps/aarch64/setjmp.S
@@ -18,6 +18,7 @@
 
 #include <sysdep.h>
 #include <jmpbuf-offsets.h>
+#include <stap-probe.h>
 
         /* Keep traditional entry points in with sigsetjmp(). */
 ENTRY (setjmp)
@@ -46,6 +47,10 @@ ENTRY (__sigsetjmp)
 #else
 	stp	x29, x30, [x0, #JB_X29<<3]
 #endif
+	/* setjmp probe takes 3 arguments, address of jump buffer
+	   first argument (8@x0), return value second argument (-4@x1),
+	   and target address (8@x30), respectively.  */
+	LIBC_PROBE (setjmp, 3, 8@x0, -4@x1, 8@x30)
 	stp	 d8,  d9, [x0, #JB_D8<<3]
 	stp	d10, d11, [x0, #JB_D10<<3]
 	stp	d12, d13, [x0, #JB_D12<<3]

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

Summary of changes:
 ChangeLog                   |    9 +++++++++
 sysdeps/aarch64/__longjmp.S |   10 ++++++++++
 sysdeps/aarch64/setjmp.S    |    5 +++++
 3 files changed, 24 insertions(+), 0 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]