Function report |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-28 12:32:17 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:create_var_field
Proto:static int create_var_field(struct hist_trigger_data *hist_data, unsigned int val_idx, struct trace_event_file *file, char *var_name, char *expr_str)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct hist_trigger_data * | hist_data | |
unsigned int | val_idx | |
struct trace_event_file * | file | |
char * | var_name | |
char * | expr_str |
4525 | flags = 0 |
4527 | If WARN_ON(val_idx >= TRACING_MAP_VALS_MAX + TRACING_MAP_VARS_MAX) Then Return -EINVAL |
4535 | flags |= HIST_FIELD_FL_VAR |
4536 | n_vars++ |
4537 | If WARN_ON(n_vars > TRACING_MAP_VARS_MAX) Then Return -EINVAL |
Name | Describe |
---|---|
create_var_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 |