/Linux-v4.19/tools/perf/util/ |
D | namespaces.h | 29 struct nsinfo { struct 43 int nsinfo__init(struct nsinfo *nsi); argument 44 struct nsinfo *nsinfo__new(pid_t pid); 45 struct nsinfo *nsinfo__copy(struct nsinfo *nsi); 46 void nsinfo__delete(struct nsinfo *nsi); 48 struct nsinfo *nsinfo__get(struct nsinfo *nsi); 49 void nsinfo__put(struct nsinfo *nsi); 51 void nsinfo__mountns_enter(struct nsinfo *nsi, struct nscookie *nc); 54 char *nsinfo__realpath(const char *path, struct nsinfo *nsi); 56 static inline void __nsinfo__zput(struct nsinfo **nsip) in __nsinfo__zput()
|
D | namespaces.c | 45 int nsinfo__init(struct nsinfo *nsi) in nsinfo__init() 112 struct nsinfo *nsinfo__new(pid_t pid) in nsinfo__new() 114 struct nsinfo *nsi; in nsinfo__new() 138 struct nsinfo *nsinfo__copy(struct nsinfo *nsi) in nsinfo__copy() 140 struct nsinfo *nnsi; in nsinfo__copy() 164 void nsinfo__delete(struct nsinfo *nsi) in nsinfo__delete() 170 struct nsinfo *nsinfo__get(struct nsinfo *nsi) in nsinfo__get() 177 void nsinfo__put(struct nsinfo *nsi) in nsinfo__put() 183 void nsinfo__mountns_enter(struct nsinfo *nsi, in nsinfo__mountns_enter() 242 char *nsinfo__realpath(const char *path, struct nsinfo *nsi) in nsinfo__realpath()
|
D | build-id.h | 39 struct nsinfo *nsi, bool is_kallsyms, 46 int build_id_cache__list_build_ids(const char *pathname, struct nsinfo *nsi, 50 const char *name, struct nsinfo *nsi,
|
D | probe-event.h | 97 struct nsinfo *nsi; /* Target namespace */ 170 struct nsinfo *nsi, bool user); 173 int show_available_funcs(const char *module, struct nsinfo *nsi, 188 struct map *get_target_map(const char *target, struct nsinfo *nsi, bool user);
|
D | util.h | 28 struct nsinfo; 37 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi);
|
D | probe-file.h | 55 struct probe_cache *probe_cache__new(const char *target, struct nsinfo *nsi); 73 static inline struct probe_cache *probe_cache__new(const char *tgt __maybe_unused, struct nsinfo *n… in probe_cache__new()
|
D | thread.h | 40 struct nsinfo *nsinfo; member
|
D | build-id.c | 540 struct nsinfo *nsi, bool is_kallsyms, in build_id_cache__cachedir() 563 int build_id_cache__list_build_ids(const char *pathname, struct nsinfo *nsi, in build_id_cache__list_build_ids() 584 struct nsinfo *nsi) in build_id_cache__add_sdt_cache() 610 struct nsinfo *nsi) in build_id_cache__find_debug() 637 struct nsinfo *nsi, bool is_kallsyms, bool is_vdso) in build_id_cache__add_s() 746 const char *name, struct nsinfo *nsi, in build_id_cache__add_b() 818 dso->nsinfo, is_kallsyms, is_vdso); in dso__cache_build_id()
|
D | util.c | 193 static int slow_copyfile(const char *from, const char *to, struct nsinfo *nsi) in slow_copyfile() 253 struct nsinfo *nsi) in copyfile_mode_ns() 310 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi) in copyfile_ns()
|
D | dso.h | 196 struct nsinfo *nsinfo; member
|
D | thread.c | 66 thread->nsinfo = nsinfo__new(pid); in thread__new() 105 nsinfo__zput(thread->nsinfo); in thread__delete()
|
D | map.c | 148 struct nsinfo *nsi = NULL; in map__new() 149 struct nsinfo *nnsi; in map__new() 167 nsi = nsinfo__get(thread->nsinfo); in map__new() 212 dso->nsinfo = nsi; in map__new()
|
D | symbol.c | 1456 struct nsinfo **nsip) in dso__find_perf_map() 1459 struct nsinfo *nsi; in dso__find_perf_map() 1460 struct nsinfo *nnsi; in dso__find_perf_map() 1506 if (dso->nsinfo && (dso__find_perf_map(newmapname, in dso__load() 1507 sizeof(newmapname), &dso->nsinfo) == 0)) { in dso__load() 1512 nsinfo__mountns_enter(dso->nsinfo, &nsc); in dso__load() 1613 nsinfo__mountns_enter(dso->nsinfo, &nsc); in dso__load()
|
D | probe-event.c | 174 struct map *get_target_map(const char *target, struct nsinfo *nsi, bool user) in get_target_map() 182 map->dso->nsinfo = nsinfo__get(nsi); in get_target_map() 362 const char *target, struct nsinfo *nsi, in find_alternative_probe_point() 454 static struct debuginfo *open_debuginfo(const char *module, struct nsinfo *nsi, in open_debuginfo() 533 struct nsinfo *nsi) in get_text_start_address() 682 struct nsinfo *nsi) in add_exec_to_probe_trace_events() 1029 struct nsinfo *nsi, bool user) in show_line_range() 1166 struct nsinfo *nsi __maybe_unused, in show_line_range() 3464 int show_available_funcs(const char *target, struct nsinfo *nsi, in show_available_funcs()
|
D | dso.c | 516 nsinfo__mountns_enter(dso->nsinfo, &nsc); in open_dso() 1253 nsinfo__zput(dso->nsinfo); in dso__delete() 1328 nsinfo__mountns_enter(pos->nsinfo, &nsc); in __dsos__read_build_ids()
|
D | probe-file.c | 416 struct nsinfo *nsi) in probe_cache__open() 562 struct probe_cache *probe_cache__new(const char *target, struct nsinfo *nsi) in probe_cache__new()
|
/Linux-v4.19/tools/perf/ |
D | builtin-buildid-cache.c | 171 static int build_id_cache__add_file(const char *filename, struct nsinfo *nsi) in build_id_cache__add_file() 194 static int build_id_cache__remove_file(const char *filename, struct nsinfo *nsi) in build_id_cache__remove_file() 218 static int build_id_cache__purge_path(const char *pathname, struct nsinfo *nsi) in build_id_cache__purge_path() 298 static int build_id_cache__update_file(const char *filename, struct nsinfo *nsi) in build_id_cache__update_file() 371 struct nsinfo *nsi = NULL; in cmd_buildid_cache()
|
D | builtin-probe.c | 61 struct nsinfo *nsi; 219 struct nsinfo *nsip; in opt_set_target_ns()
|