Function report |
Source Code:kernel\test_kprobes.c |
Create Date:2022-07-28 11:21:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:init_test_probes
Proto:int init_test_probes(void)
Type:int
Parameter:Nothing
275 | target = kprobe_target |
276 | target2 = kprobe_target2 |
278 | Do |
279 | rand1 = prandom_u32() |
280 | When rand1 <= div_factor cycle |
282 | pr_info("started\n") |
283 | num_tests++ |
284 | ret = test_kprobe() |
288 | num_tests++ |
289 | ret = test_kprobes() |
307 | Else if handler_errors Then pr_err("BUG: %d error(s) running handlers\n", handler_errors) |
309 | Else pr_info("passed successfully\n") |
312 | Return 0 |
Name | Describe |
---|---|
init_kprobes |
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 |