Skip to content

Commit 1a45ab1

Browse files
authored
Rollup merge of #143586 - Kobzol:self-profile-fix, r=oli-obk
Fix wrong cache event query key I messed this up in #142978. It is only an issue if someone enables the event manually, which almost no-one does, so it could take a while before we found it :D Luckily I noticed it while re-reading the PR. r? `@oli-obk`
2 parents b29f039 + 37115f1 commit 1a45ab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_data_structures/src/profiling.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ const EVENT_FILTERS_BY_NAME: &[(&str, EventFilter)] = &[
142142
("generic-activity", EventFilter::GENERIC_ACTIVITIES),
143143
("query-provider", EventFilter::QUERY_PROVIDERS),
144144
("query-cache-hit", EventFilter::QUERY_CACHE_HITS),
145-
("query-cache-hit-count", EventFilter::QUERY_CACHE_HITS),
145+
("query-cache-hit-count", EventFilter::QUERY_CACHE_HIT_COUNTS),
146146
("query-blocked", EventFilter::QUERY_BLOCKED),
147147
("incr-cache-load", EventFilter::INCR_CACHE_LOADS),
148148
("query-keys", EventFilter::QUERY_KEYS),

0 commit comments

Comments
 (0)