Merge "Remove perf_event_open."
This commit is contained in:
		@@ -297,7 +297,6 @@ int     delete_module(const char*, unsigned int)   all
 | 
			
		||||
int     klogctl:syslog(int, char*, int)   all
 | 
			
		||||
int     sysinfo(struct sysinfo*)  all
 | 
			
		||||
int     personality(unsigned long)  all
 | 
			
		||||
long    perf_event_open(struct perf_event_attr* attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags) all
 | 
			
		||||
 | 
			
		||||
int epoll_create1(int)  all
 | 
			
		||||
int epoll_ctl(int, int op, int, struct epoll_event*)  all
 | 
			
		||||
 
 | 
			
		||||
@@ -1,22 +0,0 @@
 | 
			
		||||
/* Generated by gensyscalls.py. Do not edit. */
 | 
			
		||||
 | 
			
		||||
#include <private/bionic_asm.h>
 | 
			
		||||
 | 
			
		||||
ENTRY(perf_event_open)
 | 
			
		||||
    mov     ip, sp
 | 
			
		||||
    stmfd   sp!, {r4, r5, r6, r7}
 | 
			
		||||
    .cfi_def_cfa_offset 16
 | 
			
		||||
    .cfi_rel_offset r4, 0
 | 
			
		||||
    .cfi_rel_offset r5, 4
 | 
			
		||||
    .cfi_rel_offset r6, 8
 | 
			
		||||
    .cfi_rel_offset r7, 12
 | 
			
		||||
    ldmfd   ip, {r4, r5, r6}
 | 
			
		||||
    ldr     r7, =__NR_perf_event_open
 | 
			
		||||
    swi     #0
 | 
			
		||||
    ldmfd   sp!, {r4, r5, r6, r7}
 | 
			
		||||
    .cfi_def_cfa_offset 0
 | 
			
		||||
    cmn     r0, #(MAX_ERRNO + 1)
 | 
			
		||||
    bxls    lr
 | 
			
		||||
    neg     r0, r0
 | 
			
		||||
    b       __set_errno
 | 
			
		||||
END(perf_event_open)
 | 
			
		||||
@@ -1,21 +0,0 @@
 | 
			
		||||
/* Generated by gensyscalls.py. Do not edit. */
 | 
			
		||||
 | 
			
		||||
#include <private/bionic_asm.h>
 | 
			
		||||
 | 
			
		||||
ENTRY(perf_event_open)
 | 
			
		||||
    stp     x29, x30, [sp, #-16]!
 | 
			
		||||
    mov     x29,  sp
 | 
			
		||||
    str     x8,       [sp, #-16]!
 | 
			
		||||
 | 
			
		||||
    mov     x8, __NR_perf_event_open
 | 
			
		||||
    svc     #0
 | 
			
		||||
 | 
			
		||||
    ldr     x8,       [sp], #16
 | 
			
		||||
    ldp     x29, x30, [sp], #16
 | 
			
		||||
 | 
			
		||||
    cmn     x0, #(MAX_ERRNO + 1)
 | 
			
		||||
    cneg    x0, x0, hi
 | 
			
		||||
    b.hi    __set_errno
 | 
			
		||||
 | 
			
		||||
    ret
 | 
			
		||||
END(perf_event_open)
 | 
			
		||||
@@ -1,19 +0,0 @@
 | 
			
		||||
/* Generated by gensyscalls.py. Do not edit. */
 | 
			
		||||
 | 
			
		||||
#include <private/bionic_asm.h>
 | 
			
		||||
 | 
			
		||||
ENTRY(perf_event_open)
 | 
			
		||||
    .set noreorder
 | 
			
		||||
    .cpload t9
 | 
			
		||||
    li v0, __NR_perf_event_open
 | 
			
		||||
    syscall
 | 
			
		||||
    bnez a3, 1f
 | 
			
		||||
    move a0, v0
 | 
			
		||||
    j ra
 | 
			
		||||
    nop
 | 
			
		||||
1:
 | 
			
		||||
    la t9,__set_errno
 | 
			
		||||
    j t9
 | 
			
		||||
    nop
 | 
			
		||||
    .set reorder
 | 
			
		||||
END(perf_event_open)
 | 
			
		||||
@@ -1,25 +0,0 @@
 | 
			
		||||
/* Generated by gensyscalls.py. Do not edit. */
 | 
			
		||||
 | 
			
		||||
#include <private/bionic_asm.h>
 | 
			
		||||
 | 
			
		||||
ENTRY(perf_event_open)
 | 
			
		||||
    .set push
 | 
			
		||||
    .set noreorder
 | 
			
		||||
    li v0, __NR_perf_event_open
 | 
			
		||||
    syscall
 | 
			
		||||
    bnez a3, 1f
 | 
			
		||||
    move a0, v0
 | 
			
		||||
    j ra
 | 
			
		||||
    nop
 | 
			
		||||
1:
 | 
			
		||||
    move t0, ra
 | 
			
		||||
    bal     2f
 | 
			
		||||
    nop
 | 
			
		||||
2:
 | 
			
		||||
    .cpsetup ra, t1, 2b
 | 
			
		||||
    LA t9,__set_errno
 | 
			
		||||
    .cpreturn
 | 
			
		||||
    j t9
 | 
			
		||||
    move ra, t0
 | 
			
		||||
    .set pop
 | 
			
		||||
END(perf_event_open)
 | 
			
		||||
@@ -1,38 +0,0 @@
 | 
			
		||||
/* Generated by gensyscalls.py. Do not edit. */
 | 
			
		||||
 | 
			
		||||
#include <private/bionic_asm.h>
 | 
			
		||||
 | 
			
		||||
ENTRY(perf_event_open)
 | 
			
		||||
    pushl   %ebx
 | 
			
		||||
    pushl   %ecx
 | 
			
		||||
    pushl   %edx
 | 
			
		||||
    pushl   %esi
 | 
			
		||||
    pushl   %edi
 | 
			
		||||
    .cfi_def_cfa_offset 20
 | 
			
		||||
    .cfi_rel_offset ebx, 0
 | 
			
		||||
    .cfi_rel_offset ecx, 4
 | 
			
		||||
    .cfi_rel_offset edx, 8
 | 
			
		||||
    .cfi_rel_offset esi, 12
 | 
			
		||||
    .cfi_rel_offset edi, 16
 | 
			
		||||
    mov     24(%esp), %ebx
 | 
			
		||||
    mov     28(%esp), %ecx
 | 
			
		||||
    mov     32(%esp), %edx
 | 
			
		||||
    mov     36(%esp), %esi
 | 
			
		||||
    mov     40(%esp), %edi
 | 
			
		||||
    movl    $__NR_perf_event_open, %eax
 | 
			
		||||
    int     $0x80
 | 
			
		||||
    cmpl    $-MAX_ERRNO, %eax
 | 
			
		||||
    jb      1f
 | 
			
		||||
    negl    %eax
 | 
			
		||||
    pushl   %eax
 | 
			
		||||
    call    __set_errno
 | 
			
		||||
    addl    $4, %esp
 | 
			
		||||
    orl     $-1, %eax
 | 
			
		||||
1:
 | 
			
		||||
    popl    %edi
 | 
			
		||||
    popl    %esi
 | 
			
		||||
    popl    %edx
 | 
			
		||||
    popl    %ecx
 | 
			
		||||
    popl    %ebx
 | 
			
		||||
    ret
 | 
			
		||||
END(perf_event_open)
 | 
			
		||||
@@ -1,17 +0,0 @@
 | 
			
		||||
/* Generated by gensyscalls.py. Do not edit. */
 | 
			
		||||
 | 
			
		||||
#include <private/bionic_asm.h>
 | 
			
		||||
 | 
			
		||||
ENTRY(perf_event_open)
 | 
			
		||||
    movq    %rcx, %r10
 | 
			
		||||
    movl    $__NR_perf_event_open, %eax
 | 
			
		||||
    syscall
 | 
			
		||||
    cmpq    $-MAX_ERRNO, %rax
 | 
			
		||||
    jb      1f
 | 
			
		||||
    negl    %eax
 | 
			
		||||
    movl    %eax, %edi
 | 
			
		||||
    call    __set_errno
 | 
			
		||||
    orq     $-1, %rax
 | 
			
		||||
1:
 | 
			
		||||
    ret
 | 
			
		||||
END(perf_event_open)
 | 
			
		||||
		Reference in New Issue
	
	Block a user