xref: /xnu-12377.81.4/bsd/dev/dtrace/scripts/suspicious_task_vm_info_count.d (revision 043036a2b3718f7f0be807e2870f8f47d3fa0796)
1*043036a2SApple OSS Distributions #!/usr/sbin/dtrace -s
2*043036a2SApple OSS Distributions 
3*043036a2SApple OSS Distributions vminfo::suspicious_task_vm_info_count:
4*043036a2SApple OSS Distributions {
5*043036a2SApple OSS Distributions 	printf("%d[%s]: task_info() called with count=%d > TASK_VM_INFO_COUNT=%d",
6*043036a2SApple OSS Distributions 	       pid,
7*043036a2SApple OSS Distributions 	       execname,
8*043036a2SApple OSS Distributions 	       arg1,
9*043036a2SApple OSS Distributions 	       arg2);
10*043036a2SApple OSS Distributions 	stack();
11*043036a2SApple OSS Distributions 	ustack();
12*043036a2SApple OSS Distributions }
13