Function report |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-28 12:31:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:track_data_create
Proto:static int track_data_create(struct hist_trigger_data *hist_data, struct action_data *data)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct hist_trigger_data * | hist_data | |
struct action_data * | data |
3877 | struct hist_field * var_field, * ref_field, * track_var = NULL |
3878 | file = event_file |
3881 | ret = 0 |
3883 | track_data_var_str = var_str |
3884 | If track_data_var_str[0] != '$' Then |
3886 | Return -EINVAL |
3888 | track_data_var_str++ |
3891 | If Not var_field Then |
3893 | Return -EINVAL |
3902 | If handler == HANDLER_ONMAX Then track_var = create_var(hist_data, file, "__max", sizeof(u64), "u64") |
3910 | If handler == HANDLER_ONCHANGE Then track_var = create_var(hist_data, file, "__change", sizeof(u64), "u64") |
3919 | ret = action_create(hist_data, data) |
3920 | out : |
3921 | Return ret |
Name | Describe |
---|---|
create_actions |
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 |