summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/pipe.S
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-08-21 21:19:29 +0000
committerEric Andersen <andersen@codepoet.org>2004-08-21 21:19:29 +0000
commit6e112da93a731085ff9b07f0804395bb3866925a (patch)
tree63320d9f5200bb3892ccfbcc55be84a5da535023 /libc/sysdeps/linux/mips/pipe.S
parente50f6d1c15483fc17323ecdd427f4a84c018f3af (diff)
Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both a
size and performance penalty to profiling applications this way, as well as Heisenberg effects, where the act of measuring changes what is measured. There are better tools for doing profiling, such as OProfile, that do not require gcc to instrument the application code. -Erik
Diffstat (limited to 'libc/sysdeps/linux/mips/pipe.S')
-rw-r--r--libc/sysdeps/linux/mips/pipe.S7
1 files changed, 0 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/mips/pipe.S b/libc/sysdeps/linux/mips/pipe.S
index 63e039ff5..c3afae550 100644
--- a/libc/sysdeps/linux/mips/pipe.S
+++ b/libc/sysdeps/linux/mips/pipe.S
@@ -10,13 +10,6 @@
.globl pipe
.ent pipe, 0
pipe:
-#ifdef PROF
- .set noat
- move $1,ra
- subu sp,sp,8 # _mcount pops 2 words from stack
- jal _mcount
- .set at
-#endif
addiu sp,sp,-24
sw a0,16(sp)
li v0,__NR_pipe