Add new self-profile event for aggregating query hit counts

This commit is contained in:
Jakub Beránek
2025-06-25 11:09:58 +02:00
parent e4b9d0141f
commit 04ff853e13
2 changed files with 88 additions and 7 deletions

View File

@@ -259,4 +259,5 @@ pub fn alloc_self_profile_query_strings(tcx: TyCtxt<'_>) {
for alloc in super::ALLOC_SELF_PROFILE_QUERY_STRINGS.iter() {
alloc(tcx, &mut string_cache)
}
tcx.sess.prof.store_query_cache_hits();
}