Function report |
Source Code:kernel\trace\trace_functions.c |
Create Date:2022-07-28 12:08:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:function_trace_call
Proto:static void function_trace_call(unsigned long ip, unsigned long parent_ip, struct ftrace_ops *op, struct pt_regs *pt_regs)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | ip | |
| unsigned long | parent_ip | |
| struct ftrace_ops * | op | |
| struct pt_regs * | pt_regs |
| 135 | If Value for the false possibility is greater at compile time(! function tracing enabled ) Then Return |
| 138 | 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. |
| 139 | preempt_disable_notrace() |
| 145 | cpu = smp_processor_id() |
| 146 | data = per_cpu_ptr(data, cpu) |
| 147 | If Not atomic_read( & disabled) Then |
| 148 | local_save_flags(flags) |
| 151 | trace_clear_recursion(bit) |
| 153 | out : |
| 154 | preempt_enable_notrace() |
| 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 |