Home
last modified time | relevance | path

Searched defs:map (Results 1 – 25 of 74) sorted by relevance

123

/tools/perf/util/
Dmap.h29 struct map { struct
36 u8 /* enum map_type */ type; argument
48 u64 (*map_ip)(struct map *, u64); argument
50 u64 (*unmap_ip)(struct map *, u64); argument
53 struct map_groups *groups; argument
57 struct kmap { argument
89 static inline u64 map__map_ip(struct map *map, u64 ip) in map__map_ip()
94 static inline u64 map__unmap_ip(struct map *map, u64 ip) in map__unmap_ip()
121 #define map__for_each_symbol(map, pos, n) \ argument
131 #define __map__for_each_symbol_by_name(map, sym_name, pos) \ argument
[all …]
Dmap.c130 void map__init(struct map *map, enum map_type type, in map__init()
152 struct map *map = malloc(sizeof(*map)); in map__new() local
218 struct map *map = calloc(1, (sizeof(*map) + in map__new2() local
239 bool __map__is_kernel(const struct map *map) in __map__is_kernel()
244 static void map__exit(struct map *map) in map__exit()
250 void map__delete(struct map *map) in map__delete()
256 void map__put(struct map *map) in map__put()
262 void map__fixup_start(struct map *map) in map__fixup_start()
272 void map__fixup_end(struct map *map) in map__fixup_end()
284 int map__load(struct map *map) in map__load()
[all …]
Dthread_map.h16 struct thread_map_data map[]; member
43 static inline pid_t thread_map__pid(struct thread_map *map, int thread) in thread_map__pid()
49 thread_map__set_pid(struct thread_map *map, int thread, pid_t pid) in thread_map__set_pid()
54 static inline char *thread_map__comm(struct thread_map *map, int thread) in thread_map__comm()
Dcpumap.h14 int map[]; member
51 static inline int cpu_map__nr(const struct cpu_map *map) in cpu_map__nr()
56 static inline bool cpu_map__empty(const struct cpu_map *map) in cpu_map__empty()
Dcpumap.c189 struct cpu_map *map; in cpu_map__from_entries() local
213 struct cpu_map *map; in cpu_map__from_mask() local
237 size_t cpu_map__fprintf(struct cpu_map *map, FILE *fp) in cpu_map__fprintf()
277 static void cpu_map__delete(struct cpu_map *map) in cpu_map__delete()
286 struct cpu_map *cpu_map__get(struct cpu_map *map) in cpu_map__get()
293 void cpu_map__put(struct cpu_map *map) in cpu_map__put()
315 int cpu_map__get_socket(struct cpu_map *map, int idx, void *data __maybe_unused) in cpu_map__get_socket()
333 int (*f)(struct cpu_map *map, int cpu, void *data), in cpu_map__build_map()
370 int cpu_map__get_core(struct cpu_map *map, int idx, void *data) in cpu_map__get_core()
612 size_t cpu_map__snprint(struct cpu_map *map, char *buf, size_t size) in cpu_map__snprint()
Dsymbol.c572 struct map *map; member
640 struct map *map) in dso__load_all_kallsyms()
646 static int dso__split_kallsyms_for_kcore(struct dso *dso, struct map *map) in dso__split_kallsyms_for_kcore()
698 static int dso__split_kallsyms(struct dso *dso, struct map *map, u64 delta) in dso__split_kallsyms()
984 static int do_validate_kcore_modules(const char *filename, struct map *map, in do_validate_kcore_modules()
1046 struct map *map) in validate_kcore_modules()
1065 struct map *map) in validate_kcore_addresses()
1093 struct map *map; in kcore_mapfn() local
1107 static int dso__load_kcore(struct dso *dso, struct map *map, in dso__load_kcore()
1237 static int kallsyms__delta(struct map *map, const char *filename, u64 *delta) in kallsyms__delta()
[all …]
Dthread_map.c27 static void thread_map__reset(struct thread_map *map, int start, int nr) in thread_map__reset()
34 static struct thread_map *thread_map__realloc(struct thread_map *map, int nr) in thread_map__realloc()
337 struct thread_map *thread_map__get(struct thread_map *map) in thread_map__get()
344 void thread_map__put(struct thread_map *map) in thread_map__put()
385 static void comm_init(struct thread_map *map, int i) in comm_init()
Dbpf-loader.c950 bpf_map__add_op(struct bpf_map *map, struct bpf_map_op *op) in bpf_map__add_op()
979 bpf_map__add_newop(struct bpf_map *map, struct parse_events_term *term) in bpf_map__add_newop()
997 __bpf_map__config_value(struct bpf_map *map, in __bpf_map__config_value()
1039 bpf_map__config_value(struct bpf_map *map, in bpf_map__config_value()
1057 __bpf_map__config_event(struct bpf_map *map, in __bpf_map__config_event()
1099 bpf_map__config_event(struct bpf_map *map, in bpf_map__config_event()
1129 struct bpf_map *map, in config_map_indices_range_check()
1172 struct bpf_map *map; in bpf__obj_config_map() local
1301 bpf_map_config_foreach_key(struct bpf_map *map, in bpf_map_config_foreach_key()
1476 apply_obj_config_map(struct bpf_map *map) in apply_obj_config_map()
[all …]
/tools/perf/pmu-events/
Djson.c48 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/
Dmlock2-tests.c223 static int lock_check(char *map) in lock_check()
261 static int unlock_lock_check(char *map) in unlock_lock_check()
291 char *map; in test_mlock_lock() local
328 static int onfault_check(char *map) in onfault_check()
376 static int unlock_onfault_check(char *map) in unlock_onfault_check()
400 char *map; in test_mlock_onfault() local
442 char *map; in test_lock_onfault_of_present() local
490 char *map; in test_munlockall() local
569 void *map; in test_vma_management() local
Dcompaction_test.c21 void *map; member
162 void *map = NULL; in main() local
Don-fault-limit.c16 void *map; in test_limit() local
/tools/perf/tests/
Dcpumap.c19 struct cpu_map *map; in process_event_mask() local
53 struct cpu_map *map; in process_event_cpus() local
99 struct cpu_map *map = cpu_map__new(str); in cpu_map_print() local
Dthread-map.c13 struct thread_map *map; in test__thread_map() local
56 struct thread_map_event *map = &event->thread_map; in process_event() local
Dtopology.c56 static int check_cpu_topology(char *path, struct cpu_map *map) in check_cpu_topology()
90 struct cpu_map *map; in test_session_topology() local
Dmmap-thread-lookup.c22 void *map; member
30 void *map; in thread_init() local
137 struct thread_map *map; in synth_process() local
Dbitmap.c11 struct cpu_map *map = cpu_map__new(str); in get_bitmap() local
/tools/build/
Dfixdep.c46 static void parse_dep_file(void *map, size_t len) in parse_dep_file()
123 void *map; in print_deps() local
/tools/perf/arch/powerpc/util/
Dsym-handling.c68 struct probe_trace_event *tev, struct map *map, in arch__fix_tev_from_maps()
106 struct map *map; in arch__post_process_probe_trace_events() local
/tools/perf/ui/browsers/
Dmap.c16 struct map *map; member
100 int map__browse(struct map *map) in map__browse()
/tools/perf/ui/gtk/
Dannotate.c52 struct map *map, struct disasm_line *dl) in perf_gtk__get_offset()
89 struct map *map, struct perf_evsel *evsel, in perf_gtk__annotate_symbol()
157 static int symbol__gtk_annotate(struct symbol *sym, struct map *map, in symbol__gtk_annotate()
/tools/perf/arch/arm/tests/
Ddwarf-unwind.c15 struct map *map; in sample_ustack() local
/tools/perf/arch/x86/tests/
Ddwarf-unwind.c16 struct map *map; in sample_ustack() local
/tools/perf/arch/powerpc/tests/
Ddwarf-unwind.c16 struct map *map; in sample_ustack() local
/tools/perf/arch/arm64/tests/
Ddwarf-unwind.c15 struct map *map; in sample_ustack() local

123