|
@@ -938,6 +938,12 @@ static struct ctl_table kern_table[] = {
|
|
},
|
|
},
|
|
#endif
|
|
#endif
|
|
#ifdef CONFIG_PERF_EVENTS
|
|
#ifdef CONFIG_PERF_EVENTS
|
|
|
|
+ /*
|
|
|
|
+ * User-space scripts rely on the existence of this file
|
|
|
|
+ * as a feature check for perf_events being enabled.
|
|
|
|
+ *
|
|
|
|
+ * So it's an ABI, do not remove!
|
|
|
|
+ */
|
|
{
|
|
{
|
|
.procname = "perf_event_paranoid",
|
|
.procname = "perf_event_paranoid",
|
|
.data = &sysctl_perf_event_paranoid,
|
|
.data = &sysctl_perf_event_paranoid,
|