Function report |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-28 12:31:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:action_parse
Proto:static int action_parse(struct trace_array *tr, char *str, struct action_data *data, enum handler_id handler)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct trace_array * | tr | |
char * | str | |
struct action_data * | data | |
enum handler_id | handler |
3974 | ret = 0 |
3977 | If Not str Then |
3984 | If Not action_name || Not str Then |
3993 | If Not params Then |
3999 | ret = parse_action_params(tr, params, data) |
4003 | If handler == HANDLER_ONMAX Then check_val = check_track_val_max |
4005 | Else if handler == HANDLER_ONCHANGE Then check_val = check_track_val_changed |
4007 | Else |
4013 | save_data = save_track_data_vars |
4014 | fn = ontrack_action |
4015 | action = ACTION_SAVE |
4019 | If Not str Then |
4025 | If handler == HANDLER_ONMAX Then check_val = check_track_val_max |
4027 | Else if handler == HANDLER_ONCHANGE Then check_val = check_track_val_changed |
4029 | Else |
4036 | fn = ontrack_action |
4037 | action = ACTION_SNAPSHOT |
4038 | Else |
4044 | If params Then |
4050 | If handler == HANDLER_ONMAX Then check_val = check_track_val_max |
4052 | Else if handler == HANDLER_ONCHANGE Then check_val = check_track_val_changed |
4055 | If handler != HANDLER_ONMATCH Then |
4056 | save_data = action_trace |
4057 | fn = ontrack_action |
4058 | Else fn = action_trace |
4061 | action = ACTION_TRACE |
4064 | action_name = kstrdup(action_name, GFP_KERNEL) |
4065 | If Not action_name Then |
4071 | out : |
4072 | Return ret |
Name | Describe |
---|---|
track_data_parse | |
onmatch_parse |
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 |