Home
last modified time | relevance | path

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

/xnu-8796.121.2/osfmk/kern/
H A Dtelemetry.c118 struct micro_snapshot_buffer *current_buffer);
755 struct micro_snapshot_buffer *current_buffer = target->buffer; in telemetry_process_sample() local
870 if (!current_buffer->buffer) { in telemetry_process_sample()
885 current_record_start = current_buffer->current_position; in telemetry_process_sample()
887 if ((current_buffer->size - current_buffer->current_position) < sizeof(struct micro_snapshot)) { in telemetry_process_sample()
892 current_buffer->end_point = current_record_start; in telemetry_process_sample()
893 current_buffer->current_position = 0; in telemetry_process_sample()
902 …msnap = (struct micro_snapshot *)(uintptr_t)(current_buffer->buffer + current_buffer->current_posi… in telemetry_process_sample()
910 current_buffer->current_position += sizeof(struct micro_snapshot); in telemetry_process_sample()
912 if ((current_buffer->size - current_buffer->current_position) < sizeof(struct task_snapshot)) { in telemetry_process_sample()
[all …]