Home
last modified time | relevance | path

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

/linux-4.4.14/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()
266 struct dso *dso = dsos[i]; in test__dso_data_cache()
286 TEST_ASSERT_VAL("dsos[0] is not open", dsos[0]->data.fd != -1); in test__dso_data_cache()
289 fd = dso__data_fd(dsos[i], &machine); in test__dso_data_cache()
[all …]
/linux-4.4.14/tools/perf/util/
Ddso.h126 struct dsos { struct
319 void __dsos__add(struct dsos *dsos, struct dso *dso);
320 void dsos__add(struct dsos *dsos, struct dso *dso);
321 struct dso *__dsos__addnew(struct dsos *dsos, const char *name);
322 struct dso *__dsos__find(struct dsos *dsos, const char *name, bool cmp_short);
323 struct dso *dsos__find(struct dsos *dsos, const char *name, bool cmp_short);
324 struct dso *__dsos__findnew(struct dsos *dsos, const char *name);
325 struct dso *dsos__findnew(struct dsos *dsos, const char *name);
Ddso.c1183 void __dsos__add(struct dsos *dsos, struct dso *dso) in __dsos__add() argument
1185 list_add_tail(&dso->node, &dsos->head); in __dsos__add()
1186 __dso__findlink_by_longname(&dsos->root, dso, NULL); in __dsos__add()
1210 void dsos__add(struct dsos *dsos, struct dso *dso) in dsos__add() argument
1212 pthread_rwlock_wrlock(&dsos->lock); in dsos__add()
1213 __dsos__add(dsos, dso); in dsos__add()
1214 pthread_rwlock_unlock(&dsos->lock); in dsos__add()
1217 struct dso *__dsos__find(struct dsos *dsos, const char *name, bool cmp_short) in __dsos__find() argument
1222 list_for_each_entry(pos, &dsos->head, node) in __dsos__find()
1227 return __dso__find_by_longname(&dsos->root, name); in __dsos__find()
[all …]
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()
292 pthread_rwlock_wrlock(&machine->dsos.lock); in machine__findnew_vdso()
305 dso = __dsos__find(&machine->dsos, DSO__NAME_VDSO, true); in machine__findnew_vdso()
316 pthread_rwlock_unlock(&machine->dsos.lock); in machine__findnew_vdso()
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()
30 dsos__init(&machine->dsos); in machine__init()
86 static void dsos__purge(struct dsos *dsos) in dsos__purge() argument
90 pthread_rwlock_wrlock(&dsos->lock); in dsos__purge()
92 list_for_each_entry_safe(pos, n, &dsos->head, node) { in dsos__purge()
99 pthread_rwlock_unlock(&dsos->lock); in dsos__purge()
102 static void dsos__exit(struct dsos *dsos) in dsos__exit() argument
[all …]
Dbuild-id.c211 dsos__for_each_with_build_id(pos, &machine->dsos.head) { in machine__write_buildid_table()
268 return __dsos__hit_all(&machine->dsos.head); in machine__hit_all_dsos()
508 return __dsos__cache_build_ids(&machine->dsos.head, machine); in machine__cache_build_ids()
533 return __dsos__read_build_ids(&machine->dsos.head, with_hits); in machine__read_build_ids()
Dmachine.h38 struct dsos dsos; member
Dsymbol-elf.c1045 dsos__add(&map->groups->machine->dsos, curr_dso); in dso__load_sym()
/linux-4.4.14/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
328 Filters can be applied by --comms, --dsos and/or --symbols options and