Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib Actually profile system calls.
details: https://anonhg.NetBSD.org/src/rev/a396004724af
branches: trunk
changeset: 477683:a396004724af
user: is <is%NetBSD.org@localhost>
date: Wed Oct 27 14:58:28 1999 +0000
description:
Actually profile system calls.
Problem and most of the fix reported by Anders Hjalmarsson in PR 4976; libposix
mentioned by Chris G. Demetriou.
diffstat:
lib/libc/sys/Makefile.inc | 8 ++++----
lib/libposix/sys/Makefile.inc | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 2cace3f66258 -r a396004724af lib/libc/sys/Makefile.inc
--- a/lib/libc/sys/Makefile.inc Wed Oct 27 14:37:49 1999 +0000
+++ b/lib/libc/sys/Makefile.inc Wed Oct 27 14:58:28 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.96 1999/08/25 05:09:32 thorpej Exp $
+# $NetBSD: Makefile.inc,v 1.97 1999/10/27 14:58:28 is Exp $
# @(#)Makefile.inc 8.3 (Berkeley) 10/24/94
# sys sources
@@ -83,7 +83,7 @@
${DESTDIR}/usr/include/sys/syscall.h
@echo creating ${.TARGET}
@printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' | \
- ${CPP} -DPROF ${ACPPFLAGS} ${AINC} | \
+ ${CPP} -DGPROF ${ACPPFLAGS} ${AINC} | \
${AS} -o ${.TARGET}.o
@${LD} -X -r ${.TARGET}.o -o ${.TARGET}
@rm -f ${.TARGET}.o
@@ -107,7 +107,7 @@
${DESTDIR}/usr/include/sys/syscall.h
@echo creating ${.TARGET}
@printf '#include "SYS.h"\nRSYSCALL_NOERROR(${.PREFIX})\n' | \
- ${CPP} -DPROF ${ACPPFLAGS} ${AINC} | ${AS} -o ${.TARGET}.o
+ ${CPP} -DGPROF ${ACPPFLAGS} ${AINC} | ${AS} -o ${.TARGET}.o
@${LD} -X -r ${.TARGET}.o -o ${.TARGET}
@rm -f ${.TARGET}.o
@@ -131,7 +131,7 @@
@echo creating ${.TARGET}
@printf '#include "SYS.h"\n \
PSEUDO_NOERROR(${.PREFIX},${.PREFIX:S/_//})\n' | \
- ${CPP} -DPROF ${ACPPFLAGS} ${AINC} | ${AS} -o ${.TARGET}.o
+ ${CPP} -DGPROF ${ACPPFLAGS} ${AINC} | ${AS} -o ${.TARGET}.o
@${LD} -X -r ${.TARGET}.o -o ${.TARGET}
@rm -f ${.TARGET}.o
diff -r 2cace3f66258 -r a396004724af lib/libposix/sys/Makefile.inc
--- a/lib/libposix/sys/Makefile.inc Wed Oct 27 14:37:49 1999 +0000
+++ b/lib/libposix/sys/Makefile.inc Wed Oct 27 14:58:28 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.10 1999/07/05 15:54:18 kleink Exp $
+# $NetBSD: Makefile.inc,v 1.11 1999/10/27 14:58:30 is Exp $
# sys sources
.PATH: ${.CURDIR}/sys
@@ -15,7 +15,7 @@
@echo creating ${.TARGET}
@printf '#include "SYS.h"\n \
PSEUDO(${.PREFIX},${.PREFIX:S/^/__posix_/})\n' | \
- ${CPP} -DPROF ${CPPFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.TARGET}.o
+ ${CPP} -DGPROF ${CPPFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.TARGET}.o
@${LD} -X -r ${.TARGET}.o -o ${.TARGET}
@rm -f ${.TARGET}.o
Home |
Main Index |
Thread Index |
Old Index