Function report |
Source Code:kernel\trace\trace_sched_wakeup.c |
Create Date:2022-07-28 12:09:56 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:register_wakeup_function
Proto:static int register_wakeup_function(struct trace_array *tr, int graph, int set)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct trace_array * | tr | |
| int | graph | |
| int | set |
| 238 | If function_enabled || Not set && Not (trace_flags & TRACE_ITER_FUNCTION) Then Return 0 |
| 241 | If graph Then ret = register_ftrace_graph( & fgraph_wakeup_ops) |
| 243 | Else ret = gister_ftrace_function - register a function for profiling*@ops - ops structure that holds the function for profiling |
| 246 | If Not ret Then function_enabled = true |
| 249 | Return ret |
| Name | Describe |
|---|---|
| wakeup_function_set | |
| start_func_tracer |
| 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 |