]> Zhao Yanbai Git Server - minix.git/commitdiff
syslib function for VMCTL_STACKTRACE
authorBen Gras <ben@minix3.org>
Tue, 16 Dec 2008 14:42:32 +0000 (14:42 +0000)
committerBen Gras <ben@minix3.org>
Tue, 16 Dec 2008 14:42:32 +0000 (14:42 +0000)
lib/syslib/sys_vmctl.c

index 8339a73a9189cb0e1d8c91e2db4e9dd49c9c1a97..62cb4a8d2ca785451be7373abe05f2762e8a9c5f 100755 (executable)
@@ -59,3 +59,8 @@ PUBLIC int sys_vmctl_get_memreq(endpoint_t *who, vir_bytes *mem,
   }
   return r;
 }
+
+PUBLIC int sys_vmctl_stacktrace(endpoint_t who)
+{
+       return sys_vmctl(who, VMCTL_STACKTRACE, 0);
+}