summaryrefslogtreecommitdiffstats
path: root/scripts/lib/scriptpath.py
diff options
context:
space:
mode:
authordenisova-ok <denisova.olga.k@yandex.ru>2025-04-15 18:34:04 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-24 11:27:06 +0100
commit5b74c7696485805d9b9ababc69cc569a227145ce (patch)
tree537bd8ec2c3c613030ca57e712a7de691b9b3828 /scripts/lib/scriptpath.py
parent8dcd0f73eb9547b8daacc751141b8531fbbe4bf7 (diff)
downloadpoky-5b74c7696485805d9b9ababc69cc569a227145ce.tar.gz
buildstats.py: extend diskstats support for NVMe and flexible token count
Added support for NVMe devices in the diskstats regex pattern to ensure stats are properly collected from devices like nvme0n1. Relaxed the check for the number of fields in /proc/diskstats from an exact match (14) to a minimum check (at least 14), to handle kernel variations and additional fields gracefully. (From OE-Core rev: 87a31bc4ca3661aae94cf43f3f579b02f4fb4923) Signed-off-by: denisova-ok <denisova.olga.k@yandex.ru> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions