Home
last modified time | relevance | path

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

/xnu-11215.1.10/osfmk/kern/
H A Dtelemetry.c122 struct micro_snapshot_buffer *current_buffer);
802 struct micro_snapshot_buffer *current_buffer = target->buffer; in telemetry_process_sample() local
917 if (!current_buffer->buffer) { in telemetry_process_sample()
932 current_record_start = current_buffer->current_position; in telemetry_process_sample()
934 if ((current_buffer->size - current_buffer->current_position) < sizeof(struct micro_snapshot)) { in telemetry_process_sample()
939 current_buffer->end_point = current_record_start; in telemetry_process_sample()
940 current_buffer->current_position = 0; in telemetry_process_sample()
949 …msnap = (struct micro_snapshot *)(uintptr_t)(current_buffer->buffer + current_buffer->current_posi… in telemetry_process_sample()
957 current_buffer->current_position += sizeof(struct micro_snapshot); in telemetry_process_sample()
959 if ((current_buffer->size - current_buffer->current_position) < sizeof(struct task_snapshot)) { in telemetry_process_sample()
[all …]