/Linux-v6.6/tools/perf/util/ |
D | namespaces.h | 33 DECLARE_RC_STRUCT(nsinfo) { in DECLARE_RC_STRUCT() argument 49 int nsinfo__init(struct nsinfo *nsi); 50 struct nsinfo *nsinfo__new(pid_t pid); 51 struct nsinfo *nsinfo__copy(const struct nsinfo *nsi); 53 struct nsinfo *nsinfo__get(struct nsinfo *nsi); 54 void nsinfo__put(struct nsinfo *nsi); 56 bool nsinfo__need_setns(const struct nsinfo *nsi); 57 void nsinfo__clear_need_setns(struct nsinfo *nsi); 58 pid_t nsinfo__tgid(const struct nsinfo *nsi); 59 pid_t nsinfo__nstgid(const struct nsinfo *nsi); [all …]
|
D | namespaces.c | 98 int nsinfo__init(struct nsinfo *nsi) in nsinfo__init() 142 static struct nsinfo *nsinfo__alloc(void) in nsinfo__alloc() 144 struct nsinfo *res; in nsinfo__alloc() 145 RC_STRUCT(nsinfo) *nsi; in nsinfo__alloc() 154 struct nsinfo *nsinfo__new(pid_t pid) in nsinfo__new() 156 struct nsinfo *nsi; in nsinfo__new() 180 static const char *nsinfo__mntns_path(const struct nsinfo *nsi) in nsinfo__mntns_path() 185 struct nsinfo *nsinfo__copy(const struct nsinfo *nsi) in nsinfo__copy() 187 struct nsinfo *nnsi; in nsinfo__copy() 212 static refcount_t *nsinfo__refcnt(struct nsinfo *nsi) in nsinfo__refcnt() [all …]
|
D | build-id.h | 19 struct nsinfo; 58 struct nsinfo *nsi, bool is_kallsyms, 65 int build_id_cache__list_build_ids(const char *pathname, struct nsinfo *nsi, 69 struct nsinfo *nsi, bool is_kallsyms, bool is_vdso, 72 const char *name, struct nsinfo *nsi, 76 const char *name, struct nsinfo *nsi, in build_id_cache__add_s()
|
D | probe-event.h | 9 struct nsinfo; 105 struct nsinfo *nsi; /* Target namespace */ 178 struct nsinfo *nsi, bool user); 181 int show_available_funcs(const char *module, struct nsinfo *nsi, 196 struct map *get_target_map(const char *target, struct nsinfo *nsi, bool user);
|
D | copyfile.h | 9 struct nsinfo; 13 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi);
|
D | copyfile.c | 14 static int slow_copyfile(const char *from, const char *to, struct nsinfo *nsi) in slow_copyfile() 74 struct nsinfo *nsi) in copyfile_mode_ns() 133 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi) in copyfile_ns()
|
D | build-id.c | 560 struct nsinfo *nsi, bool is_kallsyms, in build_id_cache__cachedir() 578 int build_id_cache__list_build_ids(const char *pathname, struct nsinfo *nsi, in build_id_cache__list_build_ids() 599 struct nsinfo *nsi) in build_id_cache__add_sdt_cache() 625 struct nsinfo *nsi, in build_id_cache__find_debug() 679 struct nsinfo *nsi, bool is_kallsyms, bool is_vdso, in build_id_cache__add() 801 struct nsinfo *nsi, bool is_kallsyms, bool is_vdso, in __build_id_cache__add_s() 825 const char *name, struct nsinfo *nsi, in build_id_cache__add_b() 890 struct nsinfo *nsi) in filename__read_build_id_ns() 908 if (filename__read_build_id_ns(name, &bid, dso->nsinfo) >= 0) in dso__build_id_mismatch() 953 ret = build_id_cache__add_b(&dso->bid, name, dso->nsinfo, in dso__cache_build_id()
|
D | probe-file.h | 55 struct probe_cache *probe_cache__new(const char *target, struct nsinfo *nsi); 77 static inline struct probe_cache *probe_cache__new(const char *tgt __maybe_unused, struct nsinfo *n… in probe_cache__new()
|
D | thread.h | 56 struct nsinfo *nsinfo; in DECLARE_RC_STRUCT() local 267 static inline struct nsinfo *thread__nsinfo(struct thread *thread) in thread__nsinfo() 269 return RC_CHK_ACCESS(thread)->nsinfo; in thread__nsinfo()
|
D | map.c | 125 struct nsinfo *nsi = NULL; in map__new() 126 struct nsinfo *nnsi; in map__new() 186 nsinfo__put(dso->nsinfo); in map__new() 187 dso->nsinfo = nsi; in map__new()
|
D | dsos.c | 89 nsinfo__mountns_enter(pos->nsinfo, &nsc); in __dsos__read_build_ids() 93 } else if (errno == ENOENT && pos->nsinfo) { in __dsos__read_build_ids()
|
D | dso.h | 216 struct nsinfo *nsinfo; member
|
D | thread.c | 72 RC_CHK_ACCESS(thread)->nsinfo = nsinfo__new(pid); in thread__new() 118 nsinfo__zput(RC_CHK_ACCESS(thread)->nsinfo); in thread__delete()
|
D | probe-event.c | 182 struct map *get_target_map(const char *target, struct nsinfo *nsi, bool user) in get_target_map() 193 nsinfo__put(dso->nsinfo); in get_target_map() 194 dso->nsinfo = nsinfo__get(nsi); in get_target_map() 379 const char *target, struct nsinfo *nsi, in find_alternative_probe_point() 475 static struct debuginfo *open_from_debuginfod(struct dso *dso, struct nsinfo *nsi, in open_from_debuginfod() 510 struct nsinfo *nsi __maybe_unused, in open_from_debuginfod() 518 static struct debuginfo *open_debuginfo(const char *module, struct nsinfo *nsi, in open_debuginfo() 604 struct nsinfo *nsi) in get_text_start_address() 757 struct nsinfo *nsi) in add_exec_to_probe_trace_events() 1130 struct nsinfo *nsi, bool user) in show_line_range() [all …]
|
D | symbol.c | 1842 struct nsinfo **nsip) in dso__find_perf_map() 1845 struct nsinfo *nsi; in dso__find_perf_map() 1846 struct nsinfo *nnsi; in dso__find_perf_map() 1893 if (dso->nsinfo && (dso__find_perf_map(newmapname, in dso__load() 1894 sizeof(newmapname), &dso->nsinfo) == 0)) { in dso__load() 1899 nsinfo__mountns_enter(dso->nsinfo, &nsc); in dso__load() 1980 if (!is_reg && errno == ENOENT && dso->nsinfo) { in dso__load() 1997 nsinfo__mountns_enter(dso->nsinfo, &nsc); in dso__load()
|
D | dso.c | 529 return filename_with_chroot(nsinfo__pid(dso->nsinfo), filename); in dso__filename_with_chroot() 553 if (errno != ENOENT || dso->nsinfo == NULL) in __open_dso() 604 nsinfo__mountns_enter(dso->nsinfo, &nsc); in open_dso() 1386 nsinfo__zput(dso->nsinfo); in dso__delete()
|
D | jitdump.c | 39 struct nsinfo *nsi; 739 jit_detect(char *mmap_name, pid_t pid, struct nsinfo *nsi) in jit_detect() 829 struct nsinfo *nsi; in jit_process()
|
D | probe-file.c | 451 struct nsinfo *nsi) in probe_cache__open() 601 struct probe_cache *probe_cache__new(const char *target, struct nsinfo *nsi) in probe_cache__new()
|
D | synthetic-events.c | 371 struct nsinfo *nsi; in perf_record_mmap2__read_build_id()
|
D | annotate.c | 1792 if (access(filename, R_OK) && errno == ENOENT && dso->nsinfo) { in dso__disassemble_filename()
|
/Linux-v6.6/tools/perf/ |
D | builtin-buildid-cache.c | 175 static int build_id_cache__add_file(const char *filename, struct nsinfo *nsi) in build_id_cache__add_file() 198 static int build_id_cache__remove_file(const char *filename, struct nsinfo *nsi) in build_id_cache__remove_file() 222 static int build_id_cache__purge_path(const char *pathname, struct nsinfo *nsi) in build_id_cache__purge_path() 301 static int build_id_cache__update_file(const char *filename, struct nsinfo *nsi) in build_id_cache__update_file() 388 struct nsinfo *nsi = NULL; in cmd_buildid_cache()
|
D | builtin-probe.c | 49 struct nsinfo *nsi; 207 struct nsinfo *nsip; in opt_set_target_ns()
|
D | builtin-inject.c | 417 struct nsinfo *nsi = NULL; in findnew_dso() 418 struct nsinfo *nnsi; in findnew_dso() 449 nsinfo__put(dso->nsinfo); in findnew_dso() 450 dso->nsinfo = nsi; in findnew_dso() 638 nsinfo__mountns_enter(dso->nsinfo, &nsc); in dso__read_build_id() 641 else if (dso->nsinfo) { in dso__read_build_id()
|