Home
last modified time | relevance | path

Searched refs:console_loglevel (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dprintk-basics.rst62 日志级别指定了一条消息的重要性。内核根据日志级别和当前 *console_loglevel* (一个内核变量)决
63 定是否立即显示消息(将其打印到当前控制台)。如果消息的优先级比 *console_loglevel* 高(日志级
68 你可以用以下方法检查当前的 *console_loglevel* ::
75 要改变当前的 console_loglevel,只需在 ``/proc/sys/kernel/printk`` 中写入所需的
84 设置 console_loglevel 打印 KERN_WARNING (4) 或更严重的消息到控制台。更多消息参
/linux-6.6.21/lib/livepatch/
Dtest_klp_state.c42 loglevel_state->data = kzalloc(sizeof(console_loglevel), GFP_KERNEL); in allocate_loglevel_state()
60 *(int *)loglevel_state->data = console_loglevel; in fix_console_loglevel()
61 console_loglevel = CONSOLE_LOGLEVEL_MOTORMOUTH; in fix_console_loglevel()
73 console_loglevel = *(int *)loglevel_state->data; in restore_console_loglevel()
Dtest_klp_state2.c49 loglevel_state->data = kzalloc(sizeof(console_loglevel), GFP_KERNEL); in allocate_loglevel_state()
75 *(int *)loglevel_state->data = console_loglevel; in fix_console_loglevel()
76 console_loglevel = CONSOLE_LOGLEVEL_MOTORMOUTH; in fix_console_loglevel()
95 console_loglevel = *(int *)loglevel_state->data; in restore_console_loglevel()
/linux-6.6.21/kernel/debug/kdb/
Dkdb_bt.c27 int old_lvl = console_loglevel; in kdb_show_stack()
29 console_loglevel = CONSOLE_LOGLEVEL_MOTORMOUTH; in kdb_show_stack()
31 console_loglevel = old_lvl; in kdb_show_stack()
Dkdb_io.c766 saved_loglevel = console_loglevel; in vkdb_printf()
767 console_loglevel = CONSOLE_LOGLEVEL_SILENT; in vkdb_printf()
881 console_loglevel = saved_loglevel; in vkdb_printf()
Dkdb_main.c1177 int old_lvl = console_loglevel; in kdb_dumpregs()
1178 console_loglevel = CONSOLE_LOGLEVEL_MOTORMOUTH; in kdb_dumpregs()
1183 console_loglevel = old_lvl; in kdb_dumpregs()
/linux-6.6.21/Documentation/core-api/
Dprintk-basics.rst57 on its log level and the current *console_loglevel* (a kernel variable). If the
58 message priority is higher (lower log level value) than the *console_loglevel*
64 You can check the current *console_loglevel* with::
72 To change the current console_loglevel simply write the desired level to
81 sets the console_loglevel to print KERN_WARNING (4) or more severe messages to
/linux-6.6.21/drivers/tty/
Dsysrq.c105 console_loglevel = CONSOLE_LOGLEVEL_DEFAULT; in sysrq_handle_loglevel()
107 console_loglevel = loglevel; in sysrq_handle_loglevel()
376 console_loglevel = CONSOLE_LOGLEVEL_DEBUG; in sysrq_handle_term()
433 console_loglevel = CONSOLE_LOGLEVEL_DEBUG; in sysrq_handle_kill()
589 orig_log_level = console_loglevel; in __handle_sysrq()
590 console_loglevel = CONSOLE_LOGLEVEL_DEFAULT; in __handle_sysrq()
600 console_loglevel = orig_log_level; in __handle_sysrq()
604 console_loglevel = orig_log_level; in __handle_sysrq()
622 console_loglevel = orig_log_level; in __handle_sysrq()
/linux-6.6.21/kernel/printk/
Dsysctl.c26 .data = &console_loglevel,
Dprintk.c1257 return (level >= console_loglevel && !ignore_loglevel); in suppress_message_printing()
1755 saved_console_loglevel = console_loglevel; in do_syslog()
1756 console_loglevel = minimum_console_loglevel; in do_syslog()
1761 console_loglevel = saved_console_loglevel; in do_syslog()
1771 console_loglevel = len; in do_syslog()
2539 if (console_loglevel && !printk_console_no_auto_verbose) in console_verbose()
2540 console_loglevel = CONSOLE_LOGLEVEL_MOTORMOUTH; in console_verbose()
/linux-6.6.21/arch/powerpc/kernel/
Dudbg.c75 console_loglevel = CONSOLE_LOGLEVEL_DEBUG; in udbg_early_init()
/linux-6.6.21/arch/x86/platform/uv/
Duv_nmi.c798 int saved_console_loglevel = console_loglevel; in uv_nmi_dump_state()
804 console_loglevel = uv_nmi_loglevel; in uv_nmi_dump_state()
817 console_loglevel = saved_console_loglevel; in uv_nmi_dump_state()
/linux-6.6.21/init/
Dmain.c230 console_loglevel = CONSOLE_LOGLEVEL_DEBUG; in debug_kernel()
236 console_loglevel = CONSOLE_LOGLEVEL_QUIET; in quiet_kernel()
253 console_loglevel = newlevel; in loglevel()
/linux-6.6.21/arch/ia64/kernel/
Dmca.c291 BREAK_LOGLEVEL(console_loglevel); in ia64_mlogbuf_finish()
1615 BREAK_LOGLEVEL(console_loglevel); in default_monarch_init_process()
1640 RESTORE_LOGLEVEL(console_loglevel); in default_monarch_init_process()
/linux-6.6.21/include/linux/
Dprintk.h65 #define console_loglevel (console_printk[0]) macro
/linux-6.6.21/drivers/video/fbdev/
Defifb.c173 if (console_loglevel > CONSOLE_LOGLEVEL_QUIET) in efifb_show_boot_graphics()
/linux-6.6.21/arch/s390/kernel/
Dsetup.c309 console_loglevel = 2; in setup_zfcpdump()
/linux-6.6.21/Documentation/networking/
Dnetconsole.rst232 the "console_loglevel" parameter (on the sender) to only send high
/linux-6.6.21/Documentation/admin-guide/sysctl/
Dkernel.rst1031 The four values in printk denote: ``console_loglevel``,
1040 console_loglevel messages with a higher priority than
1045 console_loglevel can be set
1046 default_console_loglevel default value for console_loglevel
/linux-6.6.21/drivers/video/fbdev/core/
Dfbcon.c1007 if (logo_shown < 0 && console_loglevel <= CONSOLE_LOGLEVEL_QUIET) in fbcon_init()