Function report |
Source Code:kernel\trace\trace.c |
Create Date:2022-07-28 11:59:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:trace_function
Proto:void trace_function(struct trace_array *tr, unsigned long ip, unsigned long parent_ip, unsigned long flags, int pc)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct trace_array * | tr | |
| unsigned long | ip | |
| unsigned long | parent_ip | |
| unsigned long | flags | |
| int | pc |
| 2849 | call = event_function |
| 2856 | If Not event Then Return |
| 2858 | entry = g_buffer_event_data - return the data of the event*@event: the event to get the data from |
| 2862 | If Not call_filter_check_discard(call, entry, buffer, event) Then |
| 2863 | If static_branch_unlikely( & ftrace_exports_enabled) Then ftrace_exports(event) |
| 2865 | __buffer_unlock_commit(buffer, event) |
| Name | Describe |
|---|---|
| function_trace_call | |
| function_stack_trace_call | |
| irqsoff_tracer_call | qsoff uses its own tracer function to keep the overhead down: |
| 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 |