Function report |
Source Code:kernel\kprobes.c |
Create Date:2022-07-28 11:36:15 |
| Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Module notifier call back, checking kprobes on the module
Proto:static int kprobes_module_callback(struct notifier_block *nb, unsigned long val, void *data)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct notifier_block * | nb | |
| unsigned long | val | |
| void * | data |
| 2226 | checkcore = val == Going away. |
| 2228 | If val != Going away. && val != Normal state. Then Return Don't care |
| 2238 | When i < KPROBE_TABLE_SIZE cycle |
| 2239 | head = kprobe_table[i] |
| 2241 | If within_module_init((unsignedlong) location of the probe point , mod) || checkcore && within_module_core((unsignedlong) location of the probe point , mod) Then |
| 2259 | Return Don't care |
| 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 |