/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | dso.h | 41 #define DSO__SWAP(dso, type, val) \ 44 BUG_ON(dso->needs_swap == DSO_SWAP__UNSET); \ 45 if (dso->needs_swap == DSO_SWAP__YES) { \ 73 struct dso { struct 99 static inline void dso__set_loaded(struct dso *dso, enum map_type type) argument 101 dso->loaded |= (1 << type); 104 struct dso *dso__new(const char *name); 105 void dso__delete(struct dso *dso); 154 dso__is_vmlinux(struct dso *dso) argument 160 dso__is_kcore(struct dso *dso) argument [all...] |
H A D | dso.c | 2 #include "dso.h" 7 char dso__symtab_origin(const struct dso *dso) argument 25 if (dso == NULL || dso->symtab_type == DSO_BINARY_TYPE__NOT_FOUND) 27 return origin[dso->symtab_type]; 30 int dso__binary_type_file(struct dso *dso, enum dso_binary_type type, argument 40 strncpy(file, dso->long_name, size); 41 debuglink = file + dso 115 open_dso(struct dso *dso, struct machine *machine) argument 139 dso__data_fd(struct dso *dso, struct machine *machine) argument 241 dso_cache__read(struct dso *dso, struct machine *machine, u64 offset, u8 *data, ssize_t size) argument 286 dso_cache_read(struct dso *dso, struct machine *machine, u64 offset, u8 *data, ssize_t size) argument 298 dso__data_read_offset(struct dso *dso, struct machine *machine, u64 offset, u8 *data, ssize_t size) argument 327 dso__data_read_addr(struct dso *dso, struct map *map, struct machine *machine, u64 addr, u8 *data, ssize_t size) argument 338 struct dso *dso = dso__new(name); local 352 struct dso *dso = __dsos__findnew(&machine->kernel_dsos, name); local 366 dso__set_long_name(struct dso *dso, char *name) argument 374 dso__set_short_name(struct dso *dso, const char *name) argument 382 dso__set_basename(struct dso *dso) argument 414 dso__name_len(const struct dso *dso) argument 424 dso__loaded(const struct dso *dso, enum map_type type) argument 429 dso__sorted_by_name(const struct dso *dso, enum map_type type) argument 434 dso__set_sorted_by_name(struct dso *dso, enum map_type type) argument 441 struct dso *dso = calloc(1, sizeof(*dso) + strlen(name) + 1); local 465 dso__delete(struct dso *dso) argument 478 dso__set_build_id(struct dso *dso, void *build_id) argument 484 dso__build_id_equal(const struct dso *dso, u8 *build_id) argument 489 dso__read_running_kernel_build_id(struct dso *dso, struct machine *machine) argument 501 dso__kernel_module_get_build_id(struct dso *dso, const char *root_dir) argument 544 dsos__add(struct list_head *head, struct dso *dso) argument 567 struct dso *dso = dsos__find(head, name, false); local 580 __dsos__fprintf_buildid(struct list_head *head, FILE *fp, bool (skip)(struct dso *dso, int parm), int parm) argument 609 dso__fprintf_buildid(struct dso *dso, FILE *fp) argument 617 dso__fprintf(struct dso *dso, enum map_type type, FILE *fp) argument [all...] |
H A D | build-id.h | 10 struct dso; 13 char *dso__build_id_filename(struct dso *self, char *bf, size_t size);
|
H A D | vdso.c | 92 struct dso *vdso__dso_findnew(struct list_head *head) 94 struct dso *dso = dsos__find(head, VDSO__MAP_NAME, true); local 96 if (!dso) { 103 dso = dso__new(VDSO__MAP_NAME); 104 if (dso != NULL) { 105 dsos__add(head, dso); 106 dso__set_long_name(dso, file); 110 return dso;
|
H A D | symbol.c | 27 static int dso__load_kernel_sym(struct dso *dso, struct map *map, 29 static int dso__load_guest_kernel_sym(struct dso *dso, struct map *map, 407 struct symbol *dso__find_symbol(struct dso *dso, argument 410 return symbols__find(&dso->symbols[type], addr); 413 struct symbol *dso__first_symbol(struct dso *dso, enum map_type type) argument 415 return symbols__first(&dso 418 dso__find_symbol_by_name(struct dso *dso, enum map_type type, const char *name) argument 424 dso__sort_by_name(struct dso *dso, enum map_type type) argument 431 dso__fprintf_symbols_by_name(struct dso *dso, enum map_type type, FILE *fp) argument 504 struct dso *dso; member in struct:process_kallsyms_args 547 dso__load_all_kallsyms(struct dso *dso, const char *filename, struct map *map) argument 554 dso__split_kallsyms_for_kcore(struct dso *dso, struct map *map, symbol_filter_t filter) argument 606 dso__split_kallsyms(struct dso *dso, struct map *map, symbol_filter_t filter) argument 743 struct dso *dso; member in struct:kcore_mapfn_data 787 dso__load_kcore(struct dso *dso, struct map *map, const char *kallsyms_filename) argument 897 dso__load_kallsyms(struct dso *dso, const char *filename, struct map *map, symbol_filter_t filter) argument 920 dso__load_perf_map(struct dso *dso, struct map *map, symbol_filter_t filter) argument 982 dso__load(struct dso *dso, struct map *map, symbol_filter_t filter) argument 1122 dso__load_vmlinux(struct dso *dso, struct map *map, const char *vmlinux, symbol_filter_t filter) argument 1160 dso__load_vmlinux_path(struct dso *dso, struct map *map, symbol_filter_t filter) argument 1191 dso__load_kernel_sym(struct dso *dso, struct map *map, symbol_filter_t filter) argument 1300 dso__load_guest_kernel_sym(struct dso *dso, struct map *map, symbol_filter_t filter) argument [all...] |
H A D | vdso.h | 15 struct dso *vdso__dso_findnew(struct list_head *head);
|
H A D | symbol.h | 22 #include "dso.h" 211 int symsrc__init(struct symsrc *ss, struct dso *dso, const char *name, 216 int dso__load(struct dso *dso, struct map *map, symbol_filter_t filter); 217 int dso__load_vmlinux(struct dso *dso, struct map *map, 219 int dso__load_vmlinux_path(struct dso *dso, struct map *map, 221 int dso__load_kallsyms(struct dso *ds [all...] |
H A D | map.c | 35 u64 start, u64 end, u64 pgoff, struct dso *dso) 41 map->dso = dso; 59 struct dso *dso; local 78 dso = vdso__dso_findnew(dsos__list); 80 dso = __dsos__findnew(dsos__list, filename); 82 if (dso == NULL) 85 map__init(map, type, start, start + len, pgoff, dso); 34 map__init(struct map *map, enum map_type type, u64 start, u64 end, u64 pgoff, struct dso *dso) argument 110 map__new2(u64 start, struct dso *dso, enum map_type type) argument [all...] |
H A D | symbol-elf.c | 179 * And always look at the original dso, not at debuginfo packages, that 182 int dso__synthesize_plt_symbols(struct dso *dso, struct symsrc *ss, struct map *map, argument 274 symbols__insert(&dso->symbols[map->type], f); 296 symbols__insert(&dso->symbols[map->type], f); 307 __func__, dso->long_name); 517 static int dso__swap_init(struct dso *dso, unsigned char eidata) argument 521 dso->needs_swap = DSO_SWAP__NO; 527 dso 561 symsrc__init(struct symsrc *ss, struct dso *dso, const char *name, enum dso_binary_type type) argument 676 dso__load_sym(struct dso *dso, struct map *map, struct symsrc *syms_ss, struct symsrc *runtime_ss, symbol_filter_t filter, int kmodule) argument [all...] |
/external/openssl/crypto/dso/ |
H A D | dso_lib.c | 62 #include <openssl/dso.h> 81 DSO_METHOD *DSO_get_method(DSO *dso) argument 83 return(dso->meth); 86 DSO_METHOD *DSO_set_method(DSO *dso, DSO_METHOD *meth) argument 89 mtmp = dso->meth; 90 dso->meth = meth; 131 int DSO_free(DSO *dso) argument 135 if(dso == NULL) 141 i=CRYPTO_add(&dso->references,-1,CRYPTO_LOCK_DSO); 143 REF_PRINT("DSO",dso); 176 DSO_flags(DSO *dso) argument 182 DSO_up_ref(DSO *dso) argument 194 DSO_load(DSO *dso, const char *filename, DSO_METHOD *meth, int flags) argument 263 DSO_bind_var(DSO *dso, const char *symname) argument 286 DSO_bind_func(DSO *dso, const char *symname) argument 317 DSO_ctrl(DSO *dso, int cmd, long larg, void *parg) argument 348 DSO_set_name_converter(DSO *dso, DSO_NAME_CONVERTER_FUNC cb, DSO_NAME_CONVERTER_FUNC *oldcb) argument 363 DSO_get_filename(DSO *dso) argument 373 DSO_set_filename(DSO *dso, const char *filename) argument 401 DSO_merge(DSO *dso, const char *filespec1, const char *filespec2) argument 421 DSO_convert_filename(DSO *dso, const char *filename) argument 458 DSO_get_loaded_filename(DSO *dso) argument [all...] |
H A D | dso.h | 0 /* dso.h -*- mode:C; c-file-style: "eay" -*- */ 140 int (*dso_load)(DSO *dso); 142 int (*dso_unload)(DSO *dso); 144 void *(*dso_bind_var)(DSO *dso, const char *symname); 151 DSO_FUNC_TYPE (*dso_bind_func)(DSO *dso, const char *symname); 156 int (*dso_unbind_var)(DSO *dso, char *symname, void *symptr); 158 int (*dso_unbind_func)(DSO *dso, char *symname, DSO_FUNC_TYPE symptr); 162 long (*dso_ctrl)(DSO *dso, int cmd, long larg, void *parg); 171 int (*init)(DSO *dso); 172 int (*finish)(DSO *dso); [all...] |
H A D | dso_dl.c | 61 #include <openssl/dso.h> 75 static int dl_load(DSO *dso); 76 static int dl_unload(DSO *dso); 77 static void *dl_bind_var(DSO *dso, const char *symname); 78 static DSO_FUNC_TYPE dl_bind_func(DSO *dso, const char *symname); 80 static int dl_unbind_var(DSO *dso, char *symname, void *symptr); 81 static int dl_unbind_func(DSO *dso, char *symname, DSO_FUNC_TYPE symptr); 82 static int dl_init(DSO *dso); 83 static int dl_finish(DSO *dso); 84 static int dl_ctrl(DSO *dso, in 122 dl_load(DSO *dso) argument 162 dl_unload(DSO *dso) argument 186 dl_bind_var(DSO *dso, const char *symname) argument 217 dl_bind_func(DSO *dso, const char *symname) argument 248 dl_merger(DSO *dso, const char *filespec1, const char *filespec2) argument 324 dl_name_converter(DSO *dso, const char *filename) argument [all...] |
H A D | dso_dlfcn.c | 71 #include <openssl/dso.h> 98 static int dlfcn_load(DSO *dso); 99 static int dlfcn_unload(DSO *dso); 100 static void *dlfcn_bind_var(DSO *dso, const char *symname); 101 static DSO_FUNC_TYPE dlfcn_bind_func(DSO *dso, const char *symname); 103 static int dlfcn_unbind(DSO *dso, char *symname, void *symptr); 104 static int dlfcn_init(DSO *dso); 105 static int dlfcn_finish(DSO *dso); 106 static long dlfcn_ctrl(DSO *dso, int cmd, long larg, void *parg); 108 static char *dlfcn_name_converter(DSO *dso, cons 167 dlfcn_load(DSO *dso) argument 208 dlfcn_unload(DSO *dso) argument 232 dlfcn_bind_var(DSO *dso, const char *symname) argument 262 dlfcn_bind_func(DSO *dso, const char *symname) argument 296 dlfcn_merger(DSO *dso, const char *filespec1, const char *filespec2) argument 371 dlfcn_name_converter(DSO *dso, const char *filename) argument [all...] |
H A D | dso_null.c | 64 #include <openssl/dso.h>
|
H A D | dso_openssl.c | 61 #include <openssl/dso.h>
|
/external/openssl/include/openssl/ |
H A D | dso.h | 0 /* dso.h -*- mode:C; c-file-style: "eay" -*- */ 140 int (*dso_load)(DSO *dso); 142 int (*dso_unload)(DSO *dso); 144 void *(*dso_bind_var)(DSO *dso, const char *symname); 151 DSO_FUNC_TYPE (*dso_bind_func)(DSO *dso, const char *symname); 156 int (*dso_unbind_var)(DSO *dso, char *symname, void *symptr); 158 int (*dso_unbind_func)(DSO *dso, char *symname, DSO_FUNC_TYPE symptr); 162 long (*dso_ctrl)(DSO *dso, int cmd, long larg, void *parg); 171 int (*init)(DSO *dso); 172 int (*finish)(DSO *dso); [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
H A D | EventClass.py | 24 def create_event(name, comm, dso, symbol, raw_buf): 26 event = PebsEvent(name, comm, dso, symbol, raw_buf) 28 event = PebsNHM(name, comm, dso, symbol, raw_buf) 30 event = PerfEvent(name, comm, dso, symbol, raw_buf) 36 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_GENERIC): 39 self.dso = dso 46 print "PMU event: name=%12s, symbol=%24s, comm=%8s, dso=%12s" % (self.name, self.symbol, self.comm, self.dso) 55 def __init__(self, name, comm, dso, symbo [all...] |
/external/compiler-rt/test/asan/TestCases/Posix/ |
H A D | start-deactivated.cc | 36 void *dso = dlopen(path.c_str(), RTLD_NOW); local 37 if (!dso) { 45 void *fn = dlsym(dso, "do_another_bad_thing");
|
/external/openssl/crypto/conf/ |
H A D | conf_mall.c | 63 #include <openssl/dso.h>
|
H A D | conf_mod.c | 64 #include <openssl/dso.h> 80 DSO *dso; member in struct:conf_module_st 114 static CONF_MODULE *module_add(DSO *dso, const char *name, 248 DSO *dso = NULL; local 261 dso = DSO_load(NULL, path, NULL, 0); 262 if (!dso) 267 ifunc = (conf_init_func *)DSO_bind_func(dso, DSO_mod_init_name); 273 ffunc = (conf_finish_func *)DSO_bind_func(dso, DSO_mod_finish_name); 275 md = module_add(dso, name, ifunc, ffunc); 283 if (dso) 291 module_add(DSO *dso, const char *name, conf_init_func *ifunc, conf_finish_func *ffunc) argument [all...] |
H A D | conf_sap.c | 63 #include <openssl/dso.h>
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
H A D | dso-data.c | 98 struct dso *dso; local 106 dso = dso__new((const char *)file); 115 size = dso__data_read_offset(dso, &machine, data->offset, 134 size = dso__data_read_offset(dso, &machine, 10, 148 dso__delete(dso);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
H A D | builtin-buildid-list.c | 47 static bool dso__skip_buildid(struct dso *dso, int with_hits) argument 49 return with_hits && !dso->hit;
|
H A D | builtin-buildid-cache.c | 62 static bool dso__missing_buildid_cache(struct dso *dso, int parm __maybe_unused) argument 67 if (dso__build_id_filename(dso, filename, sizeof(filename)) && 75 } else if (memcmp(dso->build_id, build_id, sizeof(dso->build_id))) {
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/ |
H A D | event_analyzing_sample.py | 50 dso text 57 dso text, 77 # Symbol and dso info are not always resolved 78 if (param_dict.has_key("dso")): 79 dso = param_dict["dso"] 81 dso = "Unknown_dso" 89 event = create_event(name, comm, dso, symbol, raw_buf) 95 (event.name, event.symbol, event.comm, event.dso)) 100 (event.name, event.symbol, event.comm, event.dso, even [all...] |