| /tools/perf/util/ |
| D | map.h | 21 struct map { struct 40 u64 (*map_ip)(struct map *, u64); argument 42 u64 (*unmap_ip)(struct map *, u64); argument 45 struct map_groups *groups; argument 51 struct kmap *__map__kmap(struct map *map); argument 55 static inline u64 map__map_ip(struct map *map, u64 ip) in map__map_ip() 60 static inline u64 map__unmap_ip(struct map *map, u64 ip) in map__unmap_ip() 70 static inline size_t map__size(const struct map *map) in map__size() 91 #define map__for_each_symbol(map, pos, n) \ argument 101 #define __map__for_each_symbol_by_name(map, sym_name, pos) \ argument [all …]
|
| D | map.c | 133 void map__init(struct map *map, u64 start, u64 end, u64 pgoff, struct dso *dso) in map__init() 153 struct map *map = malloc(sizeof(*map)); in map__new() local 235 struct map *map = calloc(1, (sizeof(*map) + in map__new2() local 256 bool __map__is_kernel(const struct map *map) in __map__is_kernel() 261 bool __map__is_extra_kernel_map(const struct map *map) in __map__is_extra_kernel_map() 268 bool __map__is_bpf_prog(const struct map *map) in __map__is_bpf_prog() 284 bool map__has_symbols(const struct map *map) in map__has_symbols() 289 static void map__exit(struct map *map) in map__exit() 295 void map__delete(struct map *map) in map__delete() 301 void map__put(struct map *map) in map__put() [all …]
|
| D | mmap.c | 26 size_t perf_mmap__mmap_len(struct mmap *map) in perf_mmap__mmap_len() 32 static union perf_event *perf_mmap__read(struct mmap *map, in perf_mmap__read() 86 union perf_event *perf_mmap__read_event(struct mmap *map) in perf_mmap__read_event() 108 static bool perf_mmap__empty(struct mmap *map) in perf_mmap__empty() 113 void perf_mmap__get(struct mmap *map) in perf_mmap__get() 118 void perf_mmap__put(struct mmap *map) in perf_mmap__put() 126 void perf_mmap__consume(struct mmap *map) in perf_mmap__consume() 165 static int perf_mmap__aio_enabled(struct mmap *map) in perf_mmap__aio_enabled() 171 static int perf_mmap__aio_alloc(struct mmap *map, int idx) in perf_mmap__aio_alloc() 183 static void perf_mmap__aio_free(struct mmap *map, int idx) in perf_mmap__aio_free() [all …]
|
| D | cpumap.c | 23 struct perf_cpu_map *map; in cpu_map__from_entries() local 47 struct perf_cpu_map *map; in cpu_map__from_mask() local 71 size_t cpu_map__fprintf(struct perf_cpu_map *map, FILE *fp) in cpu_map__fprintf() 114 int cpu_map__get_socket(struct perf_cpu_map *map, int idx, void *data __maybe_unused) in cpu_map__get_socket() 132 int (*f)(struct perf_cpu_map *map, int cpu, void *data), in cpu_map__build_map() 170 int cpu_map__get_die(struct perf_cpu_map *map, int idx, void *data) in cpu_map__get_die() 209 int cpu_map__get_core(struct perf_cpu_map *map, int idx, void *data) in cpu_map__get_core() 470 size_t cpu_map__snprint(struct perf_cpu_map *map, char *buf, size_t size) in cpu_map__snprint() 522 size_t cpu_map__snprint_mask(struct perf_cpu_map *map, char *buf, size_t size) in cpu_map__snprint_mask()
|
| D | mem2node.c | 46 int mem2node__init(struct mem2node *map, struct perf_env *env) in mem2node__init() 112 void mem2node__exit(struct mem2node *map) in mem2node__exit() 117 int mem2node__node(struct mem2node *map, u64 addr) in mem2node__node()
|
| D | map_symbol.h | 11 struct map *map; member 16 struct map *map; member
|
| D | srccode.c | 29 char *map; member 47 static int countlines(char *map, int maplen) in countlines() 65 static void fill_lines(char **lines, int maxline, char *map, int maplen) in fill_lines()
|
| D | machine.c | 722 struct map *map; in machine__process_ksymbol_register() local 748 struct map *map; in machine__process_ksymbol_unregister() local 773 struct map *map = NULL; in machine__findnew_module_map() local 965 struct map *map; in machine__create_extra_kernel_map() local 1028 struct map *map; in machine__map_x86_64_entry_trampolines() local 1088 struct map *map; in __machine__create_kernel_maps() local 1112 struct map *map = machine__kernel_map(machine); in machine__destroy_kernel_maps() local 1203 struct map *map = machine__kernel_map(machine); in machine__load_kallsyms() local 1221 struct map *map = machine__kernel_map(machine); in machine__load_vmlinux_path() local 1268 struct map *map = map_groups__find_by_name(mg, m->name); in map_groups__set_module_path() local [all …]
|
| /tools/lib/bpf/ |
| D | hashmap.c | 32 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, in hashmap__init() 49 struct hashmap *map = malloc(sizeof(struct hashmap)); in hashmap__new() local 57 void hashmap__clear(struct hashmap *map) in hashmap__clear() 63 void hashmap__free(struct hashmap *map) in hashmap__free() 72 size_t hashmap__size(const struct hashmap *map) in hashmap__size() 77 size_t hashmap__capacity(const struct hashmap *map) in hashmap__capacity() 82 static bool hashmap_needs_to_grow(struct hashmap *map) in hashmap_needs_to_grow() 88 static int hashmap_grow(struct hashmap *map) in hashmap_grow() 118 static bool hashmap_find_entry(const struct hashmap *map, in hashmap_find_entry() 142 int hashmap__insert(struct hashmap *map, const void *key, void *value, in hashmap__insert() [all …]
|
| D | hashmap.h | 99 static inline int hashmap__add(struct hashmap *map, in hashmap__add() 105 static inline int hashmap__set(struct hashmap *map, in hashmap__set() 113 static inline int hashmap__update(struct hashmap *map, in hashmap__update() 121 static inline int hashmap__append(struct hashmap *map, in hashmap__append() 138 #define hashmap__for_each_entry(map, cur, bkt) \ argument 150 #define hashmap__for_each_entry_safe(map, cur, tmp, bkt) \ argument 162 #define hashmap__for_each_key_entry(map, cur, _key) \ argument 170 #define hashmap__for_each_key_entry_safe(map, cur, tmp, _key) \ argument
|
| /tools/perf/lib/ |
| D | threadmap.c | 10 static void perf_thread_map__reset(struct perf_thread_map *map, int start, int nr) in perf_thread_map__reset() 18 struct perf_thread_map *perf_thread_map__realloc(struct perf_thread_map *map, int nr) in perf_thread_map__realloc() 35 void perf_thread_map__set_pid(struct perf_thread_map *map, int thread, pid_t pid) in perf_thread_map__set_pid() 40 char *perf_thread_map__comm(struct perf_thread_map *map, int thread) in perf_thread_map__comm() 70 struct perf_thread_map *perf_thread_map__get(struct perf_thread_map *map) in perf_thread_map__get() 77 void perf_thread_map__put(struct perf_thread_map *map) in perf_thread_map__put() 88 pid_t perf_thread_map__pid(struct perf_thread_map *map, int thread) in perf_thread_map__pid()
|
| D | cpumap.c | 26 static void cpu_map__delete(struct perf_cpu_map *map) in cpu_map__delete() 35 struct perf_cpu_map *perf_cpu_map__get(struct perf_cpu_map *map) in perf_cpu_map__get() 42 void perf_cpu_map__put(struct perf_cpu_map *map) in perf_cpu_map__put() 247 bool perf_cpu_map__empty(const struct perf_cpu_map *map) in perf_cpu_map__empty() 264 int perf_cpu_map__max(struct perf_cpu_map *map) in perf_cpu_map__max()
|
| /tools/perf/pmu-events/ |
| D | json.c | 48 char *map = NULL; in mapfile() local 73 static void unmapfile(char *map, size_t size) in unmapfile() 83 jsmntok_t *parse_json(const char *fn, char **map, size_t *size, int *len) in parse_json() 115 void free_json(char *map, size_t size, jsmntok_t *tokens) in free_json() 121 static int countchar(char *map, char c, int end) in countchar() 132 int json_line(char *map, jsmntok_t *t) in json_line() 158 int json_streq(char *map, jsmntok_t *t, const char *s) in json_streq()
|
| /tools/testing/selftests/vm/ |
| D | mlock2-tests.c | 226 static int lock_check(char *map) in lock_check() 264 static int unlock_lock_check(char *map) in unlock_lock_check() 294 char *map; in test_mlock_lock() local 331 static int onfault_check(char *map) in onfault_check() 379 static int unlock_onfault_check(char *map) in unlock_onfault_check() 403 char *map; in test_mlock_onfault() local 445 char *map; in test_lock_onfault_of_present() local 493 char *map; in test_munlockall() local 572 void *map; in test_vma_management() local
|
| /tools/perf/tests/ |
| D | mem2node.c | 15 const char *map; member 26 struct perf_cpu_map *map = perf_cpu_map__new(str); in get_bitmap() local 48 struct mem2node map; in test__mem2node() local
|
| D | cpumap.c | 22 struct perf_cpu_map *map; in process_event_mask() local 56 struct perf_cpu_map *map; in process_event_cpus() local 102 struct perf_cpu_map *map = perf_cpu_map__new(str); in cpu_map_print() local
|
| D | topology.c | 62 static int check_cpu_topology(char *path, struct perf_cpu_map *map) in check_cpu_topology() 121 struct perf_cpu_map *map; in test__session_topology() local
|
| D | thread-map.c | 24 struct perf_thread_map *map; in test__thread_map() local 67 struct perf_record_thread_map *map = &event->thread_map; in process_event() local
|
| D | mmap-thread-lookup.c | 28 void *map; member 36 void *map; in thread_init() local 143 struct perf_thread_map *map; in synth_process() local
|
| D | map_groups.c | 18 struct map *map; in check_maps() local 71 struct map *map; in test__map_groups__merge_in() local
|
| /tools/perf/ |
| D | builtin-stat.c | 810 struct perf_cpu_map *map, int cpu) in perf_stat__get_socket() 816 struct perf_cpu_map *map, int cpu) in perf_stat__get_die() 822 struct perf_cpu_map *map, int cpu) in perf_stat__get_core() 828 aggr_get_id_t get_id, struct perf_cpu_map *map, int idx) in perf_stat__get_aggr() 844 struct perf_cpu_map *map, int idx) in perf_stat__get_socket_cached() 850 struct perf_cpu_map *map, int idx) in perf_stat__get_die_cached() 856 struct perf_cpu_map *map, int idx) in perf_stat__get_core_cached() 934 static inline int perf_env__get_cpu(struct perf_env *env, struct perf_cpu_map *map, int idx) in perf_env__get_cpu() 949 static int perf_env__get_socket(struct perf_cpu_map *map, int idx, void *data) in perf_env__get_socket() 957 static int perf_env__get_die(struct perf_cpu_map *map, int idx, void *data) in perf_env__get_die() [all …]
|
| /tools/build/ |
| D | fixdep.c | 47 static void parse_dep_file(void *map, size_t len) in parse_dep_file() 125 void *map; in print_deps() local
|
| /tools/perf/arch/powerpc/util/ |
| D | sym-handling.c | 89 struct probe_trace_event *tev, struct map *map, in arch__fix_tev_from_maps() 132 struct map *map; in arch__post_process_probe_trace_events() local
|
| /tools/perf/ui/gtk/ |
| D | annotate.c | 58 struct map *map, struct disasm_line *dl) in perf_gtk__get_offset() 95 struct map *map, struct evsel *evsel, in perf_gtk__annotate_symbol() 163 static int symbol__gtk_annotate(struct symbol *sym, struct map *map, in symbol__gtk_annotate()
|
| /tools/testing/selftests/bpf/ |
| D | test_hashmap.c | 57 struct hashmap *map; in test_hashmap_generic() local 261 struct hashmap *map; in test_hashmap_multimap() local 336 struct hashmap *map; in test_hashmap_empty() local
|