Function report | 
Source Code:lib\test_bpf.c | 
Create Date:2022-07-28 06:27:52 | 
| 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, const void *data, int runs, u64 *duration)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct bpf_prog * | fp | |
| const void * | data | |
| int | runs | |
| u64 * | duration | 
| 6661 | ret = 0 | 
| 6664 | start = ktime_get_ns() | 
| 6669 | finish = ktime_get_ns() | 
| 6670 | preempt_enable() | 
| 6673 | do_div() is NOT a C function( * duration, runs) | 
| 6675 | Return ret | 
| Name | Describe | 
|---|---|
| run_one | 
| 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  |