Function report |
Source Code:kernel\trace\trace_uprobe.c |
Create Date:2022-07-28 12:44:04 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Allocate new trace_uprobe and initialize it (including uprobes).
Proto:static struct trace_uprobe *alloc_trace_uprobe(const char *group, const char *event, int nargs, bool is_ret)
Type:struct trace_uprobe
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | group | |
| const char * | event | |
| int | nargs | |
| bool | is_ret |
| 343 | tu = 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). |
| 347 | ret = trace_probe_init( & tp, event, group, true) |
| 351 | dyn_event_init( & devent, & trace_uprobe_ops) |
| 352 | handler = uprobe_dispatcher |
| 353 | If is_ret Then ret_handler = uretprobe_dispatcher |
| 356 | Return tu |
| 358 | error : |
| Name | Describe |
|---|---|
| trace_uprobe_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 |