summaryrefslogtreecommitdiffstats
path: root/sys/conf/kern.post.mk
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-07-13 22:28:34 +0000
committerbde <bde@FreeBSD.org>2002-07-13 22:28:34 +0000
commit61e58ad58c5e1a0abd7f2fb47bd3446e120a38ae (patch)
tree5f9c415297fbfd3a4696401e06fbf9cdf4332536 /sys/conf/kern.post.mk
parentde5af3fe19c0dff0cfb3c6e68d0520e4d5a1d226 (diff)
downloadFreeBSD-src-61e58ad58c5e1a0abd7f2fb47bd3446e120a38ae.zip
FreeBSD-src-61e58ad58c5e1a0abd7f2fb47bd3446e120a38ae.tar.gz
Quick fix for high resolution kernel profiling on i386's. Use
-finstrument-functions instead of -mprofiler-epilogue. The former works essentially the same as the latter but has a higher overhead (about 22 more bytes per function for passing unused args to the profiling functions). Removed all traces of the IDENT Makefile variable, which had been reduced to just a place for holding profiling's contribution to CFLAGS (the IDENT that gives the kernel identity was renamed to KERN_IDENT).
Diffstat (limited to 'sys/conf/kern.post.mk')
-rw-r--r--sys/conf/kern.post.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk
index 503bf9f..f840d15 100644
--- a/sys/conf/kern.post.mk
+++ b/sys/conf/kern.post.mk
@@ -224,7 +224,7 @@ hints.o: hints.c
${NORMAL_C}
vers.c: $S/conf/newvers.sh $S/sys/param.h ${SYSTEM_DEP}
- sh $S/conf/newvers.sh ${KERN_IDENT} ${IDENT}
+ sh $S/conf/newvers.sh ${KERN_IDENT}
# XXX strictly, everything depends on Makefile because changes to ${PROF}
# only appear there, but we don't handle that.
OpenPOWER on IntegriCloud