Function report |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-28 12:32:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:parse_var_defs
Proto:static int parse_var_defs(struct hist_trigger_data *hist_data)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct hist_trigger_data * | hist_data |
4707 | n_vars = 0 |
4708 | ret = 0 |
4710 | When i < n_assignments cycle |
4711 | str = assignment_str[i] |
4712 | When j < TRACING_MAP_VARS_MAX cycle |
4714 | If Not field_str Then Break |
4722 | Go to free |
4725 | If n_vars == TRACING_MAP_VARS_MAX Then |
4731 | s = kstrdup(var_name, GFP_KERNEL) |
4732 | If Not s Then |
4738 | s = kstrdup(field_str, GFP_KERNEL) |
4739 | If Not s Then |
4750 | Return ret |
4751 | free : |
4752 | free_var_defs(hist_data) |
4754 | Return ret |
Name | Describe |
---|---|
create_hist_fields |
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 |