Function report | 
Source Code:lib\test_bpf.c | 
Create Date:2022-07-28 06:27:57 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:prepare_bpf_tests
Proto:static __init int prepare_bpf_tests(void)
Type:int
Parameter:Nothing
| 6736 | If test_id >= 0 Then | 
| 6748 | Else if test_name Then | 
| 6753 | idx = find_test_index(test_name) | 
| 6755 | If idx < 0 Then | 
| 6760 | test_range[0] = idx | 
| 6761 | test_range[1] = idx | 
| 6762 | Else | 
| 6766 | If test_range[0] >= ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(tests) || test_range[1] >= ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(tests) || test_range[0] < 0 || test_range[1] < 0 Then | 
| 6773 | If test_range[1] < test_range[0] Then | 
| 6780 | If fill_helper && fill_helper( & tests[i]) < 0 Then Return -ENOMEM | 
| 6785 | Return 0 | 
| Name | Describe | 
|---|---|
| test_bpf_init | 
| 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  |