Function report |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-28 12:31:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:parse_action_params
Proto:static int parse_action_params(struct trace_array *tr, char *params, struct action_data *data)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct trace_array * | tr | |
char * | params | |
struct action_data * | data |
3928 | bool first_param = true |
3929 | ret = 0 |
3932 | If n_params >= SYNTH_FIELDS_MAX Then |
3933 | hist_err(tr, HIST_ERR_TOO_MANY_PARAMS, 0) |
3934 | Go to out |
3938 | If Not param Then |
3945 | If strlen - Find the length of a string*@s: The string to be sized < 2 Then |
3951 | saved_param = kstrdup(param, GFP_KERNEL) |
3952 | If Not saved_param Then |
3957 | If first_param && use_trace_keyword Then |
3962 | first_param = false |
3964 | params[n_params++] = saved_param |
3966 | out : |
3967 | Return ret |
Name | Describe |
---|---|
action_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 |