From owner-cvs-all@FreeBSD.ORG Sun May 23 11:38:44 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8452716A4CE; Sun, 23 May 2004 11:38:44 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DFEF43D2D; Sun, 23 May 2004 11:38:44 -0700 (PDT) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i4NIcSbI041945; Sun, 23 May 2004 11:38:28 -0700 (PDT) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i4NIcR0a041943; Sun, 23 May 2004 11:38:27 -0700 (PDT) (envelope-from bde) Message-Id: <200405231838.i4NIcR0a041943@repoman.freebsd.org> From: Bruce Evans Date: Sun, 23 May 2004 11:38:27 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf files.amd64 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 18:38:44 -0000 bde 2004/05/23 11:38:27 PDT FreeBSD src repository Modified files: sys/conf files.amd64 Log: Build prof_machdep.c if profiling. Kernel profiling for amd64's (normal and high resolution) should now compile and work as (un)well as on i386's. It works better than user profiling because: - it uses _cyg_profile_func_*() instead of .mcount(), so it doesn't suffer from gcc misspelling .mcount as mcount. - it doesn't neglect saving %rax in .mcount(). The SMP case hasn't been tested. The high resolution subcase of this uses the i8254, and as on i386's, the locking for this is deficient and the i8254 is too inefficient. The acpi timer is also too inefficient. Revision Changes Path 1.35 +1 -0 src/sys/conf/files.amd64