1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

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

PR:		bin/83558
Reviewed by:	jkim
This commit is contained in:
Ulrich Spörlein 2010-11-26 08:11:43 +00:00
parent 9f4e8f4601
commit 02604cd4f4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=215854
2 changed files with 0 additions and 39 deletions

View File

@ -699,25 +699,6 @@ ENTRY(longjmp)
ret
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.
*/

View File

@ -789,26 +789,6 @@ ENTRY(longjmp)
ret
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.
*/