Function report |
Source Code:kernel\trace\trace_events.c |
Create Date:2022-07-28 12:20:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:trace_create_new_event
Proto:static struct trace_event_file *trace_create_new_event(struct trace_event_call *call, struct trace_array *tr)
Type:struct trace_event_file
Parameter:
Type | Parameter | Name |
---|---|---|
struct trace_event_call * | call | |
struct trace_array * | tr |
2282 | file = kmem_cache_alloc(file_cachep, GFP_TRACE) |
2283 | If Not file Then Return NULL |
2286 | event_call = call |
2288 | atomic_set( & soft-mode reference counter , 0) |
2289 | atomic_set( & trigger-mode reference counter , 0) |
2293 | Return file |
Name | Describe |
---|---|
__trace_add_new_event | Add an event to a trace directory |
__trace_early_add_new_event | Just create a decriptor for early init. A descriptor is required* for enabling events at boot. We want to enable events before* the filesystem is initialized. |
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 |