summaryrefslogtreecommitdiff
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorPavankumar Kondeti <pkondeti@codeaurora.org>2018-03-26 16:59:43 +0530
committerLingutla Chandrasekhar <clingutla@codeaurora.org>2018-04-24 11:33:20 +0530
commit55c9b3d14f45a276188f0cf168898d2268fd0723 (patch)
treeb763379ec46668977d86c4a8ddf3703f9c74112e /kernel/sysctl.c
parent10e91c5e578fb378b53b8f8e7a3e8d1e6cf6e1f5 (diff)
trace/irq: Add trace point to track IRQs disable callers
Add trace point to track IRQs disable callers to isolate issues unrelated to scheduler and improve debug turn around time. Change-Id: Ib1ef45d8bed1fc0e128b5ab2051f0c30e8c50ee7 Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org> Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org> Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 5ada14880707..14f19af9d79a 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -299,7 +299,13 @@ static struct ctl_table kern_table[] = {
.mode = 0644,
.proc_handler = proc_dointvec,
},
-
+ {
+ .procname = "irqsoff_tracing_threshold_ns",
+ .data = &sysctl_irqsoff_tracing_threshold_ns,
+ .maxlen = sizeof(unsigned int),
+ .mode = 0644,
+ .proc_handler = proc_dointvec,
+ },
#endif
#ifdef CONFIG_SCHED_HMP
{