Function report |
Source Code:kernel\trace\trace.c |
Create Date:2022-07-28 11:58:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__trace_bputs - write the pointer to a constant string into trace buffer*@ip: The address of the caller*@str: The constant string to write to the buffer to
Proto:int __trace_bputs(unsigned long ip, const char *str)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | ip | |
const char * | str |
904 | size = sizeof(structbputs_entry) |
907 | If Not (trace_flags & TRACE_ITER_PRINTK) Then Return 0 |
910 | pc = We mask the PREEMPT_NEED_RESCHED bit so as not to confuse all current users* that think a non-zero value indicates we cannot preempt. |
917 | event = __trace_buffer_lock_reserve(buffer, TRACE_BPUTS, size, irq_flags, pc) |
919 | If Not event Then Return 0 |
922 | entry = g_buffer_event_data - return the data of the event*@event: the event to get the data from |
927 | ftrace_trace_stack( & The global_trace is the descriptor that holds the top-level tracing* buffers for the live tracing., buffer, irq_flags, 4, pc, NULL) |
929 | Return 1 |
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 |