Function report |
Source Code:lib\test_bpf.c |
Create Date:2022-07-28 06:28:01 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:test_bpf
Proto:static __init int test_bpf(void)
Type:int
Parameter:Nothing
| 6993 | cond_resched() |
| 6994 | If exclude_test(i) Then Continue |
| 6999 | fp = generate_filter(i, & err) |
| 7000 | If (fp == NULL) Then |
| 7009 | 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.("jited:%u ", Is our filter JIT'ed? ) |
| 7011 | run_cnt++ |
| 7012 | If Is our filter JIT'ed? Then jit_cnt++ |
| 7016 | release_filter(fp, i) |
| 7018 | If err Then |
| 7019 | 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.("FAIL (%d times)\n", err) |
| 7020 | err_cnt++ |
| 7021 | Else |
| 7027 | pr_info("Summary: %d PASSED, %d FAILED, [%d/%d JIT'ed]\n", pass_cnt, err_cnt, jit_cnt, run_cnt) |
| 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 |