diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 0ed9fa6f322e..7f813de4d394 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -955,6 +955,16 @@ static struct ctl_table kern_table[] = { .child = slow_work_sysctls, }, #endif +#ifdef CONFIG_PROFILE_ALL_BRANCHES + { + .ctl_name = CTL_UNNUMBERED, + .procname = "branch_profiling_enabled", + .data = &sysctl_branch_profiling_enabled, + .maxlen = sizeof(int), + .mode = 0644, + .proc_handler = &proc_dointvec, + }, +#endif #ifdef CONFIG_PERF_COUNTERS { .ctl_name = CTL_UNNUMBERED, |