Home
last modified time | relevance | path

Searched defs:map (Results 1 – 25 of 55) 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
132 #define __map__for_each_symbol_by_name(map, sym_name, pos, filter) \ argument
[all …]
Dmap.c127 void map__init(struct map *map, enum map_type type, in map__init()
149 struct map *map = malloc(sizeof(*map)); in map__new() local
215 struct map *map = calloc(1, (sizeof(*map) + in map__new2() local
236 bool __map__is_kernel(const struct map *map) in __map__is_kernel()
241 static void map__exit(struct map *map) in map__exit()
247 void map__delete(struct map *map) in map__delete()
253 void map__put(struct map *map) in map__put()
259 void map__fixup_start(struct map *map) in map__fixup_start()
269 void map__fixup_end(struct map *map) in map__fixup_end()
281 int map__load(struct map *map, symbol_filter_t filter) in map__load()
[all …]
Dthread_map.h16 struct thread_map_data map[]; member
38 static inline pid_t thread_map__pid(struct thread_map *map, int thread) in thread_map__pid()
44 thread_map__set_pid(struct thread_map *map, int thread, pid_t pid) in thread_map__set_pid()
49 static inline char *thread_map__comm(struct thread_map *map, int thread) in thread_map__comm()
Dcpumap.h14 int map[]; member
49 static inline int cpu_map__nr(const struct cpu_map *map) in cpu_map__nr()
54 static inline bool cpu_map__empty(const struct cpu_map *map) in cpu_map__empty()
Dcpumap.c189 size_t cpu_map__fprintf(struct cpu_map *map, FILE *fp) in cpu_map__fprintf()
230 static void cpu_map__delete(struct cpu_map *map) in cpu_map__delete()
239 struct cpu_map *cpu_map__get(struct cpu_map *map) in cpu_map__get()
246 void cpu_map__put(struct cpu_map *map) in cpu_map__put()
268 int cpu_map__get_socket(struct cpu_map *map, int idx, void *data __maybe_unused) in cpu_map__get_socket()
286 int (*f)(struct cpu_map *map, int cpu, void *data), in cpu_map__build_map()
323 int cpu_map__get_core(struct cpu_map *map, int idx, void *data) in cpu_map__get_core()
Dsymbol.c577 struct map *map; member
649 struct map *map) in dso__load_all_kallsyms()
655 static int dso__split_kallsyms_for_kcore(struct dso *dso, struct map *map, in dso__split_kallsyms_for_kcore()
708 static int dso__split_kallsyms(struct dso *dso, struct map *map, u64 delta, in dso__split_kallsyms()
995 static int do_validate_kcore_modules(const char *filename, struct map *map, in do_validate_kcore_modules()
1057 struct map *map) in validate_kcore_modules()
1076 struct map *map) in validate_kcore_addresses()
1104 struct map *map; in kcore_mapfn() local
1118 static int dso__load_kcore(struct dso *dso, struct map *map, in dso__load_kcore()
1248 static int kallsyms__delta(struct map *map, const char *filename, u64 *delta) in kallsyms__delta()
[all …]
Dthread_map.c26 static void thread_map__reset(struct thread_map *map, int start, int nr) in thread_map__reset()
33 static struct thread_map *thread_map__realloc(struct thread_map *map, int nr) in thread_map__realloc()
335 struct thread_map *thread_map__get(struct thread_map *map) in thread_map__get()
342 void thread_map__put(struct thread_map *map) in thread_map__put()
383 static void comm_init(struct thread_map *map, int i) in comm_init()
Dmachine.c566 struct map *map = NULL; in machine__findnew_module_map() local
745 struct map *map; in __machine__create_kernel_maps() local
772 struct map *map = __machine__kernel_map(machine, type); in machine__destroy_kernel_maps() local
872 struct map *map = machine__kernel_map(machine); in machine__load_kallsyms() local
891 struct map *map = machine__kernel_map(machine); in machine__load_vmlinux_path() local
943 struct map *map; in map_groups__set_module_path() local
1045 struct map *map; in machine__create_module() local
1150 struct map *map; in machine__process_kernel_mmap_event() local
1263 struct map *map; in machine__process_mmap2_event() local
1317 struct map *map; in machine__process_mmap_event() local
[all …]
Dunwind.h10 struct map *map; member
/tools/testing/selftests/vm/
Dmlock2-tests.c284 static int lock_check(char *map) in lock_check()
322 static int unlock_lock_check(char *map) in unlock_lock_check()
352 char *map; in test_mlock_lock() local
389 static int onfault_check(char *map) in onfault_check()
437 static int unlock_onfault_check(char *map) in unlock_onfault_check()
461 char *map; in test_mlock_onfault() local
503 char *map; in test_lock_onfault_of_present() local
551 char *map; in test_munlockall() local
630 void *map; in test_vma_management() local
Dcompaction_test.c21 void *map; member
160 void *map = NULL; in main() local
Don-fault-limit.c16 void *map; in test_limit() local
Dthuge-gen.c141 char *map; in test_mmap() local
176 char *map = shmat(id, NULL, 0600); in test_shmget() local
/tools/perf/tests/
Dtopology.c57 static int check_cpu_topology(char *path, struct cpu_map *map) in check_cpu_topology()
91 struct cpu_map *map; in test_session_topology() local
Dthread-map.c9 struct thread_map *map; in test__thread_map() local
Dmmap-thread-lookup.c22 void *map; member
30 void *map; in thread_init() local
137 struct thread_map *map; in synth_process() local
Dvmlinux-kallsyms.c26 struct map *kallsyms_map, *vmlinux_map, *map; in test__vmlinux_matches_kallsyms() 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/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/arm64/tests/
Ddwarf-unwind.c15 struct map *map; in sample_ustack() local
/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/util/
Dsym-handling.c73 struct probe_trace_event *tev, struct map *map) in arch__fix_tev_from_maps()
/tools/perf/
Dbuiltin-stat.c994 static int perf_stat__get_socket(struct cpu_map *map, int cpu) in perf_stat__get_socket()
999 static int perf_stat__get_core(struct cpu_map *map, int cpu) in perf_stat__get_core()
1004 static int cpu_map__get_max(struct cpu_map *map) in cpu_map__get_max()
1018 static int perf_stat__get_aggr(aggr_get_id_t get_id, struct cpu_map *map, int idx) in perf_stat__get_aggr()
1033 static int perf_stat__get_socket_cached(struct cpu_map *map, int idx) in perf_stat__get_socket_cached()
1038 static int perf_stat__get_core_cached(struct cpu_map *map, int idx) in perf_stat__get_core_cached()

123