xref: /xnu-8020.140.41/bsd/dev/dtrace/scripts/vm_map_delete_permanent.d (revision 27b03b360a988dfd3dfdf34262bb0042026747cc)
1*27b03b36SApple OSS Distributions #!/usr/sbin/dtrace -s
2*27b03b36SApple OSS Distributions 
3*27b03b36SApple OSS Distributions vminfo::vm_map_delete_permanent:
4*27b03b36SApple OSS Distributions {
5*27b03b36SApple OSS Distributions 	printf("%d[%s]: attempt to delete permanent mapping (0x%llx, 0x%llx) prot 0x%x/0x%x",
6*27b03b36SApple OSS Distributions 	       $pid,
7*27b03b36SApple OSS Distributions 	       execname,
8*27b03b36SApple OSS Distributions 	       (uint64_t) arg0,
9*27b03b36SApple OSS Distributions 	       (uint64_t) arg1,
10*27b03b36SApple OSS Distributions 	       arg2,
11*27b03b36SApple OSS Distributions 	       arg3);
12*27b03b36SApple OSS Distributions 	stack();
13*27b03b36SApple OSS Distributions 	ustack();
14*27b03b36SApple OSS Distributions }
15