summaryrefslogtreecommitdiffstats
path: root/meta-yocto/conf/distro/poky-lsb.conf
diff options
context:
space:
mode:
authorAryaman Gupta <aryaman.gupta@windriver.com>2022-06-29 20:08:20 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-30 09:54:46 (GMT)
commit4678581ea054b1eef305ff5bc4bd40d8b74374ca (patch)
treeed9f3b551328e3ff624b0076222ff0794c7c1f3a /meta-yocto/conf/distro/poky-lsb.conf
parenta26721d83b9b492b474f171bfc0a73a94e4147f9 (diff)
downloadpoky-master.tar.gz
buildstats.py: close /proc/pressure/cpu file descriptorHEADmaster
Use python 'with' symantics to ensure that the /proc/pressure/cpu file descriptor used in SystemStats init is closed. Previously, this would lead to a single file descriptor being leaked. For example: ResourceWarning: unclosed file <_io.BufferedReader name='/proc/pressure/cpu'> (From OE-Core rev: 643653160cd77d346cdc9b9ec25c7212c7dfe176) Signed-off-by: Aryaman Gupta <aryaman.gupta@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto/conf/distro/poky-lsb.conf')
0 files changed, 0 insertions, 0 deletions