Function report |
Source Code:kernel\trace\bpf_trace.c |
Create Date:2022-07-28 12:38:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_event_notify
Proto:static int bpf_event_notify(struct notifier_block *nb, unsigned long op, void *module)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct notifier_block * | nb | |
unsigned long | op | |
void * | module |
1604 | If num_bpf_raw_events == 0 || op != Full formed, running module_init. && op != Going away. Then Return 0 |
1608 | mutex_lock( & bpf_module_mutex) |
1611 | Case op == Full formed, running module_init. |
1612 | btm = 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). |
1613 | If btm Then |
1617 | Break |
1618 | Case op == Going away. |
1626 | Break |
1631 | Return 0 |
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 |