/tools/perf/util/ |
D | dsos.h | 18 struct dsos { struct 24 void __dsos__add(struct dsos *dsos, struct dso *dso); argument 25 void dsos__add(struct dsos *dsos, struct dso *dso); 26 struct dso *__dsos__addnew(struct dsos *dsos, const char *name); 27 struct dso *__dsos__find(struct dsos *dsos, const char *name, bool cmp_short); 29 struct dso *dsos__findnew_id(struct dsos *dsos, const char *name, struct dso_id *id);
|
D | dsos.c | 168 void __dsos__add(struct dsos *dsos, struct dso *dso) in __dsos__add() argument 170 list_add_tail(&dso->node, &dsos->head); in __dsos__add() 171 __dsos__findnew_link_by_longname_id(&dsos->root, dso, NULL, &dso->id); in __dsos__add() 195 void dsos__add(struct dsos *dsos, struct dso *dso) in dsos__add() argument 197 down_write(&dsos->lock); in dsos__add() 198 __dsos__add(dsos, dso); in dsos__add() 199 up_write(&dsos->lock); in dsos__add() 207 static struct dso *__dsos__find_id(struct dsos *dsos, const char *name, struct dso_id *id, bool cmp… in __dsos__find_id() argument 212 list_for_each_entry(pos, &dsos->head, node) in __dsos__find_id() 217 return __dsos__findnew_by_longname_id(&dsos->root, name, id); in __dsos__find_id() [all …]
|
D | vdso.c | 134 __dsos__add(&machine->dsos, dso); in __machine__addnew_vdso() 243 dso = __dsos__find(&machine->dsos, vdso_file->dso_name, true); in __machine__findnew_compat() 299 dso = __dsos__find(&machine->dsos, DSO__NAME_VDSO32, true); in machine__find_vdso() 301 dso = __dsos__find(&machine->dsos, DSO__NAME_VDSO, in machine__find_vdso() 308 dso = __dsos__find(&machine->dsos, DSO__NAME_VDSOX32, true); in machine__find_vdso() 313 dso = __dsos__find(&machine->dsos, DSO__NAME_VDSO, true); in machine__find_vdso() 326 down_write(&machine->dsos.lock); in machine__findnew_vdso() 343 dso = __dsos__find(&machine->dsos, DSO__NAME_VDSO, true); in machine__findnew_vdso() 354 up_write(&machine->dsos.lock); in machine__findnew_vdso()
|
D | machine.c | 52 static void dsos__init(struct dsos *dsos) in dsos__init() argument 54 INIT_LIST_HEAD(&dsos->head); in dsos__init() 55 dsos->root = RB_ROOT; in dsos__init() 56 init_rwsem(&dsos->lock); in dsos__init() 93 dsos__init(&machine->dsos); in machine__init() 173 static void dsos__purge(struct dsos *dsos) in dsos__purge() argument 177 down_write(&dsos->lock); in dsos__purge() 179 list_for_each_entry_safe(pos, n, &dsos->head, node) { in dsos__purge() 186 up_write(&dsos->lock); in dsos__purge() 189 static void dsos__exit(struct dsos *dsos) in dsos__exit() argument [all …]
|
D | machine.h | 53 struct dsos dsos; member
|
D | build-id.c | 347 dsos__for_each_with_build_id(pos, &machine->dsos.head) { in machine__write_buildid_table() 409 return __dsos__hit_all(&machine->dsos.head); in machine__hit_all_dsos() 955 return __dsos__read_build_ids(&machine->dsos.head, with_hits); in machine__read_build_ids()
|
D | Build | 45 perf-y += dsos.o
|
D | symbol-elf.c | 1092 dsos__add(&kmaps->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/bench/ |
D | inject-buildid.c | 52 static struct bench_dso *dsos; variable 81 struct bench_dso *dso = &dsos[nr_dsos]; in add_dso() 106 dsos = calloc(nr_mmaps * DSO_MMAP_RATIO, sizeof(*dsos)); in collect_dso() 107 if (dsos == NULL) { in collect_dso() 123 struct bench_dso *dso = &dsos[i]; in release_dso() 127 free(dsos); in release_dso() 365 struct bench_dso *dso = &dsos[idx]; in inject_build_id()
|
/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 121 Filters can be applied by --comms, --dsos and/or --symbols options.
|
D | perf-top.txt | 151 --dsos:: 152 Only consider symbols in these dsos. This option will affect the 213 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 421 Filters can be applied by --comms, --dsos and/or --symbols options and
|
D | perf-script.txt | 461 --dsos=::
|