From owner-svn-src-all@FreeBSD.ORG Fri Nov 26 08:11:43 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8046106566B; Fri, 26 Nov 2010 08:11:43 +0000 (UTC) (envelope-from uqs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C619C8FC14; Fri, 26 Nov 2010 08:11:43 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id oAQ8Bhi1031941; Fri, 26 Nov 2010 08:11:43 GMT (envelope-from uqs@svn.freebsd.org) Received: (from uqs@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id oAQ8BhnL031938; Fri, 26 Nov 2010 08:11:43 GMT (envelope-from uqs@svn.freebsd.org) Message-Id: <201011260811.oAQ8BhnL031938@svn.freebsd.org> From: Ulrich Spoerlein Date: Fri, 26 Nov 2010 08:11:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r215854 - in head/sys: amd64/amd64 i386/i386 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2010 08:11:43 -0000 Author: uqs Date: Fri Nov 26 08:11:43 2010 New Revision: 215854 URL: http://svn.freebsd.org/changeset/base/215854 Log: Remove kernel support for BB profiling, now that kernbb(8) is gone, too. PR: bin/83558 Reviewed by: jkim Modified: head/sys/amd64/amd64/support.S head/sys/i386/i386/support.s Modified: head/sys/amd64/amd64/support.S ============================================================================== --- head/sys/amd64/amd64/support.S Fri Nov 26 05:29:19 2010 (r215853) +++ head/sys/amd64/amd64/support.S Fri Nov 26 08:11:43 2010 (r215854) @@ -700,25 +700,6 @@ ENTRY(longjmp) END(longjmp) /* - * Support for BB-profiling (gcc -a). The kernbb program will extract - * the data from the kernel. - */ - - .data - ALIGN_DATA - .globl bbhead -bbhead: - .quad 0 - - .text -NON_GPROF_ENTRY(__bb_init_func) - movq $1,(%rdi) - movq bbhead,%rax - movq %rax,32(%rdi) - movq %rdi,bbhead - NON_GPROF_RET - -/* * Support for reading MSRs in the safe manner. */ ENTRY(rdmsr_safe) Modified: head/sys/i386/i386/support.s ============================================================================== --- head/sys/i386/i386/support.s Fri Nov 26 05:29:19 2010 (r215853) +++ head/sys/i386/i386/support.s Fri Nov 26 08:11:43 2010 (r215854) @@ -790,26 +790,6 @@ ENTRY(longjmp) END(longjmp) /* - * Support for BB-profiling (gcc -a). The kernbb program will extract - * the data from the kernel. - */ - - .data - ALIGN_DATA - .globl bbhead -bbhead: - .long 0 - - .text -NON_GPROF_ENTRY(__bb_init_func) - movl 4(%esp),%eax - movl $1,(%eax) - movl bbhead,%edx - movl %edx,16(%eax) - movl %eax,bbhead - NON_GPROF_RET - -/* * Support for reading MSRs in the safe manner. */ ENTRY(rdmsr_safe)