diff --git a/kernel/perf_counter.c b/kernel/perf_counter.c index 59c52f9ee431a6ee09140d58f72a724856102e51..539fa8283a06f34e81ead1b6618e3d9f07cd9d38 100644 --- a/kernel/perf_counter.c +++ b/kernel/perf_counter.c @@ -25,7 +25,7 @@ */ DEFINE_PER_CPU(struct perf_cpu_context, perf_cpu_context); -int perf_max_counters __read_mostly; +int perf_max_counters __read_mostly = 1; static int perf_reserved_percpu __read_mostly; static int perf_overcommit __read_mostly = 1;