/tools/perf/util/ |
D | dsos.h | 17 struct dsos { struct 23 void __dsos__add(struct dsos *dsos, struct dso *dso); argument 24 void dsos__add(struct dsos *dsos, struct dso *dso); 25 struct dso *__dsos__addnew(struct dsos *dsos, const char *name); 26 struct dso *__dsos__find(struct dsos *dsos, const char *name, bool cmp_short); 27 struct dso *dsos__find(struct dsos *dsos, const char *name, bool cmp_short); 28 struct dso *__dsos__findnew(struct dsos *dsos, const char *name); 29 struct dso *dsos__findnew(struct dsos *dsos, const char *name);
|
D | dsos.c | 90 void __dsos__add(struct dsos *dsos, struct dso *dso) in __dsos__add() argument 92 list_add_tail(&dso->node, &dsos->head); in __dsos__add() 93 __dsos__findnew_link_by_longname(&dsos->root, dso, NULL); in __dsos__add() 117 void dsos__add(struct dsos *dsos, struct dso *dso) in dsos__add() argument 119 down_write(&dsos->lock); in dsos__add() 120 __dsos__add(dsos, dso); in dsos__add() 121 up_write(&dsos->lock); in dsos__add() 124 struct dso *__dsos__find(struct dsos *dsos, const char *name, bool cmp_short) in __dsos__find() argument 129 list_for_each_entry(pos, &dsos->head, node) in __dsos__find() 134 return __dsos__findnew_by_longname(&dsos->root, name); in __dsos__find() [all …]
|
D | vdso.c | 134 __dsos__add(&machine->dsos, dso); in __machine__addnew_vdso() 241 dso = __dsos__find(&machine->dsos, vdso_file->dso_name, true); in __machine__findnew_compat() 297 dso = __dsos__find(&machine->dsos, DSO__NAME_VDSO32, true); in machine__find_vdso() 299 dso = __dsos__find(&machine->dsos, DSO__NAME_VDSO, in machine__find_vdso() 306 dso = __dsos__find(&machine->dsos, DSO__NAME_VDSOX32, true); in machine__find_vdso() 311 dso = __dsos__find(&machine->dsos, DSO__NAME_VDSO, true); in machine__find_vdso() 324 down_write(&machine->dsos.lock); in machine__findnew_vdso() 341 dso = __dsos__find(&machine->dsos, DSO__NAME_VDSO, true); in machine__findnew_vdso() 352 up_write(&machine->dsos.lock); in machine__findnew_vdso()
|
D | machine.c | 45 static void dsos__init(struct dsos *dsos) in dsos__init() argument 47 INIT_LIST_HEAD(&dsos->head); in dsos__init() 48 dsos->root = RB_ROOT; in dsos__init() 49 init_rwsem(&dsos->lock); in dsos__init() 86 dsos__init(&machine->dsos); in machine__init() 166 static void dsos__purge(struct dsos *dsos) in dsos__purge() argument 170 down_write(&dsos->lock); in dsos__purge() 172 list_for_each_entry_safe(pos, n, &dsos->head, node) { in dsos__purge() 179 up_write(&dsos->lock); in dsos__purge() 182 static void dsos__exit(struct dsos *dsos) in dsos__exit() argument [all …]
|
D | machine.h | 52 struct dsos dsos; member
|
D | build-id.c | 332 dsos__for_each_with_build_id(pos, &machine->dsos.head) { in machine__write_buildid_table() 394 return __dsos__hit_all(&machine->dsos.head); in machine__hit_all_dsos() 844 return __dsos__cache_build_ids(&machine->dsos.head, machine); in machine__cache_build_ids() 870 return __dsos__read_build_ids(&machine->dsos.head, with_hits); in machine__read_build_ids()
|
D | Build | 41 perf-y += dsos.o
|
D | symbol-elf.c | 964 dsos__add(&map->groups->machine->dsos, curr_dso); in dso__process_kernel_symbol()
|
/tools/perf/tests/ |
D | dso-data.c | 202 static struct dso **dsos; variable 208 dsos = malloc(sizeof(*dsos) * cnt); in dsos__create() 209 TEST_ASSERT_VAL("failed to alloc dsos array", dsos); in dsos__create() 217 dsos[i] = dso__new(file); in dsos__create() 218 TEST_ASSERT_VAL("failed to get dso", dsos[i]); in dsos__create() 229 struct dso *dso = dsos[i]; in dsos__delete() 235 free(dsos); in dsos__delete() 272 struct dso *dso = dsos[i]; in test__dso_data_cache() 292 TEST_ASSERT_VAL("dsos[0] is not open", dsos[0]->data.fd != -1); in test__dso_data_cache() 295 fd = dso__data_fd(dsos[i], &machine); in test__dso_data_cache() [all …]
|
/tools/perf/Documentation/ |
D | perf-annotate.txt | 28 --dsos=<dso[,dso...]>:: 29 Only consider symbols in these dsos.
|
D | perf-diff.txt | 42 --dsos=:: 43 Only consider symbols in these dsos. CSV that understands 116 Filters can be applied by --comms, --dsos and/or --symbols options.
|
D | perf-top.txt | 146 --dsos:: 147 Only consider symbols in these dsos. This option will affect the 202 Filters can be applied by --comms, --dsos and/or --symbols options and
|
D | perf-report.txt | 54 --dsos=:: 55 Only consider symbols in these dsos. CSV that understands 397 Filters can be applied by --comms, --dsos and/or --symbols options and
|