/tools/testing/selftests/bpf/ |
D | test_lru_map.c | 29 static int create_map(int map_type, int map_flags, unsigned int size) in create_map() argument 33 map_fd = bpf_create_map(map_type, sizeof(unsigned long long), in create_map() 97 static void test_lru_sanity0(int map_type, int map_flags) in test_lru_sanity0() argument 103 printf("%s (map_type:%d map_flags:0x%X): ", __func__, map_type, in test_lru_sanity0() 109 lru_map_fd = create_map(map_type, map_flags, 2 * nr_cpus); in test_lru_sanity0() 111 lru_map_fd = create_map(map_type, map_flags, 2); in test_lru_sanity0() 185 static void test_lru_sanity1(int map_type, int map_flags, unsigned int tgt_free) in test_lru_sanity1() argument 197 printf("%s (map_type:%d map_flags:0x%X): ", __func__, map_type, in test_lru_sanity1() 206 lru_map_fd = create_map(map_type, map_flags, map_size); in test_lru_sanity1() 261 static void test_lru_sanity2(int map_type, int map_flags, unsigned int tgt_free) in test_lru_sanity2() argument [all …]
|
/tools/perf/util/ |
D | map.h | 14 enum map_type { enum 142 void map__init(struct map *map, enum map_type type, 147 char *filename, enum map_type type, struct thread *thread); 148 struct map *map__new2(u64 start, struct dso *dso, enum map_type type); 183 size_t __map_groups__fprintf_maps(struct map_groups *mg, enum map_type type, 195 struct map_groups *parent, enum map_type type); 213 enum map_type type, u64 addr) in map_groups__find() 219 enum map_type type) in map_groups__first() 230 enum map_type type, u64 addr, 234 enum map_type type, [all …]
|
D | symbol.h | 259 void dso__insert_symbol(struct dso *dso, enum map_type type, 262 struct symbol *dso__find_symbol(struct dso *dso, enum map_type type, 264 struct symbol *dso__find_symbol_by_name(struct dso *dso, enum map_type type, 268 struct symbol *dso__first_symbol(struct dso *dso, enum map_type type); 269 struct symbol *dso__last_symbol(struct dso *dso, enum map_type type); 300 bool symbol_type__is_a(char symbol_type, enum map_type map_type); 317 void __map_groups__fixup_end(struct map_groups *mg, enum map_type type);
|
D | dso.h | 208 static inline void dso__set_loaded(struct dso *dso, enum map_type type) in dso__set_loaded() 232 bool dso__loaded(const struct dso *dso, enum map_type type); 234 bool dso__sorted_by_name(const struct dso *dso, enum map_type type); 235 void dso__set_sorted_by_name(struct dso *dso, enum map_type type); 236 void dso__sort_by_name(struct dso *dso, enum map_type type); 351 enum map_type type, FILE *fp); 352 size_t dso__fprintf(struct dso *dso, enum map_type type, FILE *fp);
|
D | thread.h | 94 u8 cpumode, enum map_type type, u64 addr, 98 u8 cpumode, enum map_type type, u64 addr, 102 enum map_type type, u64 addr,
|
D | machine.h | 53 struct map *__machine__kernel_map(struct machine *machine, enum map_type type) in __machine__kernel_map() 184 enum map_type type, u64 addr, in machine__find_kernel_symbol() 192 enum map_type type, const char *name, in machine__find_kernel_symbol_by_name() 219 enum map_type type, bool no_kcore); 221 enum map_type type); 222 int machine__load_vmlinux_path(struct machine *machine, enum map_type type);
|
D | map.c | 133 void map__init(struct map *map, enum map_type type, in map__init() 153 enum map_type type, struct thread *thread) in map__new() 235 struct map *map__new2(u64 start, struct dso *dso, enum map_type type) in map__new2() 570 enum map_type type, u64 addr, in map_groups__find_symbol() 612 enum map_type type, in map_groups__find_symbol_by_name() 660 size_t __map_groups__fprintf_maps(struct map_groups *mg, enum map_type type, in __map_groups__fprintf_maps() 771 struct map_groups *parent, enum map_type type) in map_groups__clone()
|
D | symbol_fprintf.c | 61 enum map_type type, FILE *fp) in dso__fprintf_symbols_by_name()
|
D | symbol.c | 72 bool symbol_type__is_a(char symbol_type, enum map_type map_type) in symbol_type__is_a() argument 76 switch (map_type) { in symbol_type__is_a() 235 void __map_groups__fixup_end(struct map_groups *mg, enum map_type type) in __map_groups__fixup_end() 491 enum map_type type; in dso__reset_find_symbol_cache() 499 void dso__insert_symbol(struct dso *dso, enum map_type type, struct symbol *sym) in dso__insert_symbol() 512 enum map_type type, u64 addr) in dso__find_symbol() 522 struct symbol *dso__first_symbol(struct dso *dso, enum map_type type) in dso__first_symbol() 527 struct symbol *dso__last_symbol(struct dso *dso, enum map_type type) in dso__last_symbol() 548 struct symbol *dso__find_symbol_by_name(struct dso *dso, enum map_type type, in dso__find_symbol_by_name() 559 void dso__sort_by_name(struct dso *dso, enum map_type type) in dso__sort_by_name() [all …]
|
D | dso.c | 1179 bool dso__loaded(const struct dso *dso, enum map_type type) in dso__loaded() 1184 bool dso__sorted_by_name(const struct dso *dso, enum map_type type) in dso__sorted_by_name() 1189 void dso__set_sorted_by_name(struct dso *dso, enum map_type type) in dso__set_sorted_by_name() 1464 size_t dso__fprintf(struct dso *dso, enum map_type type, FILE *fp) in dso__fprintf()
|
D | thread.c | 342 enum map_type type, u64 addr, in thread__find_cpumode_addr_location()
|
D | machine.c | 1059 enum map_type type, bool no_kcore) in __machine__load_kallsyms() 1078 enum map_type type) in machine__load_kallsyms() 1083 int machine__load_vmlinux_path(struct machine *machine, enum map_type type) in machine__load_vmlinux_path() 1473 enum map_type type; in machine__process_mmap2_event() 1531 enum map_type type; in machine__process_mmap_event()
|
D | event.c | 1380 enum map_type type, u64 addr, in thread__find_addr_map() 1456 u8 cpumode, enum map_type type, u64 addr, in thread__find_addr_location()
|
D | symbol-elf.c | 124 static bool elf_sym__is_a(GElf_Sym *sym, enum map_type type) in elf_sym__is_a() 161 enum map_type type) in elf_sec__is_a()
|
/tools/lib/bpf/ |
D | bpf.h | 28 int bpf_create_map_node(enum bpf_map_type map_type, int key_size, 31 int bpf_create_map(enum bpf_map_type map_type, int key_size, int value_size, 33 int bpf_create_map_in_map_node(enum bpf_map_type map_type, int key_size, 36 int bpf_create_map_in_map(enum bpf_map_type map_type, int key_size,
|
D | bpf.c | 62 int bpf_create_map_node(enum bpf_map_type map_type, int key_size, in bpf_create_map_node() argument 70 attr.map_type = map_type; in bpf_create_map_node() 83 int bpf_create_map(enum bpf_map_type map_type, int key_size, in bpf_create_map() argument 86 return bpf_create_map_node(map_type, key_size, value_size, in bpf_create_map() 90 int bpf_create_map_in_map_node(enum bpf_map_type map_type, int key_size, in bpf_create_map_in_map_node() argument 98 attr.map_type = map_type; in bpf_create_map_in_map_node() 112 int bpf_create_map_in_map(enum bpf_map_type map_type, int key_size, in bpf_create_map_in_map() argument 115 return bpf_create_map_in_map_node(map_type, key_size, inner_map_fd, in bpf_create_map_in_map()
|
/tools/perf/tests/ |
D | vmlinux-kallsyms.c | 22 enum map_type type = MAP__FUNCTION; in test__vmlinux_matches_kallsyms()
|
/tools/include/uapi/linux/ |
D | bpf.h | 181 __u32 map_type; /* one of enum bpf_map_type */ member
|
/tools/perf/ |
D | builtin-trace.c | 1935 char map_type = 'd'; in trace__pgfault() local 1984 map_type = 'x'; in trace__pgfault() 1986 map_type = '?'; in trace__pgfault() 1991 fprintf(trace->output, " (%c%c)\n", map_type, al.level); in trace__pgfault()
|