metrics: Update launch times to use grep -F

This PR updates the metrics launch times to use grep -F instead of
fgrep as this command has been deprecated.

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes 2024-07-23 17:13:52 +00:00
parent d69950e5c6
commit 3d17a7038a

View File

@ -134,7 +134,7 @@ function run_workload() {
# We make a presumption here that as we are in a cold-boot VM
# kernel, the first dmesg is at '0 seconds', so the timestamp
# of that last line is the length of time in the kernel.
kernel_last_line=$( (fgrep "Freeing unused kernel" <<- EOF
kernel_last_line=$( (grep -F "Freeing unused kernel" <<- EOF
${workload_result[@]}
EOF
) | tail -1 )