summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimization.cc
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2024-10-18 10:09:17 +0000
committer Mythri Alle <mythria@google.com> 2024-10-25 16:30:25 +0000
commitbed5054ed95fe7027c807a1f4aa1d50afaaeef31 (patch)
treee5e1b92f1f8cdf2d5d163f886bed9818cac1419d /compiler/optimizing/optimization.cc
parentde7910029c3400a11070e818ae1463614c302a16 (diff)
Update method tracing to work when always_enable_profile_code
Enabling always_enable_profile_code adds code to record entries into a circular buffer at the method entry and exit. This code is gated by the condition that the buffer is not a nullptr. We use the same entry to hold buffer for both regular method tracing and low-overhead tracing. To correctly support method tracing with always_enable_profile_code we replace the entry points that record low overhead traces with nop entry points that just return. Bug: 352518093 Test: manual testing with feature enabled on 2246* tests Change-Id: Ide39f54b8005d227db0a20e0d3e5634809d57ff5
Diffstat (limited to 'compiler/optimizing/optimization.cc')
0 files changed, 0 insertions, 0 deletions