Function report |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-28 12:29:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:parse_hist_trigger_attrs
Proto:static struct hist_trigger_attrs *parse_hist_trigger_attrs(struct trace_array *tr, char *trigger_str)
Type:struct hist_trigger_attrs
Parameter:
Type | Parameter | Name |
---|---|---|
struct trace_array * | tr | |
char * | trigger_str |
2170 | ret = 0 |
2172 | attrs = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
2176 | When trigger_str cycle |
2180 | rhs = strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for |
2181 | If rhs Then |
2182 | If Not strlen - Find the length of a string*@s: The string to be sized Then |
2186 | ret = parse_assignment(tr, str, attrs) |
2196 | Else |
2203 | If Not keys_str Then |
2208 | If Not clock Then |
2209 | clock = kstrdup("global", GFP_KERNEL) |
2210 | If Not clock Then |
2216 | Return attrs |
2217 | free : |
Name | Describe |
---|---|
event_hist_trigger_func |
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 |