summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test.cc
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2024-10-11 11:25:53 +0000
committer Mythri Alle <mythria@google.com> 2024-10-14 10:54:09 +0000
commit7074ffadae07e87027b38a8b79ef0f4111f9c109 (patch)
tree2014fb09c1565213c993b20b245c9de0ca5b3c6d /compiler/optimizing/codegen_test.cc
parent21730ffb790c0f0201eace76e919ee9feb782224 (diff)
Few fixes for low overhead method tracing
There are a few fixes required for low overhead method tracing: 1. Release the allocated buffer when thread is being destroyed. 2. Allocate a new buffer on thread creation if tracing is in progress. 3. Flush the buffer and close the file oncer iterating over all threads is done. 4. Iterate trace buffer entries from the end of the buffer. We stores entries starting from the end, so flush them in the same order. Bug: 352518093 Test: Manual testing Change-Id: Icc7a58902a2bbc96efc98b8635ba1e04a62a372b
Diffstat (limited to 'compiler/optimizing/codegen_test.cc')
0 files changed, 0 insertions, 0 deletions