From 5acf7263d52992ce4144e0a3b3644985b9e792b4 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 25 May 2012 13:35:08 -0700 Subject: Add systemtap static probe points in generic and x86_64 pthread code. --- nptl/pthread_cond_signal.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'nptl/pthread_cond_signal.c') diff --git a/nptl/pthread_cond_signal.c b/nptl/pthread_cond_signal.c index e4716f2b08..063dcbc32a 100644 --- a/nptl/pthread_cond_signal.c +++ b/nptl/pthread_cond_signal.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc. +/* Copyright (C) 2003-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Martin Schwidefsky , 2003. @@ -25,6 +25,7 @@ #include #include +#include int @@ -34,6 +35,8 @@ __pthread_cond_signal (cond) int pshared = (cond->__data.__mutex == (void *) ~0l) ? LLL_SHARED : LLL_PRIVATE; + LIBC_PROBE (cond_signal, 1, cond); + /* Make sure we are alone. */ lll_lock (cond->__data.__lock, pshared); -- cgit 1.4.1