Function report |
Source Code:kernel\trace\fgraph.c |
Create Date:2022-07-28 12:18:00 |
| Last Modify:2020-03-17 20:08:56 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:register_ftrace_graph
Proto:int register_ftrace_graph(struct fgraph_ops *gops)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct fgraph_ops * | gops |
| 600 | ret = 0 |
| 602 | mutex_lock( & ftrace_lock) |
| 605 | If ftrace_graph_active Then |
| 612 | ftrace_graph_active++ |
| 614 | If ret Then |
| 615 | ftrace_graph_active-- |
| 616 | Go to out |
| 631 | ret = Keep as macros so we do not need to define the commands ( & graph_ops, FTRACE_START_FUNC_RET) |
| 632 | out : |
| 634 | Return ret |
| Name | Describe |
|---|---|
| register_irqsoff_function | |
| register_wakeup_function | |
| graph_trace_init |
| 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 |