Function report |
Source Code:kernel\trace\trace_events.c |
Create Date:2022-07-28 12:20:13 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:create_new_subsystem
Proto:static struct event_subsystem *create_new_subsystem(const char *name)
Type:struct event_subsystem
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | name |
| 1873 | system = Allocation memory |
| 1874 | If Not system Then Return NULL |
| 1877 | ref_count = 1 |
| 1880 | name = kstrdup_const(name, GFP_KERNEL) |
| 1884 | filter = NULL |
| 1886 | filter = 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). |
| 1892 | Return system |
| 1894 | out_free : |
| 1895 | kfree_const(name) |
| 1897 | Return NULL |
| Name | Describe |
|---|---|
| event_subsystem_dir |
| 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 |