/external/ltrace/ |
D | handle_event.c | 59 static void callstack_push_syscall(struct process *proc, int sysnum); 67 static char *sysname(struct process *proc, int sysnum); 68 static char *arch_sysname(struct process *proc, int sysnum); 149 sysname(event->proc, event->e_un.sysnum), in handle_event() 150 event->e_un.sysnum); in handle_event() 158 sysname(event->proc, event->e_un.sysnum), in handle_event() 159 event->e_un.sysnum); in handle_event() 167 arch_sysname(event->proc, event->e_un.sysnum), in handle_event() 168 event->e_un.sysnum); in handle_event() 176 arch_sysname(event->proc, event->e_un.sysnum), in handle_event() [all …]
|
D | ltrace.h | 52 int sysnum; /* EVENT_SYSCALL, EVENT_SYSRET */ member
|
D | backend.h | 121 int syscall_p(struct process *proc, int status, int *sysnum); 135 void continue_after_syscall(struct process *proc, int sysnum, int ret_p);
|
/external/valgrind/coregrind/ |
D | m_vkiscnums.c | 47 const HChar* VG_(sysnum_string)(Word sysnum) in VG_() 51 VG_(sprintf)(buf, "%ld", sysnum); in VG_() 59 const HChar* VG_(sysnum_string)(Word sysnum) in VG_() 64 switch (VG_DARWIN_SYSNO_CLASS(sysnum)) { in VG_() 71 VG_(sprintf)(buf, "%s:%ld", classname, VG_DARWIN_SYSNO_INDEX(sysnum)); in VG_()
|
/external/ltrace/sysdeps/linux-gnu/m68k/ |
D | trace.c | 50 syscall_p(struct process *proc, int status, int *sysnum) in syscall_p() argument 56 *sysnum = ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_ORIG_D0, 0); in syscall_p() 57 if (*sysnum == -1) in syscall_p() 59 if (*sysnum >= 0) { in syscall_p() 63 proc->callstack[depth - 1].c_un.syscall == *sysnum) { in syscall_p()
|
/external/ltrace/sysdeps/linux-gnu/alpha/ |
D | trace.c | 50 syscall_p(struct process *proc, int status, int *sysnum) in syscall_p() argument 59 *sysnum = in syscall_p() 63 proc->callstack[proc->callstack_depth - 1].c_un.syscall == *sysnum) { in syscall_p() 66 if (*sysnum >= 0 && *sysnum < 500) { in syscall_p()
|
/external/valgrind/include/ |
D | pub_tool_vkiscnums.h | 44 extern const HChar *VG_(sysnum_string) (Word sysnum); 47 #define VG_SYSNUM_STRING(sysnum) VG_(sysnum_string)(sysnum) argument
|
/external/ltrace/sysdeps/linux-gnu/sparc/ |
D | trace.c | 47 syscall_p(struct process *proc, int status, int *sysnum) in syscall_p() argument 57 *sysnum = ((proc_archdep *) proc->arch_ptr)->regs.u_regs[UREG_G0]; in syscall_p() 60 proc->callstack[proc->callstack_depth - 1].c_un.syscall == *sysnum) { in syscall_p() 62 } else if (*sysnum >= 0) { in syscall_p()
|
/external/ltrace/sysdeps/linux-gnu/s390/ |
D | trace.c | 68 syscall_p(struct process *proc, int status, int *sysnum) in syscall_p() argument 87 *sysnum = ptrace(PTRACE_PEEKUSER, proc->pid, PT_GPR2, 0); in syscall_p() 95 *sysnum = in syscall_p() 101 if (*sysnum != -ENOSYS) in syscall_p() 165 *sysnum = scno; in syscall_p()
|
/external/ltrace/sysdeps/linux-gnu/x86/ |
D | trace.c | 78 syscall_p(struct process *proc, int status, int *sysnum) in syscall_p() argument 98 *sysnum = ret; in syscall_p() 102 && elem->c_un.syscall == *sysnum) in syscall_p() 105 if (*sysnum >= 0) in syscall_p()
|
/external/ltrace/sysdeps/linux-gnu/aarch64/ |
D | trace.c | 46 syscall_p(struct process *proc, int status, int *sysnum) in syscall_p() argument 71 *sysnum = regs.regs[8]; in syscall_p() 76 && proc->callstack[d1].c_un.syscall == *sysnum) in syscall_p()
|
/external/ltrace/sysdeps/linux-gnu/ia64/ |
D | trace.c | 73 syscall_p(struct process *proc, int status, int *sysnum) in syscall_p() argument 132 *sysnum = r15; in syscall_p() 135 proc->callstack[proc->callstack_depth - 1].c_un.syscall == *sysnum) { in syscall_p()
|
/external/ltrace/sysdeps/linux-gnu/mips/ |
D | trace.c | 90 syscall_p(struct process *proc, int status, int *sysnum) in syscall_p() argument 109 *sysnum = (num & 0xFFFF) - 4000; in syscall_p() 113 proc->callstack[proc->callstack_depth - 1].c_un.syscall == *sysnum) { in syscall_p() 117 if (*sysnum >= 0) { in syscall_p()
|
/external/ltrace/sysdeps/linux-gnu/cris/ |
D | trace.c | 50 int syscall_p(struct process *proc, int status, int *sysnum) in syscall_p() argument 60 *sysnum = in syscall_p()
|
/external/ltrace/sysdeps/linux-gnu/ppc/ |
D | trace.c | 63 syscall_p(struct process *proc, int status, int *sysnum) in syscall_p() argument 73 *sysnum = in syscall_p() 78 proc->callstack[proc->callstack_depth - 1].c_un.syscall == *sysnum) { in syscall_p()
|
/external/ltrace/sysdeps/linux-gnu/ |
D | events.c | 257 event.e_un.sysnum = tmp; in next_event() 262 event.e_un.sysnum = tmp; in next_event() 267 event.e_un.sysnum = tmp; in next_event() 272 event.e_un.sysnum = tmp; in next_event()
|
D | trace.c | 1130 continue_after_syscall(struct process *proc, int sysnum, int ret_p) in continue_after_syscall() argument
|
/external/ltrace/sysdeps/linux-gnu/arm/ |
D | trace.c | 65 syscall_p(struct process *proc, int status, int *sysnum) in syscall_p() argument 86 *sysnum = r7; in syscall_p() 89 *sysnum = insn & 0xfffff; in syscall_p() 100 if ((*sysnum & 0xf0000) == 0xf0000) { in syscall_p() 102 *sysnum &= ~0xf0000; in syscall_p()
|
/external/ltrace/sysdeps/linux-gnu/metag/ |
D | trace.c | 74 syscall_p(struct process *proc, int status, int *sysnum) in syscall_p() argument 91 *sysnum = regs.dx[0][1]; in syscall_p() 103 if (*sysnum >= 0) in syscall_p()
|