summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/noophooks.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-08-21 21:39:51 +0000
committerEric Andersen <andersen@codepoet.org>2004-08-21 21:39:51 +0000
commit09f85c7ffd5f5f931c7c5d6b58d56109175f24c9 (patch)
tree2f225a2e4e694866d4c72a9b5df06134bbdc2994 /libc/sysdeps/linux/common/noophooks.c
parent6e112da93a731085ff9b07f0804395bb3866925a (diff)
Attempt to support 'gcc -finstrument-functions', which seems much
more sane than 'gcc -pg' and seems much easier to support. -Erik
Diffstat (limited to 'libc/sysdeps/linux/common/noophooks.c')
-rw-r--r--libc/sysdeps/linux/common/noophooks.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/noophooks.c b/libc/sysdeps/linux/common/noophooks.c
new file mode 100644
index 000000000..65e9fdd15
--- /dev/null
+++ b/libc/sysdeps/linux/common/noophooks.c
@@ -0,0 +1,26 @@
+/* Noop hooks for the instrumenting functions.
+ Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+#include <features.h>
+
+void __cyg_profile_func_enter (void *this_fn, void *call_site)
+{
+}
+strong_alias (__cyg_profile_func_enter, __cyg_profile_func_exit)