Home
last modified time | relevance | path

Searched refs:dsos (Results 1 – 12 of 12) sorted by relevance

/tools/perf/tests/
Ddso-data.c199 static struct dso **dsos; variable
205 dsos = malloc(sizeof(*dsos) * cnt); in dsos__create()
206 TEST_ASSERT_VAL("failed to alloc dsos array", dsos); in dsos__create()
214 dsos[i] = dso__new(file); in dsos__create()
215 TEST_ASSERT_VAL("failed to get dso", dsos[i]); in dsos__create()
226 struct dso *dso = dsos[i]; in dsos__delete()
232 free(dsos); in dsos__delete()
269 struct dso *dso = dsos[i]; in test__dso_data_cache()
289 TEST_ASSERT_VAL("dsos[0] is not open", dsos[0]->data.fd != -1); in test__dso_data_cache()
292 fd = dso__data_fd(dsos[i], &machine); in test__dso_data_cache()
[all …]
/tools/perf/util/
Ddso.h127 struct dsos { struct
321 void __dsos__add(struct dsos *dsos, struct dso *dso);
322 void dsos__add(struct dsos *dsos, struct dso *dso);
323 struct dso *__dsos__addnew(struct dsos *dsos, const char *name);
324 struct dso *__dsos__find(struct dsos *dsos, const char *name, bool cmp_short);
325 struct dso *dsos__find(struct dsos *dsos, const char *name, bool cmp_short);
326 struct dso *__dsos__findnew(struct dsos *dsos, const char *name);
327 struct dso *dsos__findnew(struct dsos *dsos, const char *name);
Dvdso.c130 __dsos__add(&machine->dsos, dso); in __machine__addnew_vdso()
239 dso = __dsos__find(&machine->dsos, vdso_file->dso_name, true); in __machine__findnew_compat()
295 dso = __dsos__find(&machine->dsos, DSO__NAME_VDSO32, true); in machine__find_vdso()
297 dso = __dsos__find(&machine->dsos, DSO__NAME_VDSO, in machine__find_vdso()
304 dso = __dsos__find(&machine->dsos, DSO__NAME_VDSOX32, true); in machine__find_vdso()
309 dso = __dsos__find(&machine->dsos, DSO__NAME_VDSO, true); in machine__find_vdso()
322 pthread_rwlock_wrlock(&machine->dsos.lock); in machine__findnew_vdso()
339 dso = __dsos__find(&machine->dsos, DSO__NAME_VDSO, true); in machine__findnew_vdso()
350 pthread_rwlock_unlock(&machine->dsos.lock); in machine__findnew_vdso()
Ddso.c1200 void __dsos__add(struct dsos *dsos, struct dso *dso) in __dsos__add() argument
1202 list_add_tail(&dso->node, &dsos->head); in __dsos__add()
1203 __dso__findlink_by_longname(&dsos->root, dso, NULL); in __dsos__add()
1227 void dsos__add(struct dsos *dsos, struct dso *dso) in dsos__add() argument
1229 pthread_rwlock_wrlock(&dsos->lock); in dsos__add()
1230 __dsos__add(dsos, dso); in dsos__add()
1231 pthread_rwlock_unlock(&dsos->lock); in dsos__add()
1234 struct dso *__dsos__find(struct dsos *dsos, const char *name, bool cmp_short) in __dsos__find() argument
1239 list_for_each_entry(pos, &dsos->head, node) in __dsos__find()
1244 return __dso__find_by_longname(&dsos->root, name); in __dsos__find()
[all …]
Dmachine.c19 static void dsos__init(struct dsos *dsos) in dsos__init() argument
21 INIT_LIST_HEAD(&dsos->head); in dsos__init()
22 dsos->root = RB_ROOT; in dsos__init()
23 pthread_rwlock_init(&dsos->lock, NULL); in dsos__init()
31 dsos__init(&machine->dsos); in machine__init()
90 static void dsos__purge(struct dsos *dsos) in dsos__purge() argument
94 pthread_rwlock_wrlock(&dsos->lock); in dsos__purge()
96 list_for_each_entry_safe(pos, n, &dsos->head, node) { in dsos__purge()
103 pthread_rwlock_unlock(&dsos->lock); in dsos__purge()
106 static void dsos__exit(struct dsos *dsos) in dsos__exit() argument
[all …]
Dmachine.h40 struct dsos dsos; member
Dbuild-id.c360 dsos__for_each_with_build_id(pos, &machine->dsos.head) { in machine__write_buildid_table()
421 return __dsos__hit_all(&machine->dsos.head); in machine__hit_all_dsos()
801 return __dsos__cache_build_ids(&machine->dsos.head, machine); in machine__cache_build_ids()
826 return __dsos__read_build_ids(&machine->dsos.head, with_hits); in machine__read_build_ids()
Dsymbol-elf.c1092 dsos__add(&map->groups->machine->dsos, curr_dso); in dso__load_sym()
/tools/perf/Documentation/
Dperf-annotate.txt28 --dsos=<dso[,dso...]>::
29 Only consider symbols in these dsos.
Dperf-diff.txt42 --dsos=::
43 Only consider symbols in these dsos. CSV that understands
106 Filters can be applied by --comms, --dsos and/or --symbols options.
Dperf-top.txt138 --dsos::
139 Only consider symbols in these dsos. This option will affect the
193 Filters can be applied by --comms, --dsos and/or --symbols options and
Dperf-report.txt50 --dsos=::
51 Only consider symbols in these dsos. CSV that understands
369 Filters can be applied by --comms, --dsos and/or --symbols options and