Home
last modified time | relevance | path

Searched refs:nsyscalls (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/tools/perf/tests/
Dmmap-basic.c36 #define nsyscalls ARRAY_SIZE(syscall_names) in test__basic_mmap() macro
37 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()
/Linux-v4.19/tools/perf/
Dbuiltin-trace.c1308 struct syscall *nsyscalls = realloc(trace->syscalls.table, (id + 1) * sizeof(*sc)); in trace__read_syscall_info() local
1310 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()