Function report |
Source Code:kernel\printk\printk.c |
Create Date:2022-07-28 10:06:35 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Call the console drivers, asking them to write out* log_buf[start] to log_buf[end - 1].* The console_lock must be held.
Proto:static void call_console_drivers(const char *ext_text, size_t ext_len, const char *text, size_t len)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
const char * | ext_text | |
size_t | ext_len | |
const char * | text | |
size_t | len |
1773 | trace_console_rcuidle(text, len) |
1775 | If Not console_drivers Then Return |
1779 | If If exclusive_console is non-NULL then only this console is to be printed to. && con != If exclusive_console is non-NULL then only this console is to be printed to. Then Continue |
1781 | If Not (flags & CON_ENABLED) Then Continue |
1783 | If Not write Then Continue |
1785 | If Not cpu_online(smp_processor_id()) && Not (flags & Safe to call when cpu is offline ) Then Continue |
Name | Describe |
---|---|
console_unlock | sole_unlock - unlock the console system* Releases the console_lock which the caller holds on the console system* and the console driver list.* While the console_lock was held, console output may have been buffered* by printk() |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |