summaryrefslogtreecommitdiff
path: root/src/core/Statistics.cpp
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2023-03-06 21:22:25 +0100
committerJoel Rosdahl <joel@rosdahl.net>2023-03-07 20:17:35 +0100
commitb3c3e7998c6497f8d354da77c7ed6184381c6247 (patch)
tree8c5a2f79fd3217a519c6b4d4bf58c664765f4d6f /src/core/Statistics.cpp
parent62858602c6aaa8c6c28bf82aa4e1244c1214b869 (diff)
downloadccache-b3c3e7998c6497f8d354da77c7ed6184381c6247.tar.gz
feat: Make it possible to disable ccache for a certain source code file
Diffstat (limited to 'src/core/Statistics.cpp')
-rw-r--r--src/core/Statistics.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/Statistics.cpp b/src/core/Statistics.cpp
index aa928a72..f00f40c8 100644
--- a/src/core/Statistics.cpp
+++ b/src/core/Statistics.cpp
@@ -90,6 +90,7 @@ const StatisticsField k_statistics_fields[] = {
FLAG_UNCACHEABLE),
FIELD(direct_cache_hit, nullptr),
FIELD(direct_cache_miss, nullptr),
+ FIELD(disabled, "Ccache disabled", FLAG_UNCACHEABLE),
FIELD(error_hashing_extra_file, "Error hashing extra file", FLAG_ERROR),
FIELD(files_in_cache, nullptr, FLAG_NOZERO),
FIELD(internal_error, "Internal error", FLAG_ERROR),