Function report |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-28 12:33:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:create_hist_data
Proto:static struct hist_trigger_data *create_hist_data(unsigned int map_bits, struct hist_trigger_attrs *attrs, struct trace_event_file *file, bool remove)
Type:struct hist_trigger_data
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | map_bits | |
struct hist_trigger_attrs * | attrs | |
struct trace_event_file * | file | |
bool | remove |
5194 | const struct tracing_map_ops * map_ops = NULL |
5196 | ret = 0 |
5198 | hist_data = 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). |
5204 | event_file = file |
5206 | ret = parse_actions(hist_data) |
5210 | ret = create_hist_fields(hist_data, file) |
5214 | ret = create_sort_keys(hist_data) |
5218 | map_ops = hist_trigger_elt_data_ops |
5228 | ret = create_tracing_map_fields(hist_data) |
5231 | out : |
5232 | Return hist_data |
5233 | free : |
5234 | attrs = NULL |
5236 | destroy_hist_data(hist_data) |
5240 | Go to out |
Name | Describe |
---|---|
event_hist_trigger_func |
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 |