Skip to content

Commit

Permalink
enh: speedup by not decompressing kernel on --sysfs-only
Browse files Browse the repository at this point in the history
  • Loading branch information
speed47 committed Feb 2, 2018
1 parent 1834dd6 commit 36bd80d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spectre-meltdown-checker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,8 @@ if [ -e "$opt_kernel" ]; then
if ! which readelf >/dev/null 2>&1; then
_debug "readelf not found"
vmlinux_err="missing 'readelf' tool, please install it, usually it's in the 'binutils' package"
elif [ "$opt_sysfs_only" = 1 ]; then
vmlinux_err='kernel image decompression skipped'
else
extract_vmlinux "$opt_kernel"
fi
Expand Down

0 comments on commit 36bd80d

Please sign in to comment.