aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/Makefile.amd64
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2007-12-07 08:20:17 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2007-12-07 08:20:17 +0000
commitd07f36b0754fcfa77368dfcbcd1d405a92b232e0 (patch)
treefa5327bc9f466a5a1b4e68e43a72d22b1b35f5e5 /sys/conf/Makefile.amd64
parent2de2af32a02416868cb52d8c4488f6c191656de4 (diff)
downloadsrc-d07f36b0754fcfa77368dfcbcd1d405a92b232e0.tar.gz
src-d07f36b0754fcfa77368dfcbcd1d405a92b232e0.zip
Kernel and hwpmc(4) support for callchain capture.
Sponsored by: FreeBSD Foundation and Google Inc.
Notes
Notes: svn path=/head/; revision=174395
Diffstat (limited to 'sys/conf/Makefile.amd64')
-rw-r--r--sys/conf/Makefile.amd643
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/conf/Makefile.amd64 b/sys/conf/Makefile.amd64
index 1032a51ac334..6f35c9d32f31 100644
--- a/sys/conf/Makefile.amd64
+++ b/sys/conf/Makefile.amd64
@@ -32,7 +32,8 @@ S= ../../..
.include "$S/conf/kern.pre.mk"
DDB_ENABLED!= grep DDB opt_ddb.h || true
-.if !empty(DDB_ENABLED)
+HWPMC_ENABLED!= grep HWPMC opt_hwpmc_hooks.h || true
+.if !empty(DDB_ENABLED) || !empty(HWPMC_ENABLED)
CFLAGS+= -fno-omit-frame-pointer
.endif