| Function report | 
| Source Code: kernel\bpf\arraymap.c | Create Date:2022-07-28 13:11:21 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:percpu_array_map_seq_show_elem
Proto:static void percpu_array_map_seq_show_elem(struct bpf_map *map, void *key, struct seq_file *m)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct bpf_map * | map | |
| void * | key | |
| struct seq_file * | m | 
| 436 | seq_printf(m, "%u: {\n", * (u32 * )key) | 
| 437 | pptr = pptrs[index & index_mask] | 
| 438 | for_each_possible_cpu(cpu) | 
| 439 | seq_printf(m, "\tcpu%d: ", cpu) | 
| 440 | btf_type_seq_show(btf, btf_value_type_id, per_cpu_ptr(pptr, cpu), m) | 
| 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 |