diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-17 15:19:48 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-20 08:31:28 +0000 |
commit | 16bc168084cc7b9a092385dfb02d5efc012bed5b (patch) | |
tree | abd75154e3670b7536b7e7103854bbfbeb01e511 /bitbake/lib/bb/main.py | |
parent | 82b5cdad0f8f5a511545b613410895e1a93840a1 (diff) | |
download | poky-16bc168084cc7b9a092385dfb02d5efc012bed5b.tar.gz |
bitbake: server: Ensure cooker profiling works
The previous cleanups meant that when the cooker was started, profiling
was always disabled as configuration was sent to the server later and this
was too late to profile the main loop.
Pass the "profile" option over the server commandline so that we can
profile cooker itself again, the setting can now take effect early enough.
(Bitbake rev: c97c1f1c127ef3f8fbbd1b4e187ab58bfb0a73e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/main.py')
-rwxr-xr-x | bitbake/lib/bb/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py index 93eda3632e..f56c3d46a2 100755 --- a/bitbake/lib/bb/main.py +++ b/bitbake/lib/bb/main.py | |||
@@ -429,7 +429,7 @@ def setup_bitbake(configParams, extrafeatures=None): | |||
429 | logger.info("Starting bitbake server...") | 429 | logger.info("Starting bitbake server...") |
430 | # Clear the event queue since we already displayed messages | 430 | # Clear the event queue since we already displayed messages |
431 | bb.event.ui_queue = [] | 431 | bb.event.ui_queue = [] |
432 | server = bb.server.process.BitBakeServer(lock, sockname, featureset, configParams.server_timeout, configParams.xmlrpcinterface) | 432 | server = bb.server.process.BitBakeServer(lock, sockname, featureset, configParams.server_timeout, configParams.xmlrpcinterface, configParams.profile) |
433 | 433 | ||
434 | else: | 434 | else: |
435 | logger.info("Reconnecting to bitbake server...") | 435 | logger.info("Reconnecting to bitbake server...") |