Home
last modified time | relevance | path

Searched refs:sysnum (Results 1 – 19 of 19) sorted by relevance

/external/ltrace/
Dhandle_event.c59 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 …]
Dltrace.h52 int sysnum; /* EVENT_SYSCALL, EVENT_SYSRET */ member
Dbackend.h121 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/
Dm_vkiscnums.c47 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/
Dtrace.c50 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/
Dtrace.c50 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/
Dpub_tool_vkiscnums.h44 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/
Dtrace.c47 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/
Dtrace.c68 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/
Dtrace.c78 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/
Dtrace.c46 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/
Dtrace.c73 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/
Dtrace.c90 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/
Dtrace.c50 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/
Dtrace.c63 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/
Devents.c257 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()
Dtrace.c1130 continue_after_syscall(struct process *proc, int sysnum, int ret_p) in continue_after_syscall() argument
/external/ltrace/sysdeps/linux-gnu/arm/
Dtrace.c65 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/
Dtrace.c74 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()