Function report |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-28 12:32:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__create_val_field
Proto:static int __create_val_field(struct hist_trigger_data *hist_data, unsigned int val_idx, struct trace_event_file *file, char *var_name, char *field_str, unsigned long flags)
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 * | field_str | |
unsigned long | flags |
4489 | ret = 0 |
4491 | hist_field = parse_expr(hist_data, file, field_str, flags, var_name, 0) |
4492 | If IS_ERR(hist_field) Then |
4493 | ret = PTR_ERR(hist_field) |
4494 | Go to out |
4497 | fields[val_idx] = hist_field |
4499 | ++n_vals |
4500 | ++n_fields |
4502 | If WARN_ON(n_vals > TRACING_MAP_VALS_MAX + TRACING_MAP_VARS_MAX) Then ret = -EINVAL |
4504 | out : |
4505 | Return ret |
Name | Describe |
---|---|
create_val_field | |
create_var_field |
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 |