Function report |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-28 12:29:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__create_synth_event
Proto:static int __create_synth_event(int argc, const char *name, const char **argv)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | argc | |
const char * | name | |
const char ** | argv |
1295 | struct synth_event * event = NULL |
1308 | mutex_lock( & event_mutex) |
1310 | event = find_synth_event(name) |
1311 | If event Then |
1319 | If n_fields == SYNTH_FIELDS_MAX Then |
1338 | event = alloc_synth_event(name, n_fields, fields) |
1344 | ret = register_synth_event(event) |
1345 | If Not ret Then dyn_event_add( & devent) |
1347 | Else free_synth_event(event) |
1349 | out : |
1352 | Return ret |
1353 | err : |
1357 | Go to out |
Name | Describe |
---|---|
create_or_delete_synth_event | |
synth_event_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 |