Lines Matching refs:bytes_traced

1173 …e, uint64_t flags, uint64_t delta_since_timestamp, uint32_t pagetable_mask, unsigned *bytes_traced)  in stack_snapshot_from_kernel()  argument
1193 if ((buf == NULL) || (size <= 0) || (bytes_traced == NULL)) { in stack_snapshot_from_kernel()
1304 *bytes_traced = kdp_stack_snapshot_bytes_traced(); in stack_snapshot_from_kernel()
1307 error, (time_end - time_start), size, *bytes_traced); in stack_snapshot_from_kernel()
1318 uint32_t bytes_traced = 0; in stack_microstackshot() local
1353 bytes_traced = tracebuf_size; in stack_microstackshot()
1354 error = telemetry_gather(tracebuf, &bytes_traced, in stack_microstackshot()
1356 *retval = (int)bytes_traced; in stack_microstackshot()
1876 stackshot_remap_buffer(void *stackshotbuf, uint32_t bytes_traced, uint64_t out_buffer_addr, uint64_… in stackshot_remap_buffer() argument
1882 error = mach_vm_remap(current_map(), &stackshotbuf_user_addr, bytes_traced, 0, in stackshot_remap_buffer()
1905 …_vm_deallocate(get_task_map(current_task()), stackshotbuf_user_addr, (mach_vm_size_t)bytes_traced); in stackshot_remap_buffer()
1908 error = copyout(&bytes_traced, (user_addr_t)out_size_addr, sizeof(bytes_traced)); in stackshot_remap_buffer()
1910 …_vm_deallocate(get_task_map(current_task()), stackshotbuf_user_addr, (mach_vm_size_t)bytes_traced); in stackshot_remap_buffer()
2289 uint32_t bytes_traced = 0; in kern_stack_snapshot_internal() local
2594 bytes_traced = kdp_stack_snapshot_bytes_traced(); in kern_stack_snapshot_internal()
2595 if (bytes_traced <= 0) { in kern_stack_snapshot_internal()
2601 …error = stackshot_remap_buffer(snapshot_args.buffer, bytes_traced, out_buffer_addr, out_size_addr); in kern_stack_snapshot_internal()
2609 …t: succeeded, traced %u bytes to %u buffer (estimate %u) try %llu\n", bytes_traced, snapshot_args.… in kern_stack_snapshot_internal()
2616 kernel_stackshot_buf_size = bytes_traced; in kern_stack_snapshot_internal()
2622 size_to_free = snapshot_args.buffer_size - (int) VM_MAP_ROUND_PAGE(bytes_traced, PAGE_MASK); in kern_stack_snapshot_internal()
2638 error, tot_interrupts_off_abs, snapshot_args.buffer_size, bytes_traced); in kern_stack_snapshot_internal()