Lines Matching refs:bytes_traced

1169 …e, uint64_t flags, uint64_t delta_since_timestamp, uint32_t pagetable_mask, unsigned *bytes_traced)  in stack_snapshot_from_kernel()  argument
1189 if ((buf == NULL) || (size <= 0) || (bytes_traced == NULL)) { in stack_snapshot_from_kernel()
1287 *bytes_traced = kdp_stack_snapshot_bytes_traced(); in stack_snapshot_from_kernel()
1290 error, (time_end - time_start), size, *bytes_traced); in stack_snapshot_from_kernel()
1301 uint32_t bytes_traced = 0; in stack_microstackshot() local
1336 bytes_traced = tracebuf_size; in stack_microstackshot()
1337 error = telemetry_gather(tracebuf, &bytes_traced, in stack_microstackshot()
1339 *retval = (int)bytes_traced; in stack_microstackshot()
1859 stackshot_remap_buffer(void *stackshotbuf, uint32_t bytes_traced, uint64_t out_buffer_addr, uint64_… in stackshot_remap_buffer() argument
1865 error = mach_vm_remap(current_map(), &stackshotbuf_user_addr, bytes_traced, 0, in stackshot_remap_buffer()
1888 …_vm_deallocate(get_task_map(current_task()), stackshotbuf_user_addr, (mach_vm_size_t)bytes_traced); in stackshot_remap_buffer()
1891 error = copyout(&bytes_traced, (user_addr_t)out_size_addr, sizeof(bytes_traced)); in stackshot_remap_buffer()
1893 …_vm_deallocate(get_task_map(current_task()), stackshotbuf_user_addr, (mach_vm_size_t)bytes_traced); in stackshot_remap_buffer()
2272 uint32_t bytes_traced = 0; in kern_stack_snapshot_internal() local
2577 bytes_traced = kdp_stack_snapshot_bytes_traced(); in kern_stack_snapshot_internal()
2578 if (bytes_traced <= 0) { in kern_stack_snapshot_internal()
2584 …error = stackshot_remap_buffer(snapshot_args.buffer, bytes_traced, out_buffer_addr, out_size_addr); in kern_stack_snapshot_internal()
2592 …t: succeeded, traced %u bytes to %u buffer (estimate %u) try %llu\n", bytes_traced, snapshot_args.… in kern_stack_snapshot_internal()
2599 kernel_stackshot_buf_size = bytes_traced; in kern_stack_snapshot_internal()
2605 size_to_free = snapshot_args.buffer_size - (int) VM_MAP_ROUND_PAGE(bytes_traced, PAGE_MASK); in kern_stack_snapshot_internal()
2621 error, tot_interrupts_off_abs, snapshot_args.buffer_size, bytes_traced); in kern_stack_snapshot_internal()