Home
last modified time | relevance | path

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

/system/extras/simpleperf/
DRecordReadThread.cpp496 uint64_t new_stack_size = std::min<uint64_t>(dyn_stack_size, stack_size_limit); in PushRecordToRecordBuffer() local
497 if (stack_size > new_stack_size) { in PushRecordToRecordBuffer()
500 new_header.size -= stack_size - new_stack_size; in PushRecordToRecordBuffer()
506 memcpy(p + stack_size_pos, &new_stack_size, sizeof(uint64_t)); in PushRecordToRecordBuffer()
508 kernel_record_reader->ReadRecord(pos, new_stack_size, p + pos); in PushRecordToRecordBuffer()
509 memcpy(p + pos + new_stack_size, &new_stack_size, sizeof(uint64_t)); in PushRecordToRecordBuffer()
511 if (new_stack_size < dyn_stack_size) { in PushRecordToRecordBuffer()