Remove kernel support for BB profiling, now that kernbb(8) is gone, too.

PR:		bin/83558
Reviewed by:	jkim
This commit is contained in:
uqs 2010-11-26 08:11:43 +00:00
parent 0d004de9dc
commit 5aa6bbafd4
2 changed files with 0 additions and 39 deletions

View File

@ -699,25 +699,6 @@ ENTRY(longjmp)
ret ret
END(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. * Support for reading MSRs in the safe manner.
*/ */

View File

@ -789,26 +789,6 @@ ENTRY(longjmp)
ret ret
END(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. * Support for reading MSRs in the safe manner.
*/ */