Function report | 
Source Code:kernel\bpf\syscall.c | 
Create Date:2022-07-28 12:53:42 | 
| Last Modify:2022-05-19 18:06:12 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:bpf_tracing_prog_attach
Proto:static int bpf_tracing_prog_attach(struct bpf_prog *prog)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct bpf_prog * | prog | 
| 1894 | If For some prog types != BPF_TRACE_FENTRY && For some prog types != BPF_TRACE_FEXIT Then | 
| 1897 | Go to out_put_prog | 
| 1900 | err = bpf_trampoline_link_prog(prog) | 
| 1901 | If err Then Go to out_put_prog | 
| 1904 | tr_fd = anon_inode_getfd("bpf-tracing-prog", & bpf_tracing_prog_fops, prog, O_CLOEXEC) | 
| 1906 | If tr_fd < 0 Then | 
| 1909 | Go to out_put_prog | 
| 1911 | Return tr_fd | 
| 1913 | out_put_prog : | 
| 1914 | bpf_prog_put(prog) | 
| 1915 | Return err | 
| Name | Describe | 
|---|---|
| bpf_raw_tracepoint_open | 
| 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  |