aboutsummaryrefslogtreecommitdiff
path: root/src/perfcnt/intel/counters.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/perfcnt/intel/counters.rs')
-rw-r--r--src/perfcnt/intel/counters.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/perfcnt/intel/counters.rs b/src/perfcnt/intel/counters.rs
index 9d046bf..47495e6 100644
--- a/src/perfcnt/intel/counters.rs
+++ b/src/perfcnt/intel/counters.rs
@@ -1,3 +1,7 @@
+//! Performance counter for all Intel architectures.
+/// The content of this file is automatically generated by `build.rs`
+/// from the data in `x86data/perfmon_data`.
+
use phf;
use super::description::IntelPerformanceCounterDescription;
use super::description::Counter;
@@ -5,8 +9,4 @@ use super::description::PebsType;
use super::description::Tuple;
use super::description::MSRIndex;
-#[cfg(not(feature = "cached_counters"))]
-include!(concat!(env!("OUT_DIR"), "/counters.rs"));
-
-#[cfg(feature = "cached_counters")]
-include!("generated.rs");
+include!(concat!(env!("OUT_DIR"), "/counters.rs")); \ No newline at end of file