Function report |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-28 12:31:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:find_synthetic_field_var
Proto:static struct hist_field *find_synthetic_field_var(struct hist_trigger_data *target_hist_data, char *system, char *event_name, char *field_name)
Type:struct hist_field
Parameter:
Type | Parameter | Name |
---|---|---|
struct hist_trigger_data * | target_hist_data | |
char * | system | |
char * | event_name | |
char * | field_name |
3246 | synthetic_name = 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). |
3247 | If Not synthetic_name Then Return ERR_PTR( - ENOMEM) |
3250 | strcpy(synthetic_name, "synthetic_") |
3251 | strcat(synthetic_name, field_name) |
3255 | kfree(synthetic_name) |
3257 | Return event_var |
Name | Describe |
---|---|
create_field_var_hist | reate_field_var_hist - Automatically create a histogram and var for a field*@target_hist_data: The target hist trigger*@subsys_name: Optional subsystem name*@event_name: Optional event name*@field_name: The name of the field (and the resulting variable)* |
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 |