xsos
xsos copied to clipboard
Make _parse_periphs() gawk case insensitive
Some devices have an unexpected PCI class so the original XSOS_LSPCI_*_REGEX will miss them.
We relax the pattern matching by making it case insensitive and removing the colon.
Fixes: #10
Signed-off-by: Patrick Talbert [email protected]
If this is taken then for consistency's sake we should also remove the colon from the other XSOS_LSPCI_*_REGEX definitions.
This doesn't break anything in my tests against VM sosreports, so looks good to me.
Did you want to push the same change to the STORAGE
regex before merging this?