Home
last modified time | relevance | path

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

/xnu-8020.121.3/osfmk/kern/
H A Dtelemetry.c116 struct micro_snapshot_buffer *current_buffer);
738 struct micro_snapshot_buffer *current_buffer = target->buffer; in telemetry_process_sample() local
853 if (!current_buffer->buffer) { in telemetry_process_sample()
868 current_record_start = current_buffer->current_position; in telemetry_process_sample()
870 if ((current_buffer->size - current_buffer->current_position) < sizeof(struct micro_snapshot)) { in telemetry_process_sample()
875 current_buffer->end_point = current_record_start; in telemetry_process_sample()
876 current_buffer->current_position = 0; in telemetry_process_sample()
885 …msnap = (struct micro_snapshot *)(uintptr_t)(current_buffer->buffer + current_buffer->current_posi… in telemetry_process_sample()
893 current_buffer->current_position += sizeof(struct micro_snapshot); in telemetry_process_sample()
895 if ((current_buffer->size - current_buffer->current_position) < sizeof(struct task_snapshot)) { in telemetry_process_sample()
[all …]