Home
last modified time | relevance | path

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

/xnu-10002.61.3/osfmk/kern/
H A Dtelemetry.c121 struct micro_snapshot_buffer *current_buffer);
803 struct micro_snapshot_buffer *current_buffer = target->buffer; in telemetry_process_sample() local
918 if (!current_buffer->buffer) { in telemetry_process_sample()
933 current_record_start = current_buffer->current_position; in telemetry_process_sample()
935 if ((current_buffer->size - current_buffer->current_position) < sizeof(struct micro_snapshot)) { in telemetry_process_sample()
940 current_buffer->end_point = current_record_start; in telemetry_process_sample()
941 current_buffer->current_position = 0; in telemetry_process_sample()
950 …msnap = (struct micro_snapshot *)(uintptr_t)(current_buffer->buffer + current_buffer->current_posi… in telemetry_process_sample()
958 current_buffer->current_position += sizeof(struct micro_snapshot); in telemetry_process_sample()
960 if ((current_buffer->size - current_buffer->current_position) < sizeof(struct task_snapshot)) { in telemetry_process_sample()
[all …]