Searched refs:nsyscalls (Results 1 – 7 of 7) sorted by relevance
/external/linux-tools-perf/src/tools/perf/tests/ |
D | mmap-basic.c | 30 #define nsyscalls ARRAY_SIZE(syscall_names) in test__basic_mmap() macro 31 unsigned int nr_events[nsyscalls], in test__basic_mmap() 32 expected_nr_events[nsyscalls], i, j; in test__basic_mmap() 33 struct perf_evsel *evsels[nsyscalls], *evsel; in test__basic_mmap() 64 for (i = 0; i < nsyscalls; ++i) { in test__basic_mmap() 96 for (i = 0; i < nsyscalls; ++i) in test__basic_mmap() 142 for (i = 0; i < nsyscalls; ++i) in test__basic_mmap()
|
/external/strace/ |
D | count.c | 62 counts = calloc(nsyscalls, sizeof(*counts)); in count_syscall() 174 sorted_count = calloc(sizeof(int), nsyscalls); in call_summary_pers() 182 for (i = 0; i < nsyscalls; i++) { in call_summary_pers() 195 qsort((void *) sorted_count, nsyscalls, sizeof(int), sortfun); in call_summary_pers() 196 for (i = 0; i < nsyscalls; i++) { in call_summary_pers()
|
D | defs.h | 661 extern unsigned nsyscalls; 671 ((unsigned long)(scno) < nsyscalls && sysent[scno].sys_func) 675 ((unsigned long)(scno) < nsyscalls)
|
D | syscall.c | 201 unsigned nsyscalls = nsyscalls0; variable 265 nsyscalls = nsyscall_vec[personality]; in set_personality()
|
D | ChangeLog-CVS | 984 * syscall.c (qual_syscall, qualify): Fix nsyscalls and MAX_QUALS misuse.
|
/external/ltrace/ |
D | handle_event.c | 371 int nsyscalls[] = { in sysname() local 379 if (sysnum < 0 || sysnum >= nsyscalls[proc->personality]) { in sysname() 394 int nsyscalls = sizeof arch_syscallent / sizeof arch_syscallent[0]; in arch_sysname() local 398 if (sysnum < 0 || sysnum >= nsyscalls) { in arch_sysname()
|
/external/linux-tools-perf/src/tools/perf/ |
D | builtin-trace.c | 557 struct syscall *nsyscalls = realloc(trace->syscalls.table, (id + 1) * sizeof(*sc)); in trace__read_syscall_info() local 559 if (nsyscalls == NULL) in trace__read_syscall_info() 563 memset(nsyscalls + trace->syscalls.max + 1, 0, in trace__read_syscall_info() 566 memset(nsyscalls, 0, (id + 1) * sizeof(*sc)); in trace__read_syscall_info() 569 trace->syscalls.table = nsyscalls; in trace__read_syscall_info()
|