mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-27 19:35:32 +00:00
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:
parent
d69950e5c6
commit
3d17a7038a
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user