xref: /xnu-8796.141.3/tools/tests/perf_index/perfindex-syscall.c (revision 1b191cb58250d0705d8a51287127505aa4bc0789)
1*1b191cb5SApple OSS Distributions #include "perf_index.h"
2*1b191cb5SApple OSS Distributions #include "fail.h"
3*1b191cb5SApple OSS Distributions #include <unistd.h>
4*1b191cb5SApple OSS Distributions 
5*1b191cb5SApple OSS Distributions DECL_TEST {
6*1b191cb5SApple OSS Distributions 	long long i;
7*1b191cb5SApple OSS Distributions 	for (i = 0; i < length; i++) {
8*1b191cb5SApple OSS Distributions 		getppid();
9*1b191cb5SApple OSS Distributions 	}
10*1b191cb5SApple OSS Distributions 	return PERFINDEX_SUCCESS;
11*1b191cb5SApple OSS Distributions }
12