/linux-master/tools/perf/util/bpf_skel/ |
H A D | lock_contention.bpf.c | 24 __uint(type, BPF_MAP_TYPE_STACK_TRACE); 25 __uint(key_size, sizeof(__u32)); 26 __uint(value_size, sizeof(__u64)); 27 __uint(max_entries, MAX_ENTRIES); 32 __uint(type, BPF_MAP_TYPE_HASH); 35 __uint(max_entries, MAX_ENTRIES); 40 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 41 __uint(key_size, sizeof(__u32)); 42 __uint(value_size, sizeof(struct tstamp_data)); 43 __uint(max_entrie [all...] |
H A D | augmented_raw_syscalls.bpf.c | 27 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY); 30 __uint(max_entries, MAX_CPUS); 39 __uint(type, BPF_MAP_TYPE_PROG_ARRAY); 42 __uint(max_entries, 512); 51 __uint(type, BPF_MAP_TYPE_PROG_ARRAY); 54 __uint(max_entries, 512); 76 __uint(type, BPF_MAP_TYPE_HASH); 79 __uint(max_entries, 64); 121 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 124 __uint(max_entrie [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | verifier_arena.c | 12 __uint(type, BPF_MAP_TYPE_ARENA); 13 __uint(map_flags, BPF_F_MMAPABLE); 14 __uint(max_entries, 2); /* arena of two pages close to 32-bit boundary*/
|
H A D | verifier_arena_large.c | 14 __uint(type, BPF_MAP_TYPE_ARENA); 15 __uint(map_flags, BPF_F_MMAPABLE); 16 __uint(max_entries, ARENA_SIZE / PAGE_SIZE);
|
H A D | arena_list.c | 10 __uint(type, BPF_MAP_TYPE_ARENA); 11 __uint(map_flags, BPF_F_MMAPABLE); 12 __uint(max_entries, 100); /* number of pages */
|
H A D | arena_htab.c | 10 __uint(type, BPF_MAP_TYPE_ARENA); 11 __uint(map_flags, BPF_F_MMAPABLE); 12 __uint(max_entries, 100); /* number of pages */
|
H A D | xdping_kern.c | 22 __uint(type, BPF_MAP_TYPE_HASH); 23 __uint(max_entries, 256);
|
H A D | xdp_synproxy_kern.c | 71 __uint(type, BPF_MAP_TYPE_ARRAY); 74 __uint(max_entries, 2); 78 __uint(type, BPF_MAP_TYPE_ARRAY); 81 __uint(max_entries, MAX_ALLOWED_PORTS);
|
H A D | verifier_spill_fill.c | 10 __uint(type, BPF_MAP_TYPE_RINGBUF); 11 __uint(max_entries, 4096);
|
H A D | verifier_spin_lock.c | 14 __uint(type, BPF_MAP_TYPE_ARRAY); 15 __uint(max_entries, 1);
|
H A D | verifier_iterating_callbacks.c | 6 __uint(type, BPF_MAP_TYPE_ARRAY); 7 __uint(max_entries, 8); 13 __uint(type, BPF_MAP_TYPE_USER_RINGBUF); 14 __uint(max_entries, 8);
|
H A D | test_xdp_noinline.c | 169 __uint(type, BPF_MAP_TYPE_HASH); 170 __uint(max_entries, 512); 176 __uint(type, BPF_MAP_TYPE_LRU_HASH); 177 __uint(max_entries, 300); 178 __uint(map_flags, 1U << 1); 184 __uint(type, BPF_MAP_TYPE_ARRAY); 185 __uint(max_entries, 12 * 655); 191 __uint(type, BPF_MAP_TYPE_ARRAY); 192 __uint(max_entries, 40); 198 __uint(typ [all...] |
H A D | type_cast.c | 10 __uint(type, BPF_MAP_TYPE_TASK_STORAGE); 11 __uint(map_flags, BPF_F_NO_PREALLOC);
|
H A D | test_xdp_dynptr.c | 28 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 29 __uint(max_entries, 256); 35 __uint(type, BPF_MAP_TYPE_HASH); 36 __uint(max_entries, MAX_IPTNL_ENTRIES);
|
H A D | test_xdp_loop.c | 21 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 22 __uint(max_entries, 256); 28 __uint(type, BPF_MAP_TYPE_HASH); 29 __uint(max_entries, MAX_IPTNL_ENTRIES);
|
H A D | test_xdp.c | 25 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 26 __uint(max_entries, 256); 32 __uint(type, BPF_MAP_TYPE_HASH); 33 __uint(max_entries, MAX_IPTNL_ENTRIES);
|
H A D | test_spin_lock.c | 15 __uint(type, BPF_MAP_TYPE_HASH); 16 __uint(max_entries, 1); 27 __uint(type, BPF_MAP_TYPE_CGROUP_STORAGE); 41 __uint(type, BPF_MAP_TYPE_ARRAY); 42 __uint(max_entries, 1);
|
H A D | test_spin_lock_fail.c | 13 __uint(type, BPF_MAP_TYPE_ARRAY); 16 __uint(max_entries, 1); 20 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS); 21 __uint(max_entries, 1);
|
H A D | test_map_in_map.c | 9 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS); 10 __uint(max_entries, 1); 11 __uint(map_flags, 0); 17 __uint(type, BPF_MAP_TYPE_HASH_OF_MAPS); 18 __uint(max_entries, 1); 19 __uint(map_flags, 0); 29 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY); 35 __uint(type, BPF_MAP_TYPE_ARRAY_OF_MAPS); 36 __uint(max_entries, 1); 43 __uint(typ [all...] |
H A D | test_cls_redirect.c | 369 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 370 __uint(max_entries, 1);
|
H A D | test_cls_redirect_dynptr.c | 261 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); 262 __uint(max_entries, 1);
|
H A D | task_ls_recursion.c | 17 __uint(type, BPF_MAP_TYPE_TASK_STORAGE); 18 __uint(map_flags, BPF_F_NO_PREALLOC); 24 __uint(type, BPF_MAP_TYPE_TASK_STORAGE); 25 __uint(map_flags, BPF_F_NO_PREALLOC);
|
H A D | strobemeta.h | 212 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY); 213 __uint(max_entries, 32); 214 __uint(key_size, sizeof(int)); 215 __uint(value_size, sizeof(int)); 219 __uint(type, BPF_MAP_TYPE_STACK_TRACE); 220 __uint(max_entries, 16); 221 __uint(key_size, sizeof(uint32_t)); 222 __uint(value_size, sizeof(uint64_t) * PERF_MAX_STACK_DEPTH); 226 __uint(type, BPF_MAP_TYPE_STACK_TRACE); 227 __uint(max_entrie [all...] |
H A D | pyperf.h | 123 __uint(type, BPF_MAP_TYPE_HASH); 124 __uint(max_entries, 1); 130 __uint(type, BPF_MAP_TYPE_HASH); 131 __uint(max_entries, 1); 137 __uint(type, BPF_MAP_TYPE_HASH); 138 __uint(max_entries, 1); 144 __uint(type, BPF_MAP_TYPE_ARRAY); 145 __uint(max_entries, 1); 151 __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY); 152 __uint(max_entrie [all...] |
H A D | rcu_read_lock.c | 13 __uint(type, BPF_MAP_TYPE_TASK_STORAGE); 14 __uint(map_flags, BPF_F_NO_PREALLOC);
|