Function report |
Source Code:lib\test_bpf.c |
Create Date:2022-07-28 06:27:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:run_one
Proto:static int run_one(const struct bpf_prog *fp, struct bpf_test *test)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const struct bpf_prog * | fp | |
struct bpf_test * | test |
6680 | err_cnt = 0 , runs = MAX_TESTRUNS |
6682 | When i < General test specific settings cycle |
6691 | data = generate_test_data(test, i) |
6692 | If Not data && Not (aux & Flags that can be passed to test cases ) Then |
6693 | Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.("data generation failed ") |
6694 | err_cnt++ |
6695 | Break |
6698 | release_test_data(test, data) |
6702 | Else |
6709 | Return err_cnt |
Name | Describe |
---|---|
test_bpf |
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 |