Lines 426-432
Link Here
|
426 |
* a PMU and sometimes between PMU of sibling HT threads. |
426 |
* a PMU and sometimes between PMU of sibling HT threads. |
427 |
* In either case, the kernel needs to handle conflicting |
427 |
* In either case, the kernel needs to handle conflicting |
428 |
* accesses to those extra, shared, regs. The data structure |
428 |
* accesses to those extra, shared, regs. The data structure |
429 |
* to manage those registers is stored in cpu_hw_event. |
429 |
* to manage those registers is stored in cpu_hw_events. |
430 |
*/ |
430 |
*/ |
431 |
struct extra_reg { |
431 |
struct extra_reg { |
432 |
unsigned int event; |
432 |
unsigned int event; |
Lines 1032-1043
Link Here
|
1032 |
return 0; |
1032 |
return 0; |
1033 |
} |
1033 |
} |
1034 |
|
1034 |
|
1035 |
static inline int intel_cpuc_prepare(struct cpu_hw_event *cpuc, int cpu) |
1035 |
static inline int intel_cpuc_prepare(struct cpu_hw_events *cpuc, int cpu) |
1036 |
{ |
1036 |
{ |
1037 |
return 0; |
1037 |
return 0; |
1038 |
} |
1038 |
} |
1039 |
|
1039 |
|
1040 |
static inline void intel_cpuc_finish(struct cpu_hw_event *cpuc) |
1040 |
static inline void intel_cpuc_finish(struct cpu_hw_events *cpuc) |
1041 |
{ |
1041 |
{ |
1042 |
} |
1042 |
} |
1043 |
|
1043 |
|