Date: Fri, 26 Nov 2010 08:11:43 +0000 (UTC) From: Ulrich Spoerlein <uqs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r215854 - in head/sys: amd64/amd64 i386/i386 Message-ID: <201011260811.oAQ8BhnL031938@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011260811.oAQ8BhnL031938>