Skip to content

Commit 37115f1

Browse files
committed
Fix wrong cache event query key
1 parent c720f49 commit 37115f1

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)