Merge pull request #10060 from GabyCT/topic/fgreptest

metrics: Update launch times to use grep -F
This commit is contained in:
GabyCT 2024-07-23 17:23:14 -06:00 committed by GitHub
commit b408cc1694
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 )