Function report |
Source Code:kernel\trace\trace_events.c |
Create Date:2022-07-28 12:18:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:trace_event_buffer_reserve
Proto:void *trace_event_buffer_reserve(struct trace_event_buffer *fbuffer, struct trace_event_file *trace_file, unsigned long len)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct trace_event_buffer * | fbuffer | |
struct trace_event_file * | trace_file | |
unsigned long | len |
250 | event_call = event_call |
256 | local_save_flags(flags) |
257 | 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. |
264 | If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_PREEMPTION) Then pc-- |
266 | trace_file = trace_file |
268 | event = trace_event_buffer_lock_reserve( & buffer, trace_file, type, len, flags, pc) |
272 | If Not event Then Return NULL |
275 | entry = g_buffer_event_data - return the data of the event*@event: the event to get the data from |
276 | Return entry |
Name | Describe |
---|---|
trace_inject_entry | |
trace_event_raw_event_synth |
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 |