|
|
@@ -795,6 +795,9 @@ ssize_t intel_event_sysfs_show(char *page, u64 config);
|
|
|
|
|
|
struct attribute **merge_attr(struct attribute **a, struct attribute **b);
|
|
|
|
|
|
+ssize_t events_sysfs_show(struct device *dev, struct device_attribute *attr,
|
|
|
+ char *page);
|
|
|
+
|
|
|
#ifdef CONFIG_CPU_SUP_AMD
|
|
|
|
|
|
int amd_pmu_init(void);
|
|
|
@@ -925,9 +928,6 @@ int p6_pmu_init(void);
|
|
|
|
|
|
int knc_pmu_init(void);
|
|
|
|
|
|
-ssize_t events_sysfs_show(struct device *dev, struct device_attribute *attr,
|
|
|
- char *page);
|
|
|
-
|
|
|
static inline int is_ht_workaround_enabled(void)
|
|
|
{
|
|
|
return !!(x86_pmu.flags & PMU_FL_EXCL_ENABLED);
|