Searched refs:stackshot_snapbuf (Results 1 - 1 of 1) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kdebug.c | 222 void *stackshot_snapbuf = NULL; variable 2411 assert(stackshot_snapbuf == NULL); 2412 if (kmem_alloc_kobject(kernel_map, (vm_offset_t *)&stackshot_snapbuf, tracebuf_size) != KERN_SUCCESS) { 2424 kdp_snapshot_preflight(pid, stackshot_snapbuf, tracebuf_size, flags, dispatch_offset); 2437 if ((error = copyout(stackshot_snapbuf, tracebuf, 2456 if (stackshot_snapbuf != NULL) 2457 kmem_free(kernel_map, (vm_offset_t) stackshot_snapbuf, tracebuf_size); 2458 stackshot_snapbuf = NULL;
|
Completed in 19 milliseconds