|
|
@@ -23,10 +23,8 @@ int test__basic_mmap(void)
|
|
|
struct cpu_map *cpus;
|
|
|
struct perf_evlist *evlist;
|
|
|
cpu_set_t cpu_set;
|
|
|
- const char *syscall_names[] = { "getsid", "getppid", "getpgrp",
|
|
|
- "getpgid", };
|
|
|
- pid_t (*syscalls[])(void) = { (void *)getsid, getppid, getpgrp,
|
|
|
- (void*)getpgid };
|
|
|
+ const char *syscall_names[] = { "getsid", "getppid", "getpgid", };
|
|
|
+ pid_t (*syscalls[])(void) = { (void *)getsid, getppid, (void*)getpgid };
|
|
|
#define nsyscalls ARRAY_SIZE(syscall_names)
|
|
|
unsigned int nr_events[nsyscalls],
|
|
|
expected_nr_events[nsyscalls], i, j;
|