svn commit: r215854 - in head/sys: amd64/amd64 i386/i386
Ulrich Spoerlein
uqs at FreeBSD.org
Fri Nov 26 08:11:43 UTC 2010
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)
More information about the svn-src-head
mailing list