diff options
author | Rayson Ho <rho@redhat.com> | 2011-02-23 11:30:55 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-05-25 13:41:04 -0700 |
commit | 17557282082870c7168d4bd9f386523c8c60d729 (patch) | |
tree | a2ed9e2b99370cd94b402aad75097a8315e084f8 /nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S | |
parent | 5acf7263d52992ce4144e0a3b3644985b9e792b4 (diff) | |
download | glibc-17557282082870c7168d4bd9f386523c8c60d729.tar.gz glibc-17557282082870c7168d4bd9f386523c8c60d729.tar.xz glibc-17557282082870c7168d4bd9f386523c8c60d729.zip |
i386 port of the pthread SystemTap probes
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S index ff3da370dc..8170ab321b 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S +++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S @@ -1,4 +1,4 @@ -/* Copyright (C) 2002-2004,2006-2007,2009,2010 Free Software Foundation, Inc. +/* Copyright (C) 2002-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. @@ -23,7 +23,7 @@ #include <pthread-errnos.h> #include <pthread-pi-defines.h> #include <kernel-features.h> - +#include <stap-probe.h> .text @@ -60,6 +60,8 @@ __pthread_cond_timedwait: movl 20(%esp), %ebx movl 28(%esp), %ebp + LIBC_PROBE (cond_timedwait, 3, %ebx, 24(%esp), %ebp) + cmpl $1000000000, 4(%ebp) movl $EINVAL, %eax jae 18f |