Function report |
Source Code:kernel\test_kprobes.c |
Create Date:2022-07-28 11:21:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:test_kprobe
Proto:static int test_kprobe(void)
Type:int
Parameter:Nothing
| 60 | ret = register_kprobe( & kp) |
| 61 | If ret < 0 Then |
| 67 | unregister_kprobe( & kp) |
| 69 | If preh_val == 0 Then |
| 70 | pr_err("kprobe pre_handler not called\n") |
| 71 | handler_errors++ |
| 74 | If posth_val == 0 Then |
| 75 | pr_err("kprobe post_handler not called\n") |
| 76 | handler_errors++ |
| 79 | Return 0 |
| Name | Describe |
|---|---|
| init_test_probes |
| 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 |