Searched refs:nsyscalls (Results 1 – 2 of 2) sorted by relevance
36 #define nsyscalls ARRAY_SIZE(syscall_names) in test__basic_mmap() macro37 unsigned int nr_events[nsyscalls], in test__basic_mmap()38 expected_nr_events[nsyscalls], i, j; in test__basic_mmap()39 struct perf_evsel *evsels[nsyscalls], *evsel; in test__basic_mmap()72 for (i = 0; i < nsyscalls; ++i) { in test__basic_mmap()104 for (i = 0; i < nsyscalls; ++i) in test__basic_mmap()
1308 struct syscall *nsyscalls = realloc(trace->syscalls.table, (id + 1) * sizeof(*sc)); in trace__read_syscall_info() local1310 if (nsyscalls == NULL) in trace__read_syscall_info()1314 memset(nsyscalls + trace->syscalls.max + 1, 0, in trace__read_syscall_info()1317 memset(nsyscalls, 0, (id + 1) * sizeof(*sc)); in trace__read_syscall_info()1320 trace->syscalls.table = nsyscalls; in trace__read_syscall_info()