Function report |
Source Code:kernel\trace\trace.c |
Create Date:2022-07-28 11:59:19 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:trace_printk_init_buffers
Proto:void trace_printk_init_buffers(void)
Type:void
Parameter:Nothing
| 3125 | If buffers_allocated Then Return |
| 3128 | If alloc_percpu_trace_buffer() Then Return |
| 3133 | pr_warn("\n") |
| 3134 | pr_warn("**********************************************************\n") |
| 3135 | pr_warn("** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **\n") |
| 3136 | pr_warn("** **\n") |
| 3137 | pr_warn("** trace_printk() being used. Allocating extra memory. **\n") |
| 3138 | pr_warn("** **\n") |
| 3139 | pr_warn("** This means that this is a DEBUG kernel and it is **\n") |
| 3140 | pr_warn("** unsafe for production use. **\n") |
| 3141 | pr_warn("** **\n") |
| 3142 | pr_warn("** If you see this message and you are not debugging **\n") |
| 3143 | pr_warn("** the kernel, report this immediately to your vendor! **\n") |
| 3144 | pr_warn("** **\n") |
| 3145 | pr_warn("** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **\n") |
| 3146 | pr_warn("**********************************************************\n") |
| 3151 | buffers_allocated = 1 |
| 3159 | If buffer Then tracing_start_cmdline_record() |
| Name | Describe |
|---|---|
| tracer_alloc_buffers | |
| hold_module_trace_bprintk_format | |
| bpf_get_trace_printk_proto |
| 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 |