Perfexionists / perun

Lightweight Performance Control System
GNU General Public License v3.0
16 stars 14 forks source link

Add CPU vulnerabilities to showdiff #265

Closed JiriPavela closed 3 days ago

JiriPavela commented 3 days ago

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.