Function report |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-28 12:32:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:create_key_fields
Proto:static int create_key_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 |
4644 | key_offset = 0 , n_vals = n_vals |
4648 | fields_str = keys_str |
4649 | If Not fields_str Then Go to out |
4652 | When i < n_vals + TRACING_MAP_KEYS_MAX cycle |
4654 | If Not field_str Then Break |
4656 | ret = create_key_field(hist_data, i, key_offset, file, field_str) |
4660 | key_offset += ret |
4662 | If fields_str Then |
4666 | ret = 0 |
4667 | out : |
4668 | 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 |