aboutsummaryrefslogtreecommitdiff
path: root/src/shared/perfcnt/intel/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/perfcnt/intel/mod.rs')
-rw-r--r--src/shared/perfcnt/intel/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/perfcnt/intel/mod.rs b/src/shared/perfcnt/intel/mod.rs
index 13602f7..f038055 100644
--- a/src/shared/perfcnt/intel/mod.rs
+++ b/src/shared/perfcnt/intel/mod.rs
@@ -60,12 +60,12 @@ macro_rules! get_counters {
}
/// Return all core performance counters for the running micro-architecture.
-pub fn core_counters() -> Option<&'static phf::Map<&'static str, EventDescription>> {
+pub fn core_counters() -> Option<&'static phf::Map<&'static str, EventDescription<'static>>> {
get_counters!("{}-{}-{:X}{:X}-core")
}
/// Return all uncore performance counters for the running micro-architecture.
-pub fn uncore_counters() -> Option<&'static phf::Map<&'static str, EventDescription>> {
+pub fn uncore_counters() -> Option<&'static phf::Map<&'static str, EventDescription<'static>>> {
get_counters!("{}-{}-{:X}{:X}-uncore")
}