]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/kern_stackshot.c
xnu-4570.20.62.tar.gz
[apple/xnu.git] / osfmk / kern / kern_stackshot.c
index 6ac0d36651410f405da8bf0f6d4f2cd3def7bd6c..be60881383cd18c3f90a0b5728d429489e79daee 100644 (file)
@@ -746,6 +746,12 @@ kdp_snapshot_preflight(int pid, void * tracebuf, uint32_t tracebuf_size, uint32_
        stack_snapshot_bytes_traced = 0;
 }
 
+void
+panic_stackshot_reset_state()
+{
+       stackshot_kcdata_p = NULL;
+}
+
 boolean_t
 stackshot_active()
 {