/external/strace/ |
D | mem.c | 49 printaddr(tcp->u_arg[0]); in SYS_FUNC() 58 print_mmap(struct tcb *tcp, long *u_arg, unsigned long long offset) in print_mmap() argument 61 printaddr(u_arg[0]); in print_mmap() 63 tprintf(", %lu, ", u_arg[1]); in print_mmap() 65 printflags(mmap_prot, u_arg[2], "PROT_???"); in print_mmap() 69 printxval(mmap_flags, u_arg[3] & MAP_TYPE, "MAP_???"); in print_mmap() 70 addflags(mmap_flags, u_arg[3] & ~MAP_TYPE); in print_mmap() 72 printflags(mmap_flags, u_arg[3], "MAP_???"); in print_mmap() 76 printfd(tcp, u_arg[4]); in print_mmap() 92 long u_arg[6]; in SYS_FUNC() local [all …]
|
D | time.c | 50 print_timeval(tcp, tcp->u_arg[0]); in SYS_FUNC() 52 print_timezone(tcp, tcp->u_arg[1]); in SYS_FUNC() 61 print_timeval32(tcp, tcp->u_arg[0]); in SYS_FUNC() 63 print_timezone(tcp, tcp->u_arg[1]); in SYS_FUNC() 71 print_timeval(tcp, tcp->u_arg[0]); in SYS_FUNC() 73 print_timezone(tcp, tcp->u_arg[1]); in SYS_FUNC() 81 print_timeval32(tcp, tcp->u_arg[0]); in SYS_FUNC() 83 print_timezone(tcp, tcp->u_arg[1]); in SYS_FUNC() 92 print_timespec(tcp, tcp->u_arg[0]); in SYS_FUNC() 104 print_timespec(tcp, tcp->u_arg[1]); in SYS_FUNC() [all …]
|
D | io.c | 38 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 42 printaddr(tcp->u_arg[1]); in SYS_FUNC() 44 printstr(tcp, tcp->u_arg[1], tcp->u_rval); in SYS_FUNC() 45 tprintf(", %lu", tcp->u_arg[2]); in SYS_FUNC() 52 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 54 printstr(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC() 55 tprintf(", %lu", tcp->u_arg[2]); in SYS_FUNC() 123 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 126 tprint_iov(tcp, tcp->u_arg[2], tcp->u_arg[1], 1); in SYS_FUNC() 127 tprintf(", %lu", tcp->u_arg[2]); in SYS_FUNC() [all …]
|
D | keyctl.c | 48 printstr(tcp, tcp->u_arg[0], -1); in SYS_FUNC() 51 printstr(tcp, tcp->u_arg[1], -1); in SYS_FUNC() 54 printstr(tcp, tcp->u_arg[2], tcp->u_arg[3]); in SYS_FUNC() 56 tprintf(", %lu, ", tcp->u_arg[3]); in SYS_FUNC() 58 print_keyring_serial_number(tcp->u_arg[4]); in SYS_FUNC() 66 printstr(tcp, tcp->u_arg[0], -1); in SYS_FUNC() 69 printstr(tcp, tcp->u_arg[1], -1); in SYS_FUNC() 72 printstr(tcp, tcp->u_arg[2], -1); in SYS_FUNC() 75 print_keyring_serial_number(tcp->u_arg[3]); in SYS_FUNC() 211 int cmd = tcp->u_arg[0]; in SYS_FUNC() [all …]
|
D | prctl.c | 71 tprintf(", %#lx", tcp->u_arg[i]); in print_prctl_args() 79 printxval(prctl_options, tcp->u_arg[0], "PR_???"); in SYS_FUNC() 81 switch (tcp->u_arg[0]) { in SYS_FUNC() 96 printnum_int(tcp, tcp->u_arg[1], "%u"); in SYS_FUNC() 104 printaddr(tcp->u_arg[1]); in SYS_FUNC() 106 printstr(tcp, tcp->u_arg[1], -1); in SYS_FUNC() 113 else if (!umove_or_printaddr(tcp, tcp->u_arg[1], &i)) { in SYS_FUNC() 132 printnum_ptr(tcp, tcp->u_arg[1]); in SYS_FUNC() 138 else if (!umove_or_printaddr(tcp, tcp->u_arg[1], &i)) { in SYS_FUNC() 148 else if (!umove_or_printaddr(tcp, tcp->u_arg[1], &i)) { in SYS_FUNC() [all …]
|
D | mq.c | 34 printpath(tcp, tcp->u_arg[0]); in SYS_FUNC() 37 tprint_open_modes(tcp->u_arg[1]); in SYS_FUNC() 38 if (tcp->u_arg[1] & O_CREAT) { in SYS_FUNC() 40 tprintf(", %#lo, ", tcp->u_arg[2]); in SYS_FUNC() 41 printmqattr(tcp, tcp->u_arg[3]); in SYS_FUNC() 48 tprintf("%ld, ", tcp->u_arg[0]); in SYS_FUNC() 49 printstr(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC() 50 tprintf(", %lu, %ld, ", tcp->u_arg[2], tcp->u_arg[3]); in SYS_FUNC() 51 print_timespec(tcp, tcp->u_arg[4]); in SYS_FUNC() 58 tprintf("%ld, ", tcp->u_arg[0]); in SYS_FUNC() [all …]
|
D | xattr.c | 90 printpath(tcp, tcp->u_arg[0]); in SYS_FUNC() 92 printstr(tcp, tcp->u_arg[1], -1); in SYS_FUNC() 93 print_xattr_val(tcp, tcp->u_arg[2], tcp->u_arg[3], tcp->u_arg[3]); in SYS_FUNC() 95 printflags(xattrflags, tcp->u_arg[4], "XATTR_???"); in SYS_FUNC() 101 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 103 printstr(tcp, tcp->u_arg[1], -1); in SYS_FUNC() 104 print_xattr_val(tcp, tcp->u_arg[2], tcp->u_arg[3], tcp->u_arg[3]); in SYS_FUNC() 106 printflags(xattrflags, tcp->u_arg[4], "XATTR_???"); in SYS_FUNC() 113 printpath(tcp, tcp->u_arg[0]); in SYS_FUNC() 115 printstr(tcp, tcp->u_arg[1], -1); in SYS_FUNC() [all …]
|
D | process_vm.c | 35 tprintf("%ld, ", tcp->u_arg[0]); in SYS_FUNC() 39 printaddr(tcp->u_arg[1]); in SYS_FUNC() 41 tprint_iov(tcp, tcp->u_arg[2], tcp->u_arg[1], 1); in SYS_FUNC() 44 tprintf(", %lu, ", tcp->u_arg[2]); in SYS_FUNC() 47 printaddr(tcp->u_arg[3]); in SYS_FUNC() 49 tprint_iov(tcp, tcp->u_arg[4], tcp->u_arg[3], 0); in SYS_FUNC() 53 tprintf(", %lu, %lu", tcp->u_arg[4], tcp->u_arg[5]); in SYS_FUNC() 61 tprintf("%ld, ", tcp->u_arg[0]); in SYS_FUNC() 63 tprint_iov(tcp, tcp->u_arg[2], tcp->u_arg[1], 1); in SYS_FUNC() 65 tprintf(", %lu, ", tcp->u_arg[2]); in SYS_FUNC() [all …]
|
D | ipc_sem.c | 96 tprintf("%lu, ", tcp->u_arg[0]); in SYS_FUNC() 98 tprint_sembuf_array(tcp, tcp->u_arg[3], tcp->u_arg[1]); in SYS_FUNC() 100 tprint_sembuf_array(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC() 107 tprintf("%lu, ", tcp->u_arg[0]); in SYS_FUNC() 109 tprint_sembuf_array(tcp, tcp->u_arg[3], tcp->u_arg[1]); in SYS_FUNC() 112 print_timespec(tcp, tcp->u_arg[2]); in SYS_FUNC() 114 print_timespec(tcp, tcp->u_arg[4]); in SYS_FUNC() 117 tprint_sembuf_array(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC() 119 print_timespec(tcp, tcp->u_arg[3]); in SYS_FUNC() 126 if (tcp->u_arg[0]) in SYS_FUNC() [all …]
|
D | signal.c | 251 tprintsigmask_val("", tcp->u_arg[0]); in SYS_FUNC() 348 printsignal(tcp->u_arg[0]); in SYS_FUNC() 350 decode_old_sigaction(tcp, tcp->u_arg[1]); in SYS_FUNC() 353 decode_old_sigaction(tcp, tcp->u_arg[2]); in SYS_FUNC() 360 printsignal(tcp->u_arg[0]); in SYS_FUNC() 362 switch (tcp->u_arg[1]) { in SYS_FUNC() 373 printaddr(tcp->u_arg[1]); in SYS_FUNC() 405 tprintsigmask_val("", tcp->u_arg[2]); in SYS_FUNC() 428 printxval(sigprocmaskcmds, tcp->u_arg[0], "SIG_???"); in SYS_FUNC() 429 tprintsigmask_val(", ", tcp->u_arg[1]); in SYS_FUNC() [all …]
|
D | ipc_msg.c | 47 if (tcp->u_arg[0]) in SYS_FUNC() 48 tprintf("%#lx, ", tcp->u_arg[0]); in SYS_FUNC() 51 if (printflags(resource_flags, tcp->u_arg[1] & ~0777, NULL) != 0) in SYS_FUNC() 53 tprintf("%#lo", tcp->u_arg[1] & 0777); in SYS_FUNC() 67 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC() 69 tprint_msgsnd(tcp, tcp->u_arg[3], tcp->u_arg[1], in SYS_FUNC() 70 tcp->u_arg[2]); in SYS_FUNC() 72 tprint_msgsnd(tcp, tcp->u_arg[1], tcp->u_arg[2], in SYS_FUNC() 73 tcp->u_arg[3]); in SYS_FUNC() 106 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC() [all …]
|
D | sched.c | 40 tprintf("%d", (int) tcp->u_arg[0]); in SYS_FUNC() 51 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC() 52 printxval(schedulers, tcp->u_arg[1], "SCHED_???"); in SYS_FUNC() 54 printnum_int(tcp, tcp->u_arg[2], "%d"); in SYS_FUNC() 62 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC() 64 printnum_int(tcp, tcp->u_arg[1], "%d"); in SYS_FUNC() 70 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC() 71 printnum_int(tcp, tcp->u_arg[1], "%d"); in SYS_FUNC() 78 printxval(schedulers, tcp->u_arg[0], "SCHED_???"); in SYS_FUNC() 86 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC() [all …]
|
D | process.c | 64 printxval(ptrace_cmds, tcp->u_arg[0], "PTRACE_???"); in SYS_FUNC() 65 tprintf(", %lu, ", tcp->u_arg[1]); in SYS_FUNC() 67 addr = tcp->u_arg[2]; in SYS_FUNC() 68 if (tcp->u_arg[0] == PTRACE_PEEKUSER in SYS_FUNC() 69 || tcp->u_arg[0] == PTRACE_POKEUSER in SYS_FUNC() 84 if (tcp->u_arg[0] == PTRACE_GETREGSET in SYS_FUNC() 85 || tcp->u_arg[0] == PTRACE_SETREGSET) in SYS_FUNC() 86 printxval(nt_descriptor_types, tcp->u_arg[2], "NT_???"); in SYS_FUNC() 91 switch (tcp->u_arg[0]) { in SYS_FUNC() 102 printsignal(tcp->u_arg[3]); in SYS_FUNC() [all …]
|
D | fcntl.c | 90 switch (tcp->u_arg[1]) { in print_fcntl() 93 printflags(fdflags, tcp->u_arg[2], "FD_???"); in print_fcntl() 97 tprintf(", %ld", tcp->u_arg[2]); in print_fcntl() 101 tprintf(", %ld", tcp->u_arg[2]); in print_fcntl() 105 tprint_open_modes(tcp->u_arg[2]); in print_fcntl() 110 printflock(tcp, tcp->u_arg[2], 0); in print_fcntl() 115 printflock64(tcp, tcp->u_arg[2], 0); in print_fcntl() 119 print_f_owner_ex(tcp, tcp->u_arg[2]); in print_fcntl() 123 printflags(notifyflags, tcp->u_arg[2], "DN_???"); in print_fcntl() 127 printxval(lockfcmds, tcp->u_arg[2], "F_???"); in print_fcntl() [all …]
|
D | pathtrace.c | 171 return fdmatch(tcp, tcp->u_arg[0]) || in pathtrace_match() 172 fdmatch(tcp, tcp->u_arg[1]); in pathtrace_match() 189 return fdmatch(tcp, tcp->u_arg[0]) || in pathtrace_match() 190 upathmatch(tcp, tcp->u_arg[1]); in pathtrace_match() 196 return upathmatch(tcp, tcp->u_arg[0]) || in pathtrace_match() 197 upathmatch(tcp, tcp->u_arg[1]); in pathtrace_match() 201 return upathmatch(tcp, tcp->u_arg[1]); in pathtrace_match() 207 return fdmatch(tcp, tcp->u_arg[0]) || in pathtrace_match() 208 fdmatch(tcp, tcp->u_arg[2]) || in pathtrace_match() 209 upathmatch(tcp, tcp->u_arg[1]) || in pathtrace_match() [all …]
|
D | net.c | 736 printaddr(tcp->u_arg[1]); in decode_mmsg() 745 printmmsghdr(tcp, tcp->u_arg[1], i, msg_len); in decode_mmsg() 750 tprintf(", %u, ", (unsigned int) tcp->u_arg[2]); in decode_mmsg() 752 printflags(msg_flags, tcp->u_arg[3], "MSG_???"); in decode_mmsg() 793 printxval(domains, tcp->u_arg[0], "PF_???"); in SYS_FUNC() 795 tprint_sock_type(tcp->u_arg[1]); in SYS_FUNC() 797 switch (tcp->u_arg[0]) { in SYS_FUNC() 802 printxval(inet_protocols, tcp->u_arg[2], "IPPROTO_???"); in SYS_FUNC() 808 printxval(domains, tcp->u_arg[2], "PF_???"); in SYS_FUNC() 814 printxval(netlink_protocols, tcp->u_arg[2], "NETLINK_???"); in SYS_FUNC() [all …]
|
D | lseek.c | 53 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 57 offset = tcp->u_arg[1]; in SYS_FUNC() 61 whence = tcp->u_arg[2]; in SYS_FUNC() 76 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 77 offset = tcp->u_arg[1]; in SYS_FUNC() 78 whence = tcp->u_arg[2]; in SYS_FUNC() 105 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 106 if (tcp->u_arg[4] == SEEK_SET) in SYS_FUNC() 108 ((long long) tcp->u_arg[1]) << 32 | in SYS_FUNC() 109 (unsigned long long) (unsigned) 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 | 33 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 35 printfd(tcp, tcp->u_arg[1]); in SYS_FUNC() 37 if (!printnum_int64(tcp, tcp->u_arg[2], "%" PRIu64)) { in SYS_FUNC() 38 tprintf(", %lu", tcp->u_arg[3]); in SYS_FUNC() 44 printnum_int64(tcp, tcp->u_arg[2], "%" PRIu64); in SYS_FUNC() 46 tprintf(", %lu", tcp->u_arg[3]); in SYS_FUNC() 55 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 57 printfd(tcp, tcp->u_arg[1]); in SYS_FUNC() 59 if (!printnum_ulong(tcp, tcp->u_arg[2]) in SYS_FUNC() 60 || !tcp->u_arg[3]) { in SYS_FUNC() [all …]
|
D | epoll.c | 38 tprintf("%d", (int) tcp->u_arg[0]); in SYS_FUNC() 47 printflags(epollflags, tcp->u_arg[0], "EPOLL_???"); in SYS_FUNC() 73 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC() 75 printxval(epollctls, tcp->u_arg[1], "EPOLL_CTL_???"); in SYS_FUNC() 77 printfd(tcp, tcp->u_arg[2]); in SYS_FUNC() 80 if (EPOLL_CTL_DEL == tcp->u_arg[1]) 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() 85 printaddr(tcp->u_arg[3]); in SYS_FUNC() 126 printfd(tcp, tcp->u_arg[0]); in epoll_wait_common() [all …]
|
D | resource.c | 124 printxval(resources, tcp->u_arg[0], "RLIMIT_???"); in SYS_FUNC() 128 decode_rlimit(tcp, tcp->u_arg[1]); in SYS_FUNC() 135 printxval(resources, tcp->u_arg[0], "RLIMIT_???"); in SYS_FUNC() 137 decode_rlimit(tcp, tcp->u_arg[1]); in SYS_FUNC() 145 tprintf("%ld, ", tcp->u_arg[0]); in SYS_FUNC() 146 printxval(resources, tcp->u_arg[1], "RLIMIT_???"); in SYS_FUNC() 148 print_rlimit64(tcp, tcp->u_arg[2]); in SYS_FUNC() 151 print_rlimit64(tcp, tcp->u_arg[3]); in SYS_FUNC() 161 printxval(usagewho, tcp->u_arg[0], "RUSAGE_???"); in SYS_FUNC() 165 printrusage(tcp, tcp->u_arg[1]); in SYS_FUNC() [all …]
|
D | ipc_shm.c | 46 if (tcp->u_arg[0]) in SYS_FUNC() 47 tprintf("%#lx", tcp->u_arg[0]); in SYS_FUNC() 50 tprintf(", %lu, ", tcp->u_arg[1]); in SYS_FUNC() 51 if (printflags(shm_resource_flags, tcp->u_arg[2] & ~0777, NULL) != 0) in SYS_FUNC() 53 tprintf("%#lo", tcp->u_arg[2] & 0777); in SYS_FUNC() 60 tprintf("%lu, ", tcp->u_arg[0]); in SYS_FUNC() 62 printaddr(tcp->u_arg[3]); in SYS_FUNC() 64 printflags(shm_flags, tcp->u_arg[1], "SHM_???"); in SYS_FUNC() 66 printaddr(tcp->u_arg[1]); in SYS_FUNC() 68 printflags(shm_flags, tcp->u_arg[2], "SHM_???"); in SYS_FUNC() [all …]
|
D | uid.c | 79 tprintf("%u", (uid_t) tcp->u_arg[0]); in SYS_FUNC() 86 printuid("", tcp->u_arg[0]); in SYS_FUNC() 106 get_print_uid(tcp, "", tcp->u_arg[0]); in SYS_FUNC() 107 get_print_uid(tcp, ", ", tcp->u_arg[1]); in SYS_FUNC() 108 get_print_uid(tcp, ", ", tcp->u_arg[2]); in SYS_FUNC() 115 printuid("", tcp->u_arg[0]); in SYS_FUNC() 116 printuid(", ", tcp->u_arg[1]); in SYS_FUNC() 123 printuid("", tcp->u_arg[0]); in SYS_FUNC() 124 printuid(", ", tcp->u_arg[1]); in SYS_FUNC() 125 printuid(", ", tcp->u_arg[2]); in SYS_FUNC() [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] = tcp->ext_arg[0] = mips_REG_A0; in get_syscall_args() 14 tcp->u_arg[1] = tcp->ext_arg[1] = mips_REG_A1; in get_syscall_args() 15 tcp->u_arg[2] = tcp->ext_arg[2] = mips_REG_A2; in get_syscall_args() 16 tcp->u_arg[3] = tcp->ext_arg[3] = mips_REG_A3; in get_syscall_args() [all …]
|
/external/strace/linux/x86_64/ |
D | get_syscall_args.c | 7 tcp->u_arg[0] = x86_64_regs.rdi; in get_syscall_args() 8 tcp->u_arg[1] = x86_64_regs.rsi; in get_syscall_args() 9 tcp->u_arg[2] = x86_64_regs.rdx; in get_syscall_args() 10 tcp->u_arg[3] = x86_64_regs.r10; in get_syscall_args() 11 tcp->u_arg[4] = x86_64_regs.r8; in get_syscall_args() 12 tcp->u_arg[5] = x86_64_regs.r9; in get_syscall_args() 27 tcp->u_arg[0] = (long)(uint32_t)i386_regs.ebx; in get_syscall_args() 28 tcp->u_arg[1] = (long)(uint32_t)i386_regs.ecx; in get_syscall_args() 29 tcp->u_arg[2] = (long)(uint32_t)i386_regs.edx; in get_syscall_args() 30 tcp->u_arg[3] = (long)(uint32_t)i386_regs.esi; in get_syscall_args() [all …]
|