Function report |
Source Code:kernel\trace\bpf_trace.c |
Create Date:2022-07-28 12:36:10 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_event_output
Proto:u64 bpf_event_output(struct bpf_map *map, u64 flags, void *meta, u64 meta_size, void *ctx, u64 ctx_size, bpf_ctx_copy_t ctx_copy)
Type:u64
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bpf_map * | map | |
| u64 | flags | |
| void * | meta | |
| u64 | meta_size | |
| void * | ctx | |
| u64 | ctx_size | |
| bpf_ctx_copy_t | ctx_copy |
| 638 | struct perf_raw_record raw = {frag = {{next = ctx_size ? & frag : NULL, }, size = meta_size, data = meta, }, } |
| 655 | sd = this_cpu_ptr( & sds[nest_level - 1]) |
| 656 | regs = this_cpu_ptr( & regs[nest_level - 1]) |
| 659 | perf_sample_data_init(sd, 0, 0) |
| 663 | out : |
| 665 | Return ret |
| 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 |