From owner-freebsd-questions Tue Aug 17 20:44:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dirty.research.bell-labs.com (dirty.research.bell-labs.com [204.178.16.6]) by hub.freebsd.org (Postfix) with SMTP id E4C45156A9 for ; Tue, 17 Aug 1999 20:44:20 -0700 (PDT) (envelope-from kwchen@dnrc.bell-labs.com) Received: from chair.dnrc.bell-labs.com ([135.180.161.201]) by dirty; Tue Aug 17 23:42:23 EDT 1999 Received: from blacktip.dnrc.bell-labs.com (blacktip [135.180.144.173]) by chair.dnrc.bell-labs.com (8.9.3/8.9.3) with ESMTP id XAA07957 for ; Tue, 17 Aug 1999 23:42:47 -0400 (EDT) From: Kuo Wei H Chen Received: (from kwchen@localhost) by blacktip.dnrc.bell-labs.com (8.9.3/8.9.3) id XAA15627 for freebsd-questions@freebsd.org; Tue, 17 Aug 1999 23:42:49 -0400 (EDT) Date: Tue, 17 Aug 1999 23:42:49 -0400 (EDT) Message-Id: <199908180342.XAA15627@blacktip.dnrc.bell-labs.com> To: freebsd-questions@freebsd.org Subject: how to enable kernel profiling? Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG To enable kernel profiling on FreeBSD Rel 3.2, I did the following, (according to a posting by Bruce Evans on 9/11/1996): config -p make clean depend make But I got link errors on several files: mcount.o: multiple def. of mcountprof_machdep.o: first defined here (????) device_if.o: many undefined reference to mcount exception.o: undefined reference to _btrap and _bintr i386-gdbstub.o: many undefined reference to mcount prof_machdep.o: undefined reference to mcount, __gmonparam psm.o: many undefined reference to mcount Did I miss any steps? Thanks for the help. K. Herman Chen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message