/external/strace/ |
D | mem.c | 50 printaddr(tcp->u_arg[0]); in SYS_FUNC() 59 print_mmap(struct tcb *tcp, kernel_ulong_t *u_arg, unsigned long long offset) in print_mmap() argument 61 const kernel_ulong_t addr = u_arg[0]; in print_mmap() 62 const kernel_ulong_t len = u_arg[1]; in print_mmap() 63 const kernel_ulong_t prot = u_arg[2]; in print_mmap() 64 const kernel_ulong_t flags = u_arg[3]; in print_mmap() 65 const int fd = u_arg[4]; in print_mmap() 97 kernel_ulong_t u_arg[6]; in SYS_FUNC() local 101 if (umove_or_printaddr(tcp, tcp->u_arg[0], &narrow_arg)) in SYS_FUNC() 105 u_arg[i] = narrow_arg[i]; in SYS_FUNC() [all …]
|
D | time.c | 51 print_timeval(tcp, tcp->u_arg[0]); in SYS_FUNC() 53 print_timezone(tcp, tcp->u_arg[1]); in SYS_FUNC() 62 print_timeval32(tcp, tcp->u_arg[0]); in SYS_FUNC() 64 print_timezone(tcp, tcp->u_arg[1]); in SYS_FUNC() 72 print_timeval(tcp, tcp->u_arg[0]); in SYS_FUNC() 74 print_timezone(tcp, tcp->u_arg[1]); in SYS_FUNC() 82 print_timeval32(tcp, tcp->u_arg[0]); in SYS_FUNC() 84 print_timezone(tcp, tcp->u_arg[1]); in SYS_FUNC() 93 print_timespec(tcp, tcp->u_arg[0]); in SYS_FUNC() 105 print_timespec(tcp, tcp->u_arg[1]); in SYS_FUNC() [all …]
|
D | io.c | 39 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 43 printaddr(tcp->u_arg[1]); in SYS_FUNC() 45 printstrn(tcp, tcp->u_arg[1], tcp->u_rval); in SYS_FUNC() 46 tprintf(", %" PRI_klu, tcp->u_arg[2]); in SYS_FUNC() 53 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 55 printstrn(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC() 56 tprintf(", %" PRI_klu, tcp->u_arg[2]); in SYS_FUNC() 99 decode_netlink(tcp, tcp->u_arg[0], iov[0], len); in print_iovec() 132 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 135 tprint_iov_upto(tcp, tcp->u_arg[2], tcp->u_arg[1], in SYS_FUNC() [all …]
|
D | xattr.c | 59 printpath(tcp, tcp->u_arg[0]); in SYS_FUNC() 61 printstr(tcp, tcp->u_arg[1]); in SYS_FUNC() 62 print_xattr_val(tcp, tcp->u_arg[2], tcp->u_arg[3], tcp->u_arg[3]); in SYS_FUNC() 64 printflags(xattrflags, tcp->u_arg[4], "XATTR_???"); in SYS_FUNC() 70 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 72 printstr(tcp, tcp->u_arg[1]); in SYS_FUNC() 73 print_xattr_val(tcp, tcp->u_arg[2], tcp->u_arg[3], tcp->u_arg[3]); in SYS_FUNC() 75 printflags(xattrflags, tcp->u_arg[4], "XATTR_???"); in SYS_FUNC() 82 printpath(tcp, tcp->u_arg[0]); in SYS_FUNC() 84 printstr(tcp, tcp->u_arg[1]); in SYS_FUNC() [all …]
|
D | net.c | 141 printxval(addrfams, tcp->u_arg[0], "AF_???"); in SYS_FUNC() 143 tprint_sock_type(tcp->u_arg[1]); in SYS_FUNC() 145 switch (tcp->u_arg[0]) { in SYS_FUNC() 148 printxval(inet_protocols, tcp->u_arg[2], "IPPROTO_???"); in SYS_FUNC() 152 printxval(netlink_protocols, tcp->u_arg[2], "NETLINK_???"); in SYS_FUNC() 157 printxval(bt_protocols, tcp->u_arg[2], "BTPROTO_???"); in SYS_FUNC() 162 tprintf("%" PRI_klu, tcp->u_arg[2]); in SYS_FUNC() 171 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 173 const int addrlen = tcp->u_arg[2]; in SYS_FUNC() 174 decode_sockaddr(tcp, tcp->u_arg[1], addrlen); in SYS_FUNC() [all …]
|
D | mq.c | 35 printpath(tcp, tcp->u_arg[0]); in SYS_FUNC() 38 tprint_open_modes(tcp->u_arg[1]); in SYS_FUNC() 39 if (tcp->u_arg[1] & O_CREAT) { in SYS_FUNC() 42 print_numeric_umode_t(tcp->u_arg[2]); in SYS_FUNC() 44 printmqattr(tcp, tcp->u_arg[3], false); in SYS_FUNC() 51 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC() 52 printstrn(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC() 53 tprintf(", %" PRI_klu ", %u, ", tcp->u_arg[2], in SYS_FUNC() 54 (unsigned int) tcp->u_arg[3]); in SYS_FUNC() 55 print_timespec(tcp, tcp->u_arg[4]); in SYS_FUNC() [all …]
|
D | numa.c | 67 tprintf("%d, %" PRI_klu ", ", (int) tcp->u_arg[0], tcp->u_arg[1]); in SYS_FUNC() 68 print_nodemask(tcp, tcp->u_arg[2], tcp->u_arg[1]); in SYS_FUNC() 70 print_nodemask(tcp, tcp->u_arg[3], tcp->u_arg[1]); in SYS_FUNC() 80 printaddr(tcp->u_arg[0]); in SYS_FUNC() 81 tprintf(", %" PRI_klu ", ", tcp->u_arg[1]); in SYS_FUNC() 82 printxval64(policies, tcp->u_arg[2], "MPOL_???"); in SYS_FUNC() 84 print_nodemask(tcp, tcp->u_arg[3], tcp->u_arg[4]); in SYS_FUNC() 85 tprintf(", %" PRI_klu ", ", tcp->u_arg[4]); in SYS_FUNC() 86 printflags(mbindflags, tcp->u_arg[5], "MPOL_???"); in SYS_FUNC() 93 printxval(policies, tcp->u_arg[0], "MPOL_???"); in SYS_FUNC() [all …]
|
D | ipc_sem.c | 76 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC() 78 tprint_sembuf_array(tcp, tcp->u_arg[3], tcp->u_arg[1]); in SYS_FUNC() 80 tprint_sembuf_array(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC() 87 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC() 89 tprint_sembuf_array(tcp, tcp->u_arg[3], tcp->u_arg[1]); in SYS_FUNC() 92 print_timespec(tcp, tcp->u_arg[2]); in SYS_FUNC() 94 print_timespec(tcp, tcp->u_arg[4]); in SYS_FUNC() 97 tprint_sembuf_array(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC() 99 print_timespec(tcp, tcp->u_arg[3]); in SYS_FUNC() 106 const int key = (int) tcp->u_arg[0]; in SYS_FUNC() [all …]
|
D | ipc_msg.c | 48 const int key = (int) tcp->u_arg[0]; in SYS_FUNC() 54 if (printflags(resource_flags, tcp->u_arg[1] & ~0777, NULL) != 0) in SYS_FUNC() 56 print_numeric_umode_t(tcp->u_arg[1] & 0777); in SYS_FUNC() 70 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC() 72 tprint_msgsnd(tcp, tcp->u_arg[3], tcp->u_arg[1], in SYS_FUNC() 73 tcp->u_arg[2]); in SYS_FUNC() 75 tprint_msgsnd(tcp, tcp->u_arg[1], tcp->u_arg[2], in SYS_FUNC() 76 tcp->u_arg[3]); in SYS_FUNC() 110 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC() 119 tprint_msgrcv(tcp, tcp->u_arg[3], in SYS_FUNC() [all …]
|
D | signal.c | 291 tprint_old_sigmask_val("", (unsigned) tcp->u_arg[0]); in SYS_FUNC() 367 int signo = tcp->u_arg[0]; in SYS_FUNC() 376 decode_old_sigaction(tcp, tcp->u_arg[1]); in SYS_FUNC() 379 decode_old_sigaction(tcp, tcp->u_arg[2]); in SYS_FUNC() 386 printsignal(tcp->u_arg[0]); in SYS_FUNC() 388 print_sa_handler(tcp->u_arg[1]); in SYS_FUNC() 409 print_sigset_addr_len(tcp, tcp->u_arg[tcp->s_ent->nargs - 1], in SYS_FUNC() 412 tprint_old_sigmask_val("", tcp->u_arg[tcp->s_ent->nargs - 1]); in SYS_FUNC() 433 printxval(sigprocmaskcmds, tcp->u_arg[0], "SIG_???"); in SYS_FUNC() 434 tprintsigmask_val(", ", tcp->u_arg[1]); in SYS_FUNC() [all …]
|
D | sched.c | 42 tprintf("%d", (int) tcp->u_arg[0]); in SYS_FUNC() 53 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC() 54 printxval(schedulers, tcp->u_arg[1], "SCHED_???"); in SYS_FUNC() 56 printnum_int(tcp, tcp->u_arg[2], "%d"); in SYS_FUNC() 64 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC() 66 printnum_int(tcp, tcp->u_arg[1], "%d"); in SYS_FUNC() 72 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC() 73 printnum_int(tcp, tcp->u_arg[1], "%d"); in SYS_FUNC() 80 printxval(schedulers, tcp->u_arg[0], "SCHED_???"); in SYS_FUNC() 88 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC() [all …]
|
D | pathtrace.c | 172 return fdmatch(tcp, tcp->u_arg[0]) || in pathtrace_match() 173 fdmatch(tcp, tcp->u_arg[1]); in pathtrace_match() 191 return fdmatch(tcp, tcp->u_arg[0]) || in pathtrace_match() 192 upathmatch(tcp, tcp->u_arg[1]); in pathtrace_match() 198 return upathmatch(tcp, tcp->u_arg[0]) || in pathtrace_match() 199 upathmatch(tcp, tcp->u_arg[1]); in pathtrace_match() 203 return upathmatch(tcp, tcp->u_arg[1]); in pathtrace_match() 209 return fdmatch(tcp, tcp->u_arg[0]) || in pathtrace_match() 210 fdmatch(tcp, tcp->u_arg[2]) || in pathtrace_match() 211 upathmatch(tcp, tcp->u_arg[1]) || in pathtrace_match() [all …]
|
D | uid.c | 78 printuid("", tcp->u_arg[0]); in SYS_FUNC() 85 printuid("", tcp->u_arg[0]); in SYS_FUNC() 108 get_print_uid(tcp, "", tcp->u_arg[0]); in SYS_FUNC() 109 get_print_uid(tcp, ", ", tcp->u_arg[1]); in SYS_FUNC() 110 get_print_uid(tcp, ", ", tcp->u_arg[2]); in SYS_FUNC() 117 printuid("", tcp->u_arg[0]); in SYS_FUNC() 118 printuid(", ", tcp->u_arg[1]); in SYS_FUNC() 125 printuid("", tcp->u_arg[0]); in SYS_FUNC() 126 printuid(", ", tcp->u_arg[1]); in SYS_FUNC() 127 printuid(", ", tcp->u_arg[2]); in SYS_FUNC() [all …]
|
D | link.c | 42 printpath(tcp, tcp->u_arg[0]); in SYS_FUNC() 44 printpath(tcp, tcp->u_arg[1]); in SYS_FUNC() 51 print_dirfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 52 printpath(tcp, tcp->u_arg[1]); in SYS_FUNC() 54 print_dirfd(tcp, tcp->u_arg[2]); in SYS_FUNC() 55 printpath(tcp, tcp->u_arg[3]); in SYS_FUNC() 57 printflags(at_flags, tcp->u_arg[4], "AT_???"); in SYS_FUNC() 64 print_dirfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 65 printpath(tcp, tcp->u_arg[1]); in SYS_FUNC() 67 printflags(at_flags, tcp->u_arg[2], "AT_???"); in SYS_FUNC() [all …]
|
D | sendfile.c | 34 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 36 printfd(tcp, tcp->u_arg[1]); in SYS_FUNC() 38 if (!printnum_int64(tcp, tcp->u_arg[2], "%" PRIu64)) { in SYS_FUNC() 39 tprintf(", %" PRI_klu, tcp->u_arg[3]); in SYS_FUNC() 45 printnum_int64(tcp, tcp->u_arg[2], "%" PRIu64); in SYS_FUNC() 47 tprintf(", %" PRI_klu, tcp->u_arg[3]); in SYS_FUNC() 56 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 58 printfd(tcp, tcp->u_arg[1]); in SYS_FUNC() 60 if (!printnum_ulong(tcp, tcp->u_arg[2]) in SYS_FUNC() 61 || !tcp->u_arg[3]) { in SYS_FUNC() [all …]
|
D | resource.c | 121 printxval(resources, tcp->u_arg[0], "RLIMIT_???"); in SYS_FUNC() 124 decode_rlimit(tcp, tcp->u_arg[1]); in SYS_FUNC() 131 printxval(resources, tcp->u_arg[0], "RLIMIT_???"); in SYS_FUNC() 133 decode_rlimit(tcp, tcp->u_arg[1]); in SYS_FUNC() 141 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC() 142 printxval(resources, tcp->u_arg[1], "RLIMIT_???"); in SYS_FUNC() 144 print_rlimit64(tcp, tcp->u_arg[2]); in SYS_FUNC() 147 print_rlimit64(tcp, tcp->u_arg[3]); in SYS_FUNC() 157 printxval(usagewho, tcp->u_arg[0], "RUSAGE_???"); in SYS_FUNC() 160 printrusage(tcp, tcp->u_arg[1]); in SYS_FUNC() [all …]
|
D | fcntl.c | 91 const unsigned int cmd = tcp->u_arg[1]; in print_fcntl() 96 printflags(fdflags, tcp->u_arg[2], "FD_???"); in print_fcntl() 100 tprintf(", %" PRI_kld, tcp->u_arg[2]); in print_fcntl() 104 tprintf(", %" PRI_kld, tcp->u_arg[2]); in print_fcntl() 108 tprint_open_modes(tcp->u_arg[2]); in print_fcntl() 113 printflock(tcp, tcp->u_arg[2], 0); in print_fcntl() 118 printflock64(tcp, tcp->u_arg[2], 0); in print_fcntl() 122 print_f_owner_ex(tcp, tcp->u_arg[2]); in print_fcntl() 126 printflags64(notifyflags, tcp->u_arg[2], "DN_???"); in print_fcntl() 130 printxval64(lockfcmds, tcp->u_arg[2], "F_???"); in print_fcntl() [all …]
|
D | epoll.c | 37 tprintf("%d", (int) tcp->u_arg[0]); in SYS_FUNC() 46 printflags(epollflags, tcp->u_arg[0], "EPOLL_???"); in SYS_FUNC() 72 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 74 const unsigned int op = tcp->u_arg[1]; in SYS_FUNC() 77 printfd(tcp, tcp->u_arg[2]); in SYS_FUNC() 81 printaddr(tcp->u_arg[3]); in SYS_FUNC() 82 else if (!umove_or_printaddr(tcp, tcp->u_arg[3], &ev)) in SYS_FUNC() 92 printfd(tcp, tcp->u_arg[0]); in epoll_wait_common() 96 print_array(tcp, tcp->u_arg[1], tcp->u_rval, &ev, sizeof(ev), in epoll_wait_common() 98 tprintf(", %d, %d", (int) tcp->u_arg[2], (int) tcp->u_arg[3]); in epoll_wait_common() [all …]
|
D | process_vm.c | 36 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC() 38 kernel_ulong_t local_iovcnt = tcp->u_arg[2]; in SYS_FUNC() 39 kernel_ulong_t remote_iovcnt = tcp->u_arg[4]; in SYS_FUNC() 40 kernel_ulong_t flags = tcp->u_arg[5]; in SYS_FUNC() 43 tprint_iov_upto(tcp, local_iovcnt, tcp->u_arg[1], in SYS_FUNC() 49 tprint_iov(tcp, remote_iovcnt, tcp->u_arg[3], in SYS_FUNC() 60 kernel_ulong_t local_iovcnt = tcp->u_arg[2]; in SYS_FUNC() 61 kernel_ulong_t remote_iovcnt = tcp->u_arg[4]; in SYS_FUNC() 62 kernel_ulong_t flags = tcp->u_arg[5]; in SYS_FUNC() 65 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC() [all …]
|
D | utimes.c | 39 printpath(tcp, tcp->u_arg[0]); in SYS_FUNC() 41 print_timeval_utimes(tcp, tcp->u_arg[1]); in SYS_FUNC() 48 print_dirfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 49 printpath(tcp, tcp->u_arg[1]); in SYS_FUNC() 51 print_timeval_utimes(tcp, tcp->u_arg[2]); in SYS_FUNC() 58 print_dirfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 59 printpath(tcp, tcp->u_arg[1]); in SYS_FUNC() 61 print_timespec_utime_pair(tcp, tcp->u_arg[2]); in SYS_FUNC() 63 printflags(at_flags, tcp->u_arg[3], "AT_???"); in SYS_FUNC() 71 printpath(tcp, tcp->u_arg[0]); in SYS_FUNC() [all …]
|
D | cacheflush.c | 58 printaddr(tcp->u_arg[0]); in SYS_FUNC() 61 printxval(cacheflush_scope, tcp->u_arg[1], "FLUSH_SCOPE_???"); in SYS_FUNC() 64 printflags(cacheflush_flags, tcp->u_arg[2], "FLUSH_CACHE_???"); in SYS_FUNC() 66 tprintf(", %lu", tcp->u_arg[3]); in SYS_FUNC() 83 printaddr(tcp->u_arg[0]); in SYS_FUNC() 85 tprintf(", %lu, ", tcp->u_arg[1]); in SYS_FUNC() 87 printxval(cacheflush_flags, tcp->u_arg[2], "?CACHE"); in SYS_FUNC() 113 printaddr(tcp->u_arg[0]); in SYS_FUNC() 115 tprintf(", %lu, ", tcp->u_arg[1]); in SYS_FUNC() 117 printflags(cacheflush_flags, tcp->u_arg[2], "CACHEFLUSH_???"); in SYS_FUNC() [all …]
|
D | mmsghdr.c | 174 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 178 printaddr(tcp->u_arg[1]); in SYS_FUNC() 180 tprintf(", %u, ", (unsigned int) tcp->u_arg[2]); in SYS_FUNC() 182 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in SYS_FUNC() 190 decode_mmsgvec(tcp, tcp->u_arg[1], tcp->u_arg[2], in SYS_FUNC() 194 tprintf(", %u, ", (unsigned int) tcp->u_arg[2]); in SYS_FUNC() 196 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in SYS_FUNC() 204 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 207 save_mmsgvec_namelen(tcp, tcp->u_arg[1], tcp->u_arg[2], in SYS_FUNC() 208 sprint_timespec(tcp, tcp->u_arg[4])); in SYS_FUNC() [all …]
|
/external/strace/linux/x86_64/ |
D | get_syscall_args.c | 14 tcp->u_arg[0] = (uint32_t) x86_64_regs.rdi; in get_syscall_args() 15 tcp->u_arg[1] = (uint32_t) x86_64_regs.rsi; in get_syscall_args() 16 tcp->u_arg[2] = (uint32_t) x86_64_regs.rdx; in get_syscall_args() 17 tcp->u_arg[3] = (uint32_t) x86_64_regs.r10; in get_syscall_args() 18 tcp->u_arg[4] = (uint32_t) x86_64_regs.r8; in get_syscall_args() 19 tcp->u_arg[5] = (uint32_t) x86_64_regs.r9; in get_syscall_args() 21 tcp->u_arg[0] = x86_64_regs.rdi; in get_syscall_args() 22 tcp->u_arg[1] = x86_64_regs.rsi; in get_syscall_args() 23 tcp->u_arg[2] = x86_64_regs.rdx; in get_syscall_args() 24 tcp->u_arg[3] = x86_64_regs.r10; in get_syscall_args() [all …]
|
/external/strace/linux/mips/ |
D | get_syscall_args.c | 6 tcp->u_arg[0] = mips_REG_A0; in get_syscall_args() 7 tcp->u_arg[1] = mips_REG_A1; in get_syscall_args() 8 tcp->u_arg[2] = mips_REG_A2; in get_syscall_args() 9 tcp->u_arg[3] = mips_REG_A3; in get_syscall_args() 10 tcp->u_arg[4] = mips_REG_A4; in get_syscall_args() 11 tcp->u_arg[5] = mips_REG_A5; in get_syscall_args() 13 tcp->u_arg[0] = mips_REG_A0; in get_syscall_args() 14 tcp->u_arg[1] = mips_REG_A1; in get_syscall_args() 15 tcp->u_arg[2] = mips_REG_A2; in get_syscall_args() 16 tcp->u_arg[3] = mips_REG_A3; in get_syscall_args() [all …]
|
/external/strace/linux/sparc64/ |
D | get_syscall_args.c | 12 tcp->u_arg[0] = (uint32_t) sparc_regs.u_regs[U_REG_O0 + 0]; in get_syscall_args() 13 tcp->u_arg[1] = (uint32_t) sparc_regs.u_regs[U_REG_O0 + 1]; in get_syscall_args() 14 tcp->u_arg[2] = (uint32_t) sparc_regs.u_regs[U_REG_O0 + 2]; in get_syscall_args() 15 tcp->u_arg[3] = (uint32_t) sparc_regs.u_regs[U_REG_O0 + 3]; in get_syscall_args() 16 tcp->u_arg[4] = (uint32_t) sparc_regs.u_regs[U_REG_O0 + 4]; in get_syscall_args() 17 tcp->u_arg[5] = (uint32_t) sparc_regs.u_regs[U_REG_O0 + 5]; in get_syscall_args() 19 tcp->u_arg[0] = sparc_regs.u_regs[U_REG_O0 + 0]; in get_syscall_args() 20 tcp->u_arg[1] = sparc_regs.u_regs[U_REG_O0 + 1]; in get_syscall_args() 21 tcp->u_arg[2] = sparc_regs.u_regs[U_REG_O0 + 2]; in get_syscall_args() 22 tcp->u_arg[3] = sparc_regs.u_regs[U_REG_O0 + 3]; in get_syscall_args() [all …]
|