Home
last modified time | relevance | path

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

/tools/perf/util/
Ddsos.h17 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);
Ddsos.c90 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 …]
Dvdso.c134 __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()
Dmachine.c45 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 …]
Dmachine.h52 struct dsos dsos; member
Dbuild-id.c332 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()
DBuild41 perf-y += dsos.o
Dsymbol-elf.c964 dsos__add(&map->groups->machine->dsos, curr_dso); in dso__process_kernel_symbol()
/tools/perf/tests/
Ddso-data.c202 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/
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
116 Filters can be applied by --comms, --dsos and/or --symbols options.
Dperf-top.txt146 --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
Dperf-report.txt54 --dsos=::
55 Only consider symbols in these dsos. CSV that understands
397 Filters can be applied by --comms, --dsos and/or --symbols options and