| Function report | 
| Source Code: kernel\trace\trace_events.c | Create Date:2022-07-28 12:21:10 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:vent_trace_add_tracer - add a instance of a trace_array to events*@parent: The parent dentry to place the files/directories for events in*@tr: The trace array associated with these events* When a new instance is created, it needs to set up its events
Proto:int event_trace_add_tracer(struct dentry *parent, struct trace_array *tr)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct dentry * | parent | |
| struct trace_array * | tr | 
| 3009 | lockdep_assert_held( & event_mutex) | 
| 3015 | lock for writing | 
| 3017 | lease a write lock | 
| 3019 | out : | 
| 3020 | Return ret | 
| Name | Describe | 
|---|---|
| trace_array_create | 
| 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 |