]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
run-make-check: Showing configuration before the build 23609/head
authorErwan Velu <erwan@redhat.com>
Thu, 16 Aug 2018 15:08:16 +0000 (17:08 +0200)
committerErwan Velu <erwan@redhat.com>
Fri, 17 Aug 2018 08:16:58 +0000 (10:16 +0200)
The actual code is resetting the statistics before doing the actual compilation and prints them after the build.

That is nice to understand how much the cache was used but doesn't help understanding how much it _could_ have been used.

This patch is adding a reporting (-s) when cleaning the statistics so we can estimate :
- the actual number of files in cache
- the actual size of the cache

With this two missing information, its now possible estimate if there is some miss-usage of the cache.

Signed-off-by: Erwan Velu <erwan@redhat.com>
run-make-check.sh

index bca8d78c33543a3b5a125bd4fe284aa686bfe716..c69d00c3f6cf69a26565db7f11e48fdc6215083f 100755 (executable)
@@ -123,7 +123,7 @@ EOM
         echo "Current ccache max_size setting:"
         ccache -p | grep max_size
     fi
-    $DRY_RUN ccache -z # Reset the ccache statistics
+    $DRY_RUN ccache -sz # Reset the ccache statistics and show the current configuration
 
     $DRY_RUN ./do_cmake.sh $CMAKE_BUILD_OPTS $@ || return 1
     $DRY_RUN cd build