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

/external/valgrind/include/
H A Dpub_tool_vkiscnums.h44 extern const HChar *VG_(sysnum_string) (Word sysnum);
47 #define VG_SYSNUM_STRING(sysnum) VG_(sysnum_string)(sysnum)
/external/valgrind/coregrind/
H A Dm_vkiscnums.c47 const HChar* VG_(sysnum_string)(Word sysnum) argument
51 VG_(sprintf)(buf, "%ld", sysnum);
59 const HChar* VG_(sysnum_string)(Word sysnum) argument
64 switch (VG_DARWIN_SYSNO_CLASS(sysnum)) {
71 VG_(sprintf)(buf, "%s:%ld", classname, VG_DARWIN_SYSNO_INDEX(sysnum));
/external/ltrace/sysdeps/linux-gnu/m68k/
H A Dtrace.c50 syscall_p(struct process *proc, int status, int *sysnum) argument
56 *sysnum = ptrace(PTRACE_PEEKUSER, proc->pid, 4 * PT_ORIG_D0, 0);
57 if (*sysnum == -1)
59 if (*sysnum >= 0) {
63 proc->callstack[depth - 1].c_un.syscall == *sysnum) {
/external/ltrace/sysdeps/linux-gnu/alpha/
H A Dtrace.c50 syscall_p(struct process *proc, int status, int *sysnum) argument
59 *sysnum =
63 proc->callstack[proc->callstack_depth - 1].c_un.syscall == *sysnum) {
66 if (*sysnum >= 0 && *sysnum < 500) {
/external/ltrace/sysdeps/linux-gnu/sparc/
H A Dtrace.c47 syscall_p(struct process *proc, int status, int *sysnum) argument
57 *sysnum = ((proc_archdep *) proc->arch_ptr)->regs.u_regs[UREG_G0];
60 proc->callstack[proc->callstack_depth - 1].c_un.syscall == *sysnum) {
62 } else if (*sysnum >= 0) {
/external/ltrace/sysdeps/linux-gnu/aarch64/
H A Dtrace.c46 syscall_p(struct process *proc, int status, int *sysnum) argument
71 *sysnum = regs.regs[8];
76 && proc->callstack[d1].c_un.syscall == *sysnum)
/external/ltrace/sysdeps/linux-gnu/ia64/
H A Dtrace.c73 syscall_p(struct process *proc, int status, int *sysnum) argument
132 *sysnum = r15;
135 proc->callstack[proc->callstack_depth - 1].c_un.syscall == *sysnum) {
/external/ltrace/
H A 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),
150 event->e_un.sysnum);
158 sysname(event->proc, event->e_un.sysnum),
159 event->e_un.sysnum);
167 arch_sysname(event->proc, event->e_un.sysnum),
168 event->e_un.sysnum);
176 arch_sysname(event->proc, event->e_un.sysnum),
361 sysname(struct process *proc, int sysnum) argument
388 arch_sysname(struct process *proc, int sysnum) argument
770 callstack_push_syscall(struct process *proc, int sysnum) argument
[all...]
H A Dltrace.h52 int sysnum; /* EVENT_SYSCALL, EVENT_SYSRET */ member in union:Event::__anon11407
H A 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/ltrace/sysdeps/linux-gnu/x86/
H A Dtrace.c78 syscall_p(struct process *proc, int status, int *sysnum) argument
98 *sysnum = ret;
99 debug(DEBUG_FUNCTION, "sysnum=%ld %p %d", ret,
102 && elem->c_un.syscall == *sysnum)
105 if (*sysnum >= 0)
/external/ltrace/sysdeps/linux-gnu/cris/
H A Dtrace.c50 int syscall_p(struct process *proc, int status, int *sysnum) argument
60 *sysnum =
/external/ltrace/sysdeps/linux-gnu/s390/
H A Dtrace.c68 syscall_p(struct process *proc, int status, int *sysnum) argument
87 *sysnum = ptrace(PTRACE_PEEKUSER, proc->pid, PT_GPR2, 0);
95 *sysnum =
101 if (*sysnum != -ENOSYS)
165 *sysnum = scno;
/external/ltrace/sysdeps/linux-gnu/ppc/
H A Dtrace.c63 syscall_p(struct process *proc, int status, int *sysnum) argument
73 *sysnum =
78 proc->callstack[proc->callstack_depth - 1].c_un.syscall == *sysnum) {
/external/ltrace/sysdeps/linux-gnu/
H A Devents.c257 event.e_un.sysnum = tmp;
258 debug(DEBUG_EVENT, "event: SYSCALL: pid=%d, sysnum=%d", pid, tmp);
262 event.e_un.sysnum = tmp;
263 debug(DEBUG_EVENT, "event: SYSRET: pid=%d, sysnum=%d", pid, tmp);
267 event.e_un.sysnum = tmp;
268 debug(DEBUG_EVENT, "event: ARCH_SYSCALL: pid=%d, sysnum=%d", pid, tmp);
272 event.e_un.sysnum = tmp;
273 debug(DEBUG_EVENT, "event: ARCH_SYSRET: pid=%d, sysnum=%d", pid, tmp);
H A Dtrace.c1130 continue_after_syscall(struct process *proc, int sysnum, int ret_p) argument
/external/ltrace/sysdeps/linux-gnu/mips/
H A Dtrace.c75 \param sysnum 0-based syscall number.
90 syscall_p(struct process *proc, int status, int *sysnum) argument
109 *sysnum = (num & 0xFFFF) - 4000;
113 proc->callstack[proc->callstack_depth - 1].c_un.syscall == *sysnum) {
117 if (*sysnum >= 0) {
/external/ltrace/sysdeps/linux-gnu/metag/
H A Dtrace.c67 \param sysnum 0-based syscall number.
74 syscall_p(struct process *proc, int status, int *sysnum) argument
91 *sysnum = regs.dx[0][1];
103 if (*sysnum >= 0)
/external/ltrace/sysdeps/linux-gnu/arm/
H A Dtrace.c65 syscall_p(struct process *proc, int status, int *sysnum) argument
86 *sysnum = r7;
89 *sysnum = insn & 0xfffff;
100 if ((*sysnum & 0xf0000) == 0xf0000) {
102 *sysnum &= ~0xf0000;

Completed in 203 milliseconds