[go: nahoru, domu]

Orderfile: Revert revert "Orderfile: turn on system health order profiling."

This reverts 7d96627bed2c63b20654af506098e7ef8b722756.

Reason: adb problems possibly fixed.

Bug: 885071, 758566
Change-Id: Id1abd6f5ab2022ecb50232b8f02e5cab8940ec84
Reviewed-on: https://chromium-review.googlesource.com/1233695
Commit-Queue: Matthew Cary <mattcary@chromium.org>
Reviewed-by: Egor Pasko <pasko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#592391}
diff --git a/tools/cygprofile/orderfile_generator_backend.py b/tools/cygprofile/orderfile_generator_backend.py
index ef79699..b043fce 100755
--- a/tools/cygprofile/orderfile_generator_backend.py
+++ b/tools/cygprofile/orderfile_generator_backend.py
@@ -815,10 +815,11 @@
       '--use-goma', action='store_true', help='Enable GOMA.', default=False)
   parser.add_argument('--adb-path', help='Path to the adb binary.')
 
-  parser.add_argument('--system-health-orderfile', action='store_true',
-                      help=('Create an orderfile based on system health '
-                            'benchmarks.'),
-                      default=False)
+  parser.add_argument('--no-system-health-orderfile', action='store_false',
+                      dest='system_health_orderfile', default=True,
+                      help=('Create an orderfile based on an about:blank '
+                            'startup benchmark instead of system health '
+                            'benchmarks.'))
   parser.add_argument('--monochrome', action='store_true',
                       help=('Compile and instrument monochrome (for post-N '
                             'devices).'))