diff options
Diffstat (limited to 'arch/x86/kernel/cpu/perf_event.h')
-rw-r--r-- | arch/x86/kernel/cpu/perf_event.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/perf_event.h b/arch/x86/kernel/cpu/perf_event.h index 271d25700297..115c1ea97746 100644 --- a/arch/x86/kernel/cpu/perf_event.h +++ b/arch/x86/kernel/cpu/perf_event.h | |||
@@ -354,6 +354,8 @@ struct x86_pmu { | |||
354 | int attr_rdpmc; | 354 | int attr_rdpmc; |
355 | struct attribute **format_attrs; | 355 | struct attribute **format_attrs; |
356 | 356 | ||
357 | ssize_t (*events_sysfs_show)(char *page, u64 config); | ||
358 | |||
357 | /* | 359 | /* |
358 | * CPU Hotplug hooks | 360 | * CPU Hotplug hooks |
359 | */ | 361 | */ |
@@ -536,6 +538,9 @@ static inline void set_linear_ip(struct pt_regs *regs, unsigned long ip) | |||
536 | regs->ip = ip; | 538 | regs->ip = ip; |
537 | } | 539 | } |
538 | 540 | ||
541 | ssize_t x86_event_sysfs_show(char *page, u64 config, u64 event); | ||
542 | ssize_t intel_event_sysfs_show(char *page, u64 config); | ||
543 | |||
539 | #ifdef CONFIG_CPU_SUP_AMD | 544 | #ifdef CONFIG_CPU_SUP_AMD |
540 | 545 | ||
541 | int amd_pmu_init(void); | 546 | int amd_pmu_init(void); |