Function report |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-28 12:29:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:parse_assignment
Proto:static int parse_assignment(struct trace_array *tr, char *str, struct hist_trigger_attrs *attrs)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct trace_array * | tr | |
char * | str | |
struct hist_trigger_attrs * | attrs |
2099 | ret = 0 |
2117 | sort_key_str = kstrdup(str + len, GFP_KERNEL) |
2118 | If Not sort_key_str Then |
2132 | clock = kstrdup(str, GFP_KERNEL) |
2133 | If Not clock Then |
2138 | map_bits = parse_map_size(str + len) |
2140 | If map_bits < 0 Then |
2145 | Else |
2148 | If n_assignments == TRACING_MAP_VARS_MAX Then |
2154 | assignment = kstrdup(str, GFP_KERNEL) |
2155 | If Not assignment Then |
2160 | assignment_str[n_assignments++] = assignment |
2162 | out : |
2163 | Return ret |
Name | Describe |
---|---|
parse_hist_trigger_attrs |
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 |