This PR adds support for displaying CPU vulnerabilities in the showdiff commands.
CPU vulnerabilities are obtained using either the lscpu command or from /sys/devices/system/cpu/vulnerabilities/. Since CPU vulnerabilities may affect kernel performance, it is important to display them in the profile diffs. Moreover, this PR refactors and simplifies the code reponsible for generating profile headers and metadata in the showdiff package.
This PR adds support for displaying CPU vulnerabilities in the showdiff commands.
CPU vulnerabilities are obtained using either the
lscpu
command or from/sys/devices/system/cpu/vulnerabilities/
. Since CPU vulnerabilities may affect kernel performance, it is important to display them in the profile diffs. Moreover, this PR refactors and simplifies the code reponsible for generating profile headers and metadata in the showdiff package.This PR resolves #263.