ci/yocto-buildstats: add ccache report - #3162
Draft
Jose Quaresma (quaresmajose) wants to merge 1 commit into
Draft
Jose Quaresma (quaresmajose) wants to merge 1 commit into
Jose Quaresma (quaresmajose) wants to merge 1 commit into
Conversation
Jose Quaresma (quaresmajose)
force-pushed
the
ccache
branch
from
September 15, 2026 09:04
293c9cd to
1f34d07
Compare
It is nice to have a report about the space used by ccache. This makes it easier to understand how the space is distributed among the components. The output will be similar to the one below: | Ccache size (0.81GB) [/sstate/ccache]: | 47% 0.38 gcc ######################################### | 18% 0.15 llvm-native ################# | 17% 0.14 glibc ############### | 16% 0.13 linux-yocto ############### [FIXME] du: cannot access '/sstate/ccache/qcs615_ride-qcom-linux/linux-qcom/1/6/stats.alive': No such file or directory du: cannot access '/sstate/ccache/qcs615_ride-qcom-linux/linux-qcom/1/6/stats.lock': No such file or directory du: cannot access '/sstate/ccache/iq_615_evk-qcom-linux/linux-qcom/d/stats.alive': No such file or directory du: cannot access '/sstate/ccache/iq_615_evk-qcom-linux/linux-qcom/d/stats.lock': No such file or directory du: cannot access '/sstate/ccache/qcom_armv8a-qcom-linux/linux-qcom/0/c/stats.lock': No such file or directory du: cannot access '/sstate/ccache/qcom_armv8a-qcom-linux/linux-qcom/0/c/stats.alive': No such file or directory du: cannot access '/sstate/ccache/qcom_armv8a-qcom-linux/linux-qcom/d/stats.alive': No such file or directory du: cannot access '/sstate/ccache/qcom_armv8a-qcom-linux/linux-qcom/d/stats.lock': No such file or directory du: cannot access '/sstate/ccache/shikra_evk-qcom-linux/linux-qcom/8/c/stats.alive': No such file or directory du: cannot access '/sstate/ccache/shikra_evk-qcom-linux/linux-qcom/8/c/stats.lock': No such file or directory du: cannot access '/sstate/ccache/qcs9100_ride_sx-qcom-linux/linux-qcom/f/d/stats.tmp.xPObrL.tmp': No such file or directory du: cannot access '/sstate/ccache/qcs9100_ride_sx-qcom-linux/linux-qcom/f/d/stats.alive': No such file or directory du: cannot access '/sstate/ccache/qcs9100_ride_sx-qcom-linux/linux-qcom/f/d/stats.lock': No such file or directory du: cannot access '/sstate/ccache/qcs9100_ride_sx-qcom-linux/linux-qcom/8/3/stats.lock': No such file or directory du: cannot access '/sstate/ccache/qcs9100_ride_sx-qcom-linux/linux-qcom/8/3/stats.alive': No such file or directory du: cannot access '/sstate/ccache/qcs9100_ride_sx-qcom-linux/linux-qcom/e/6/stats.tmp.lMaiMS.tmp': No such file or directory du: cannot access '/sstate/ccache/qcs9100_ride_sx-qcom-linux/linux-qcom/e/6/stats.lock': No such file or directory du: cannot access '/sstate/ccache/qcs9100_ride_sx-qcom-linux/linux-qcom/e/6/stats.alive': No such file or directory du: cannot access '/sstate/ccache/qcs9100_ride_sx-qcom-linux/linux-qcom/tmp/inode-cache-64.v2.tmp.9Uneyc.tmp': No such file or directory du: cannot access '/sstate/ccache/qcs9100_ride_sx-qcom-linux/linux-qcom/tmp/inode-cache-64.v2.tmp.xaXRCB.tmp': No such file or directory du: cannot access '/sstate/ccache/qcs9100_ride_sx-qcom-linux/linux-qcom/tmp/.nfs00000000028ea2f900001e98': No such file or directory du: cannot access '/sstate/ccache/qcs9100_ride_sx-qcom-linux/linux-qcom/tmp/inode-cache-64.v2.tmp.ypB1us.tmp': No such file or directory du: cannot access '/sstate/ccache/iq_615_evk-oe-linux/linux-qcom/c/8/stats.lock': No such file or directory du: cannot access '/sstate/ccache/iq_615_evk-oe-linux/linux-qcom/c/8/stats.tmp.3MtcGE.tmp': No such file or directory Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
Jose Quaresma (quaresmajose)
force-pushed
the
ccache
branch
from
September 15, 2026 09:35
1f34d07 to
e16d128
Compare
Jose Quaresma (quaresmajose)
marked this pull request as draft
September 15, 2026 09:35
Contributor
|
I like the idea |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It is nice to have a report about the space used by ccache. This makes it easier to understand how the space is distributed among the components.
The output will be similar to the one below: