projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'perf/fast' into perf/core
[linux-2.6-block.git]
/
arch
/
x86
/
kernel
/
cpu
/
perf_event.h
diff --git
a/arch/x86/kernel/cpu/perf_event.h
b/arch/x86/kernel/cpu/perf_event.h
index 8944062f46e284faaa65ec043403352ea7c5f14c..513d617b93c43f7145db0e9be5e62ba0d467461f 100644
(file)
--- a/
arch/x86/kernel/cpu/perf_event.h
+++ b/
arch/x86/kernel/cpu/perf_event.h
@@
-307,6
+307,14
@@
struct x86_pmu {
struct x86_pmu_quirk *quirks;
int perfctr_second_write;
+ /*
+ * sysfs attrs
+ */
+ int attr_rdpmc;
+
+ /*
+ * CPU Hotplug hooks
+ */
int (*cpu_prepare)(int cpu);
void (*cpu_starting)(int cpu);
void (*cpu_dying)(int cpu);