Function report |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-28 12:28:18 |
| 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_alloc
Proto:static struct track_data *track_data_alloc(unsigned int key_len, struct action_data *action_data, struct hist_trigger_data *hist_data)
Type:struct track_data
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | key_len | |
| struct action_data * | action_data | |
| struct hist_trigger_data * | hist_data |
| 564 | 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). |
| 570 | key = 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). |
| 571 | If Not key Then |
| 572 | track_data_free(data) |
| 577 | action_data = action_data |
| 580 | elt_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). |
| 581 | If Not elt_data Then |
| 582 | track_data_free(data) |
| 585 | private_data = elt_data |
| 587 | comm = 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). |
| 588 | If Not comm Then |
| 589 | track_data_free(data) |
| 593 | Return data |
| Name | Describe |
|---|---|
| action_create |
| 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 |