From 573e3207084738c988b3c58249f877c50dd0a17b Mon Sep 17 00:00:00 2001 From: mcarare Date: Wed, 2 Nov 2022 19:27:43 +0200 Subject: [PATCH] No issue: Make the Startup profiling hints clearer. --- tools/setup-startup-profiling.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/setup-startup-profiling.py b/tools/setup-startup-profiling.py index 8bfeb50d2..293974bb4 100755 --- a/tools/setup-startup-profiling.py +++ b/tools/setup-startup-profiling.py @@ -56,7 +56,9 @@ def push(id, filename): run(['adb', 'shell', 'am', 'set-debug-app', '--persistent', id]) print('\nStartup profiling enabled on all future start ups, possibly even after reinstall.') print('Call script with `deactivate` to disable it.') - print('DON\'T FORGET TO ENABLE \'Remote debugging via USB\' IN THE APP SETTINGS!') + print('DISABLE \'Remote debugging via USB\' IN THE APP SETTINGS BEFORE STARTING THE APP & RE-ENABLE TO CAPTURE THE PROFILE.', + 'This avoids the additional overhead added when \'Remote debugging via USB\' is enabled during start up.', + sep=os.linesep) finally: os.remove(config.name)