Function report |
Source Code:kernel\trace\trace.h |
Create Date:2022-07-28 11:51:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:trace_test_and_set_recursion
Proto:static __always_inline int trace_test_and_set_recursion(int start, int max)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | start | |
| int | max |
| 648 | val = trace_recursion |
| 652 | If (val & TRACE_CONTEXT_MASK) > max Then Return 0 |
| 655 | bit = trace_get_context_bit() + start |
| 656 | If Value for the false possibility is greater at compile time(val & (1 << bit)) Then Return -1 |
| 660 | trace_recursion = val |
| 663 | Return bit |
| Name | Describe |
|---|---|
| function_trace_call | |
| __ftrace_ops_list_func | |
| ftrace_ops_assist_func | If there's only one function registered but it does not support* recursion, needs RCU protection and/or requires per cpu handling, then* this function will be called by the mcount trampoline. |
| 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 |