From: Ben Gras Date: Tue, 16 Dec 2008 14:42:32 +0000 (+0000) Subject: syslib function for VMCTL_STACKTRACE X-Git-Tag: v3.1.4~170 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=46ecfa2b5c1d5fa03a0a8777ae13c9fda54fefb8;p=minix.git syslib function for VMCTL_STACKTRACE --- diff --git a/lib/syslib/sys_vmctl.c b/lib/syslib/sys_vmctl.c index 8339a73a9..62cb4a8d2 100755 --- a/lib/syslib/sys_vmctl.c +++ b/lib/syslib/sys_vmctl.c @@ -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); +}