/linux/tools/perf/util/ |
A D | dsos.c | 157 void __dsos__add(struct dsos *dsos, struct dso *dso) in __dsos__add() argument 184 void dsos__add(struct dsos *dsos, struct dso *dso) in dsos__add() argument 186 down_write(&dsos->lock); in dsos__add() 187 __dsos__add(dsos, dso); in dsos__add() 188 up_write(&dsos->lock); in dsos__add() 209 struct dso *__dsos__find(struct dsos *dsos, const char *name, bool cmp_short) in __dsos__find() argument 251 __dsos__add(dsos, dso); in __dsos__addnew_id() 259 struct dso *__dsos__addnew(struct dsos *dsos, const char *name) in __dsos__addnew() argument 274 struct dso *dsos__findnew_id(struct dsos *dsos, const char *name, struct dso_id *id) in dsos__findnew_id() argument 277 down_write(&dsos->lock); in dsos__findnew_id() [all …]
|
A 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);
|
A 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()
|
A D | machine.c | 51 static void dsos__init(struct dsos *dsos) in dsos__init() argument 53 INIT_LIST_HEAD(&dsos->head); in dsos__init() 54 dsos->root = RB_ROOT; in dsos__init() 55 init_rwsem(&dsos->lock); in dsos__init() 92 dsos__init(&machine->dsos); in machine__init() 172 static void dsos__purge(struct dsos *dsos) in dsos__purge() argument 176 down_write(&dsos->lock); in dsos__purge() 185 up_write(&dsos->lock); in dsos__purge() 188 static void dsos__exit(struct dsos *dsos) in dsos__exit() argument 190 dsos__purge(dsos); in dsos__exit() [all …]
|
A D | machine.h | 53 struct dsos dsos; member
|
A 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() 927 return __dsos__read_build_ids(&machine->dsos.head, with_hits); in machine__read_build_ids()
|
A D | Build | 45 perf-y += dsos.o
|
A D | symbol-elf.c | 1065 dsos__add(&kmaps->machine->dsos, curr_dso); in dso__process_kernel_symbol()
|
/linux/tools/perf/tests/ |
A D | dso-data.c | 202 static struct dso **dsos; variable 208 dsos = malloc(sizeof(*dsos) * cnt); 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() 295 fd = dso__data_fd(dsos[i], &machine); in test__dso_data_cache() 327 #define dso_0 (dsos[0]) in test__dso_data_reopen() 328 #define dso_1 (dsos[1]) in test__dso_data_reopen() [all …]
|
/linux/tools/perf/bench/ |
A 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()
|
/linux/tools/perf/Documentation/ |
A D | perf-annotate.txt | 28 --dsos=<dso[,dso...]>:: 29 Only consider symbols in these dsos.
|
A 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.
|
A 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
|
A 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
|
A D | perf-script.txt | 461 --dsos=::
|