| Function report | 
| Source Code: kernel\bpf\arraymap.c | Create Date:2022-07-28 13:11:58 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:perf_event_fd_array_get_ptr
Proto:static void *perf_event_fd_array_get_ptr(struct bpf_map *map, struct file *map_file, int fd)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct bpf_map * | map | |
| struct file * | map_file | |
| int | fd | 
| 918 | perf_file = perf_event_get(fd) | 
| 922 | ee = ERR_PTR( - EOPNOTSUPP) | 
| 924 | If perf_event_read_local(event, & value, NULL, NULL) == -EOPNOTSUPP Then Go to err_out | 
| 927 | ee = bpf_event_entry_gen(perf_file, map_file) | 
| 931 | err_out : | 
| 933 | Return ee | 
| 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 |