diff options
author | 2024-08-21 14:17:59 +0000 | |
---|---|---|
committer | 2024-08-28 15:16:28 +0000 | |
commit | ddbcd4956b29c28b37b04952788dfa5cf9e5a81e (patch) | |
tree | 8db1204b0ae59b2456c501fe1251d3d3f4dbc684 /test/2233-metrics-background-thread/run.py | |
parent | c005493d5638a26ed1dcf4dfb70527906be748e8 (diff) |
Initialize metrics only for Zygote process or when forced via CLI arg
Bug: 357802879
Test: -
1. art/tools/buildbot-build.sh --target
2. art/tools/buildbot-sync.sh
3. art/tools/run-gtests.sh -j4
4. art/test/testrunner/testrunner.py --target --64
Change-Id: I49843f10e22ae69490950e806bdec5408a893ac9
Diffstat (limited to 'test/2233-metrics-background-thread/run.py')
-rw-r--r-- | test/2233-metrics-background-thread/run.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/2233-metrics-background-thread/run.py b/test/2233-metrics-background-thread/run.py index e0d86ac13d..6b63488292 100644 --- a/test/2233-metrics-background-thread/run.py +++ b/test/2233-metrics-background-thread/run.py @@ -18,7 +18,12 @@ def run(ctx, args): args, android_log_tags="*:d", diff_min_log_tag="d", - runtime_option=["-Xmetrics-reporting-mods:100",] + runtime_option=[ + "-Xmetrics-force-enable:true", + "-Xmetrics-write-to-statsd:false", + "-Xmetrics-write-to-logcat:true", + "-Xmetrics-reporting-mods:100", + ] ) # Check that log messages from the metrics reporting thread appear in stderr. |