]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - kernel/sysctl.c
perf_counter: Generic per counter interrupt throttle
[mv-sheeva.git] / kernel / sysctl.c
index 3cb1849f59895e9cb09f7b6cbc7f4371bb6bd7d5..0c4bf863afa32ffa9223e3cacafe89bd2f64c80c 100644 (file)
@@ -930,6 +930,14 @@ static struct ctl_table kern_table[] = {
                .mode           = 0644,
                .proc_handler   = &proc_dointvec,
        },
+       {
+               .ctl_name       = CTL_UNNUMBERED,
+               .procname       = "perf_counter_int_limit",
+               .data           = &sysctl_perf_counter_limit,
+               .maxlen         = sizeof(sysctl_perf_counter_limit),
+               .mode           = 0644,
+               .proc_handler   = &proc_dointvec,
+       },
 #endif
 /*
  * NOTE: do not add new entries to this table unless you have read