sysctl.c (af936a1606246a10c145feac3770f6287f483f02) | sysctl.c (606576ce816603d9fe1fb453a88bc6eea16ca709) |
---|---|
1/* 2 * sysctl.c: General linux system control interface 3 * 4 * Begun 24 March 1995, Stephen Tweedie 5 * Added /proc support, Dec 1995 6 * Added bdflush entry and intvec min/max checking, 2/23/96, Tom Dyas. 7 * Added hooks for /proc/sys/net (minor, minor patch), 96/4/1, Mike Shaver. 8 * Added kernel/java-{interpreter,appletviewer}, 96/5/10, Mike Shaver. --- 450 unchanged lines hidden (view full) --- 459 { 460 .ctl_name = KERN_CTLALTDEL, 461 .procname = "ctrl-alt-del", 462 .data = &C_A_D, 463 .maxlen = sizeof(int), 464 .mode = 0644, 465 .proc_handler = &proc_dointvec, 466 }, | 1/* 2 * sysctl.c: General linux system control interface 3 * 4 * Begun 24 March 1995, Stephen Tweedie 5 * Added /proc support, Dec 1995 6 * Added bdflush entry and intvec min/max checking, 2/23/96, Tom Dyas. 7 * Added hooks for /proc/sys/net (minor, minor patch), 96/4/1, Mike Shaver. 8 * Added kernel/java-{interpreter,appletviewer}, 96/5/10, Mike Shaver. --- 450 unchanged lines hidden (view full) --- 459 { 460 .ctl_name = KERN_CTLALTDEL, 461 .procname = "ctrl-alt-del", 462 .data = &C_A_D, 463 .maxlen = sizeof(int), 464 .mode = 0644, 465 .proc_handler = &proc_dointvec, 466 }, |
467#ifdef CONFIG_FTRACE | 467#ifdef CONFIG_FUNCTION_TRACER |
468 { 469 .ctl_name = CTL_UNNUMBERED, 470 .procname = "ftrace_enabled", 471 .data = &ftrace_enabled, 472 .maxlen = sizeof(int), 473 .mode = 0644, 474 .proc_handler = &ftrace_enable_sysctl, 475 }, --- 352 unchanged lines hidden (view full) --- 828 .ctl_name = CTL_UNNUMBERED, 829 .procname = "rcutorture_runnable", 830 .data = &rcutorture_runnable, 831 .maxlen = sizeof(int), 832 .mode = 0644, 833 .proc_handler = &proc_dointvec, 834 }, 835#endif | 468 { 469 .ctl_name = CTL_UNNUMBERED, 470 .procname = "ftrace_enabled", 471 .data = &ftrace_enabled, 472 .maxlen = sizeof(int), 473 .mode = 0644, 474 .proc_handler = &ftrace_enable_sysctl, 475 }, --- 352 unchanged lines hidden (view full) --- 828 .ctl_name = CTL_UNNUMBERED, 829 .procname = "rcutorture_runnable", 830 .data = &rcutorture_runnable, 831 .maxlen = sizeof(int), 832 .mode = 0644, 833 .proc_handler = &proc_dointvec, 834 }, 835#endif |
836#ifdef CONFIG_UNEVICTABLE_LRU 837 { 838 .ctl_name = CTL_UNNUMBERED, 839 .procname = "scan_unevictable_pages", 840 .data = &scan_unevictable_pages, 841 .maxlen = sizeof(scan_unevictable_pages), 842 .mode = 0644, 843 .proc_handler = &scan_unevictable_handler, 844 }, 845#endif | |
846/* 847 * NOTE: do not add new entries to this table unless you have read 848 * Documentation/sysctl/ctl_unnumbered.txt 849 */ 850 { .ctl_name = 0 } 851}; 852 853static struct ctl_table vm_table[] = { --- 2158 unchanged lines hidden --- | 836/* 837 * NOTE: do not add new entries to this table unless you have read 838 * Documentation/sysctl/ctl_unnumbered.txt 839 */ 840 { .ctl_name = 0 } 841}; 842 843static struct ctl_table vm_table[] = { --- 2158 unchanged lines hidden --- |