From 8422c9a560e6e3c854739c8a13ecb1c6714f930f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 25 May 2012 13:31:57 -0700 Subject: Add systemtap static probe points in setjmp/longjmp on x86. --- sysdeps/x86_64/setjmp.S | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdeps/x86_64/setjmp.S') diff --git a/sysdeps/x86_64/setjmp.S b/sysdeps/x86_64/setjmp.S index 5639292da4..82ac73151c 100644 --- a/sysdeps/x86_64/setjmp.S +++ b/sysdeps/x86_64/setjmp.S @@ -19,6 +19,7 @@ #include #include #include +#include ENTRY (__sigsetjmp) /* Save registers. */ @@ -47,6 +48,7 @@ ENTRY (__sigsetjmp) #endif movq %rdx, (JB_RSP*8)(%rdi) mov (%rsp), %RAX_LP /* Save PC we are returning to now. */ + LIBC_PROBE (setjmp, 3, LP_SIZE@%RDI_LP, -4@%esi, LP_SIZE@%RAX_LP) #ifdef PTR_MANGLE PTR_MANGLE (%RAX_LP) #endif -- cgit 1.4.1