From: Erwan Velu Date: Sun, 17 Oct 2021 19:18:40 +0000 (+0200) Subject: t/one-core-peak: Reporting SElinux status X-Git-Tag: fio-3.29~49^2~2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=5d56ec6a90d9e5c2641f8d877acaf8a377dbc250;p=fio.git t/one-core-peak: Reporting SElinux status SElinux can influence the overall performance. Let's report its state Signed-off-by: Erwan Velu --- diff --git a/t/one-core-peak.sh b/t/one-core-peak.sh index fba4ec95..08cffcd4 100755 --- a/t/one-core-peak.sh +++ b/t/one-core-peak.sh @@ -241,6 +241,7 @@ show_system() { info "system" "KERNEL: $(show_kernel_config_item ${config_item})" done info "system" "KERNEL: $(cat /proc/cmdline)" + info "system" "SElinux: $(getenforce)" tsc=$(journalctl -k | grep 'tsc: Refined TSC clocksource calibration:' | awk '{print $11}') if [ -n "${tsc}" ]; then info "system" "TSC: ${tsc} Mhz"