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