Remove kernel support for BB profiling, now that kernbb(8) is gone, too.
PR: bin/83558 Reviewed by: jkim
This commit is contained in:
parent
0d004de9dc
commit
5aa6bbafd4
@ -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.
|
||||||
*/
|
*/
|
||||||
|
@ -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.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user