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