diff options
Diffstat (limited to 'recipes-kernel/cryptodev/sdk_patches/0073-really-fix-again.-the-mpstat-issue.patch')
| -rw-r--r-- | recipes-kernel/cryptodev/sdk_patches/0073-really-fix-again.-the-mpstat-issue.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-kernel/cryptodev/sdk_patches/0073-really-fix-again.-the-mpstat-issue.patch b/recipes-kernel/cryptodev/sdk_patches/0073-really-fix-again.-the-mpstat-issue.patch new file mode 100644 index 000000000..54108701e --- /dev/null +++ b/recipes-kernel/cryptodev/sdk_patches/0073-really-fix-again.-the-mpstat-issue.patch | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | From 787cbdf6b032964df00c4379d9a81ba4384a492e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Cristian Stoica <cristian.stoica@nxp.com> | ||
| 3 | Date: Thu, 27 Oct 2016 10:06:08 +0300 | ||
| 4 | Subject: [PATCH 073/104] really fix (again...) the mpstat issue | ||
| 5 | |||
| 6 | Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com> | ||
| 7 | --- | ||
| 8 | tests/async_speed_multi.sh | 3 +-- | ||
| 9 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
| 10 | |||
| 11 | diff --git a/tests/async_speed_multi.sh b/tests/async_speed_multi.sh | ||
| 12 | index e10dc0d..22a12cb 100755 | ||
| 13 | --- a/tests/async_speed_multi.sh | ||
| 14 | +++ b/tests/async_speed_multi.sh | ||
| 15 | @@ -21,7 +21,6 @@ | ||
| 16 | |||
| 17 | NUM_CORES=$(nproc) | ||
| 18 | OUT_BASENAME="async_speed" | ||
| 19 | -S_TIME_FORMAT=ISO | ||
| 20 | MPSTAT_OUT="mpstat_out" | ||
| 21 | |||
| 22 | function usage | ||
| 23 | @@ -62,7 +61,7 @@ function run_parallel | ||
| 24 | echo "Running $tvalue seconds $mvalue threads in parallel:" | ||
| 25 | echo " $CMD" | ||
| 26 | |||
| 27 | - (sleep 1; mpstat 1 $(($tvalue-2))) &> $MPSTAT_OUT & | ||
| 28 | + (sleep 1; S_TIME_FORMAT=ISO mpstat 1 $(($tvalue-2))) &> $MPSTAT_OUT & | ||
| 29 | MPSTAT_PID=$! | ||
| 30 | |||
| 31 | PIDS="" | ||
| 32 | -- | ||
| 33 | 2.10.2 | ||
| 34 | |||
