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