summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_test.cc
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2024-12-27 17:06:24 +0000
committer Mythri Alle <mythria@google.com> 2025-01-21 05:28:45 -0800
commit761ea222e35e0ffacb2149ce22a92b3c6a4bdf79 (patch)
tree147bf1438749db83ca6693df93a0bb72c0a1dc00 /compiler/optimizing/graph_test.cc
parent612ee65f6ac572ed60097c7bd9a7016cce37da41 (diff)
Add support for collecting long running methods
This CL extends low overhead tracing to support collecting long running methods. This feature is disabled by default and is implemented behind always_enable_profiling_code flag. Turning on the flag enables the support but doesn't start tracing. Tracing has to be started via the StartTraceLongRunningMethods interface in VMDebug. If a trace was running the collected data is included in the data generated by the SIGQUIT handlers. This would help when analyzing ANR reports. The trace can also be dumped using the API provided in VMDebug. Bug: 352518093 Test: art/test.py Change-Id: I407560c45cd31bfa06906bb2286c455eef7ceec8
Diffstat (limited to 'compiler/optimizing/graph_test.cc')
0 files changed, 0 insertions, 0 deletions