Function report |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-28 12:29:28 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:save_hist_vars
Proto:static int save_hist_vars(struct hist_trigger_data *hist_data)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct hist_trigger_data * | hist_data |
| 1708 | var_data = find_hist_vars(hist_data) |
| 1709 | If var_data Then Return 0 |
| 1712 | If tracing_check_open_get_tr(tr) Then Return -ENODEV |
| 1715 | var_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). |
| 1716 | If Not var_data Then |
| 1718 | Return -ENOMEM |
| 1724 | Return 0 |
| 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 |