summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86/syscalls
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-05-21 03:11:57 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-21 03:11:58 +0000
commit20177b9fea893ab63a49cf574790ea5e5027e50d (patch)
tree89ba046be0d6572f54de0a930bcac365f0881928 /libc/arch-x86/syscalls
parent3d2bc5d6c8f08e587a8dad848829f98776549ba6 (diff)
parent4e631ba5688db2fae7bbc476982055a376102146 (diff)
downloadbionic-20177b9fea893ab63a49cf574790ea5e5027e50d.zip
bionic-20177b9fea893ab63a49cf574790ea5e5027e50d.tar.gz
bionic-20177b9fea893ab63a49cf574790ea5e5027e50d.tar.bz2
Merge "Remove perf_event_open."
Diffstat (limited to 'libc/arch-x86/syscalls')
-rw-r--r--libc/arch-x86/syscalls/perf_event_open.S38
1 files changed, 0 insertions, 38 deletions
diff --git a/libc/arch-x86/syscalls/perf_event_open.S b/libc/arch-x86/syscalls/perf_event_open.S
deleted file mode 100644
index ebbe1f0..0000000
--- a/libc/arch-x86/syscalls/perf_event_open.S
+++ /dev/null
@@ -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)