diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-15 17:45:20 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-11 11:06:22 +0000 |
commit | b51364db489f9749c10a85c0a487d7ecb21d2e93 (patch) | |
tree | de4adaf587e36bdd036f621c2b630cdacd2e2085 /meta/recipes-extended/rpcbind | |
parent | 8c5bfee3922cb6f3625cea28870bb02ca6d50483 (diff) | |
download | poky-b51364db489f9749c10a85c0a487d7ecb21d2e93.tar.gz |
bitbake: lib/bb: Optimise out debug messages from cooker
We have bb.debug(2, xxx) messages in cooker which are useful for debugging
but have really bad effects on performance, 640,000 calls on recent profile
graphs taking tens of seconds.
Rather than commenting out debug which can be useful for debugging, don't
create events for debug log messages from cooker which would never be seen.
We already stop the messages hitting the IPC but this avoids the overhead
of creating the log messages too, which has been shown to be signficiant
on the profiles. This allows the code to perform whilst allowing debug
messages to be availble when wanted/enabled.
(Bitbake rev: f224201b5003b89367d688b1f08a062754fce13a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f04cd931091fb0508badf3e002d70a6952700495)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/rpcbind')
0 files changed, 0 insertions, 0 deletions