diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-07-08 03:09:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-08 03:09:58 +0200 |
| commit | 1a45ab116d242a4348748eeef9a7fe9ac4c4cd4e (patch) | |
| tree | 3e21ee32d6026967909fc16fd48d12130a2ea6a7 | |
| parent | b29f039ae380cd4b5420d28eb94d0ba5f027a6f6 (diff) | |
| parent | 37115f1bd612a341f621bc60d09de93b8915d76b (diff) | |
| download | rust-1a45ab116d242a4348748eeef9a7fe9ac4c4cd4e.tar.gz rust-1a45ab116d242a4348748eeef9a7fe9ac4c4cd4e.zip | |
Rollup merge of #143586 - Kobzol:self-profile-fix, r=oli-obk
Fix wrong cache event query key I messed this up in https://github.com/rust-lang/rust/pull/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`
| -rw-r--r-- | compiler/rustc_data_structures/src/profiling.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/profiling.rs b/compiler/rustc_data_structures/src/profiling.rs index 1b4db7adc27..881aa679156 100644 --- a/compiler/rustc_data_structures/src/profiling.rs +++ b/compiler/rustc_data_structures/src/profiling.rs @@ -142,7 +142,7 @@ const EVENT_FILTERS_BY_NAME: &[(&str, EventFilter)] = &[ ("generic-activity", EventFilter::GENERIC_ACTIVITIES), ("query-provider", EventFilter::QUERY_PROVIDERS), ("query-cache-hit", EventFilter::QUERY_CACHE_HITS), - ("query-cache-hit-count", EventFilter::QUERY_CACHE_HITS), + ("query-cache-hit-count", EventFilter::QUERY_CACHE_HIT_COUNTS), ("query-blocked", EventFilter::QUERY_BLOCKED), ("incr-cache-load", EventFilter::INCR_CACHE_LOADS), ("query-keys", EventFilter::QUERY_KEYS), |
