From c28546d5457a6435350e6f06653ffd7435cacd76 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Wed, 29 May 2019 12:38:31 -0700 Subject: [PATCH] gpu: nvgpu: Remove `-v' from unit.sh on L4T When running the unit tests on an L4T target in GVS the `-v' argument is specified in the unit test framework. This results in many megabytes of text logs getting dumped by the pd_cache tests. These logs consist of seemingly endless: 02:00 5: 00:55 27: nvgpu: gpu.USS nvgpu_pd_cache_alloc_direct:165 [DBG ] PD-Alloc [D] 4096 bytes 02:00 5: 00:55 27: nvgpu: gpu.USS nvgpu_pd_cache_alloc_direct:165 [DBG ] PD-Alloc [D] 4096 bytes 02:00 5: 00:55 27: nvgpu: gpu.USS nvgpu_pd_cache_alloc_direct:165 [DBG ] PD-Alloc [D] 4096 bytes 02:00 5: 00:55 27: nvgpu: gpu.USS nvgpu_pd_cache_alloc_direct:165 [DBG ] PD-Alloc [D] 4096 bytes This isn't very useful for debugging and generally clogs this log to a point where finding error messages is really time consuming. Change-Id: Idd0ee1bba7426448ed88f825344f7eddcb6b90ef Signed-off-by: Alex Waterman Reviewed-on: https://git-master.nvidia.com/r/2127436 GVS: Gerrit_Virtual_Submit Reviewed-by: Nicolas Benech Reviewed-by: mobile promotions Tested-by: mobile promotions --- userspace/unit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/unit.sh b/userspace/unit.sh index 27bbb4acc..85dcb9dfb 100755 --- a/userspace/unit.sh +++ b/userspace/unit.sh @@ -36,7 +36,7 @@ if [ -f nvgpu_unit ]; then # target, so use that dir structure LD_LIBRARY_PATH=".:units" cores=$(cat /proc/cpuinfo |grep processor |wc -l) - NVGPU_UNIT="./nvgpu_unit -v --nvtest --unit-load-path units/ --no-color \ + NVGPU_UNIT="./nvgpu_unit --nvtest --unit-load-path units/ --no-color \ --num-threads $cores" else # running on host