summaryrefslogtreecommitdiff
path: root/tools/whyexit.d
blob: fef4dffcc6669183fbff519afd4bc56235bfebc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/sbin/dtrace -Zs

#pragma D option quiet

/*
 * This checks for why we've exited based on using the library file for exit
 * errnos: exitno.d
 */

kvm-vexit
{
	printf("Exited: %s\n", strexitno[arg1]);
}