aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/perf_counter.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/perf_counter.c')
-rw-r--r--kernel/perf_counter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/perf_counter.c b/kernel/perf_counter.c
index 75ae76796df1..5eacaaf3f9cd 100644
--- a/kernel/perf_counter.c
+++ b/kernel/perf_counter.c
@@ -3501,6 +3501,7 @@ perf_counter_alloc(struct perf_counter_attr *attr,
3501 3501
3502 switch (attr->type) { 3502 switch (attr->type) {
3503 case PERF_TYPE_HARDWARE: 3503 case PERF_TYPE_HARDWARE:
3504 case PERF_TYPE_HW_CACHE:
3504 pmu = hw_perf_counter_init(counter); 3505 pmu = hw_perf_counter_init(counter);
3505 break; 3506 break;
3506 3507