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/lowlevellock.h | |
parent | 5acf7263d52992ce4144e0a3b3644985b9e792b4 (diff) | |
download | glibc-17557282082870c7168d4bd9f386523c8c60d729.tar glibc-17557282082870c7168d4bd9f386523c8c60d729.tar.gz glibc-17557282082870c7168d4bd9f386523c8c60d729.tar.bz2 glibc-17557282082870c7168d4bd9f386523c8c60d729.zip |
i386 port of the pthread SystemTap probes
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h b/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h index 497d4739bb..3d805ff433 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h +++ b/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2002-2004, 2006-2008, 2009 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. @@ -19,6 +19,8 @@ #ifndef _LOWLEVELLOCK_H #define _LOWLEVELLOCK_H 1 +#include <stap-probe.h> + #ifndef __ASSEMBLER__ # include <time.h> # include <sys/param.h> @@ -225,6 +227,7 @@ LLL_STUB_UNWIND_INFO_END do { \ int __ignore; \ register __typeof (nr) _nr asm ("edx") = (nr); \ + LIBC_PROBE (lll_futex_wake, 3, futex, nr, private); \ __asm __volatile (LLL_EBX_LOAD \ LLL_ENTER_KERNEL \ LLL_EBX_LOAD \ |