| Function report | 
| Source Code: kernel\trace\trace_events_hist.c | Create Date:2022-07-28 12:32:19 | 
| 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_fields
Proto:static int create_val_fields(struct hist_trigger_data *hist_data, struct trace_event_file *file)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct hist_trigger_data * | hist_data | |
| struct trace_event_file * | file | 
| 4547 | j = 1 | 
| 4550 | ret = create_hitcount_val(hist_data) | 
| 4554 | fields_str = vals_str | 
| 4555 | If Not fields_str Then Go to out | 
| 4558 | When i < TRACING_MAP_VALS_MAX && j < TRACING_MAP_VALS_MAX cycle | 
| 4561 | If Not field_str Then Break | 
| 4572 | If fields_str && strcmp(fields_str, "hitcount") != 0 Then ret = -EINVAL | 
| 4574 | out : | 
| 4575 | Return ret | 
| Name | Describe | 
|---|---|
| create_hist_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 |