Home
last modified time | relevance | path

Searched refs:bytes_traced (Results 1 – 4 of 4) sorted by relevance

/xnu-8796.121.2/osfmk/arm/
H A Dmodel_dep.c398 int bytes_traced = 0, bytes_remaining = 0, end_marker_bytes = 200; in do_print_all_backtraces() local
692 bytes_traced = kdp_stack_snapshot_bytes_traced(); in do_print_all_backtraces()
693 if (bytes_traced > 0 && !err) { in do_print_all_backtraces()
694 debug_buf_ptr += bytes_traced; in do_print_all_backtraces()
697 panic_info->eph_stackshot_len = bytes_traced; in do_print_all_backtraces()
703 …"\n** Stackshot Succeeded ** Bytes Traced %d (Uncompressed %d) **\n", bytes_traced, bytes_uncompre… in do_print_all_backtraces()
705 paniclog_append_noflush("\n** Stackshot Succeeded ** Bytes Traced %d **\n", bytes_traced); in do_print_all_backtraces()
721 … paniclog_append_noflush("\n!! Stackshot Failed !! Bytes Traced %d, err %d\n", bytes_traced, err); in do_print_all_backtraces()
/xnu-8796.121.2/osfmk/i386/AT386/
H A Dmodel_dep.c683 size_t bytes_traced = 0, bytes_uncompressed = 0, bytes_used = 0, bytes_remaining = 0; in RecordPanicStackshot() local
755 bytes_traced = (size_t) kdp_stack_snapshot_bytes_traced(); in RecordPanicStackshot()
792 bytes_traced = (size_t) kdp_stack_snapshot_bytes_traced(); in RecordPanicStackshot()
799 debug_buf_ptr += bytes_traced; in RecordPanicStackshot()
806 panic_info->mph_stackshot_len = (uint32_t) bytes_traced; in RecordPanicStackshot()
814 …nic Stackshot Succeeded ** Bytes Traced %zu (Uncompressed %zu) **\n", bytes_traced, bytes_uncompre… in RecordPanicStackshot()
816 kdb_printf("\n** In Memory Panic Stackshot Succeeded ** Bytes Traced %zu **\n", bytes_traced); in RecordPanicStackshot()
821 panic_stackshot_len = bytes_traced; in RecordPanicStackshot()
840 …kdb_printf("\n** In Memory Panic Stackshot Failed ** Bytes Traced %zu, err %d\n", bytes_traced, er… in RecordPanicStackshot()
/xnu-8796.121.2/osfmk/kern/
H A Dkern_stackshot.c348 …e, uint64_t flags, uint64_t delta_since_timestamp, uint32_t pagetable_mask, unsigned *bytes_traced) in stack_snapshot_from_kernel() argument
358 if ((buf == NULL) || (size <= 0) || (bytes_traced == NULL)) { in stack_snapshot_from_kernel()
419 *bytes_traced = kdp_stack_snapshot_bytes_traced(); in stack_snapshot_from_kernel()
422 error, (time_end - time_start), size, *bytes_traced); in stack_snapshot_from_kernel()
434 uint32_t bytes_traced = 0; in stack_microstackshot() local
469 bytes_traced = tracebuf_size; in stack_microstackshot()
470 error = telemetry_gather(tracebuf, &bytes_traced, in stack_microstackshot()
472 *retval = (int)bytes_traced; in stack_microstackshot()
541 stackshot_remap_buffer(void *stackshotbuf, uint32_t bytes_traced, uint64_t out_buffer_addr, uint64_… in stackshot_remap_buffer() argument
547 …error = mach_vm_remap_kernel(get_task_map(current_task()), &stackshotbuf_user_addr, bytes_traced, … in stackshot_remap_buffer()
[all …]
H A Ddebug.h668 uint64_t delta_since_timestamp, uint32_t pagetable_mask, unsigned *bytes_traced);