powerpc: Hide some system call labels from profile tools
syscall_dotrace_cont and syscall_error_cont tend to complicate perf output so make them local. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
76ef6a25ce
commit
d14299dec7
1 changed files with 4 additions and 4 deletions
|
@ -154,7 +154,7 @@ END_FW_FTR_SECTION_IFSET(FW_FEATURE_SPLPAR)
|
||||||
ld r10,TI_FLAGS(r11)
|
ld r10,TI_FLAGS(r11)
|
||||||
andi. r11,r10,_TIF_SYSCALL_T_OR_A
|
andi. r11,r10,_TIF_SYSCALL_T_OR_A
|
||||||
bne- syscall_dotrace
|
bne- syscall_dotrace
|
||||||
syscall_dotrace_cont:
|
.Lsyscall_dotrace_cont:
|
||||||
cmpldi 0,r0,NR_syscalls
|
cmpldi 0,r0,NR_syscalls
|
||||||
bge- syscall_enosys
|
bge- syscall_enosys
|
||||||
|
|
||||||
|
@ -211,7 +211,7 @@ syscall_exit:
|
||||||
cmpld r3,r11
|
cmpld r3,r11
|
||||||
ld r5,_CCR(r1)
|
ld r5,_CCR(r1)
|
||||||
bge- syscall_error
|
bge- syscall_error
|
||||||
syscall_error_cont:
|
.Lsyscall_error_cont:
|
||||||
ld r7,_NIP(r1)
|
ld r7,_NIP(r1)
|
||||||
BEGIN_FTR_SECTION
|
BEGIN_FTR_SECTION
|
||||||
stdcx. r0,0,r1 /* to clear the reservation */
|
stdcx. r0,0,r1 /* to clear the reservation */
|
||||||
|
@ -246,7 +246,7 @@ syscall_error:
|
||||||
oris r5,r5,0x1000 /* Set SO bit in CR */
|
oris r5,r5,0x1000 /* Set SO bit in CR */
|
||||||
neg r3,r3
|
neg r3,r3
|
||||||
std r5,_CCR(r1)
|
std r5,_CCR(r1)
|
||||||
b syscall_error_cont
|
b .Lsyscall_error_cont
|
||||||
|
|
||||||
/* Traced system call support */
|
/* Traced system call support */
|
||||||
syscall_dotrace:
|
syscall_dotrace:
|
||||||
|
@ -268,7 +268,7 @@ syscall_dotrace:
|
||||||
addi r9,r1,STACK_FRAME_OVERHEAD
|
addi r9,r1,STACK_FRAME_OVERHEAD
|
||||||
clrrdi r10,r1,THREAD_SHIFT
|
clrrdi r10,r1,THREAD_SHIFT
|
||||||
ld r10,TI_FLAGS(r10)
|
ld r10,TI_FLAGS(r10)
|
||||||
b syscall_dotrace_cont
|
b .Lsyscall_dotrace_cont
|
||||||
|
|
||||||
syscall_enosys:
|
syscall_enosys:
|
||||||
li r3,-ENOSYS
|
li r3,-ENOSYS
|
||||||
|
|
Loading…
Add table
Reference in a new issue