poky/bitbake/lib/bb/server
Richard Purdie f209f127e6 bitbake: main: Add an option to specify what to profile
Starting with python 3.12, profiling now stays enabled over threads yet
you can't extract the profile data in the threads themselves, which makes it
difficult to use for our use case.

Our main loop starts the idle loop which starts the parsing threads and this
means we can't profile in the main loop and the parsing threads or the idle
loop at the same time due to this.

Add options to the commandline so you can specify which piece of bitbake
you want to enable profiling for. This allows some profiling with python 3.12
onwards rather than crashing.

(Bitbake rev: 09f29a4968841ee5070f70277ba8c253bb14f017)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-07-17 10:45:57 +01:00
..
__init__.py bitbake: bitbake: Drop duplicate license boilerplace text 2019-05-04 10:44:10 +01:00
process.py bitbake: main: Add an option to specify what to profile 2025-07-17 10:45:57 +01:00
xmlrpcclient.py bitbake: lib: remove unused imports 2020-01-19 13:31:05 +00:00
xmlrpcserver.py bitbake: cooker: use enum for cooker state to improve readability 2024-12-06 23:33:54 +00:00