Searched refs:nsinfo (Results 1 - 23 of 23) sorted by relevance

/linux-master/tools/perf/util/
H A Dnamespaces.h33 DECLARE_RC_STRUCT(nsinfo) {
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 *ns
[all...]
H A Dcopyfile.h9 struct nsinfo;
13 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi);
H A Dnamespaces.c98 int nsinfo__init(struct nsinfo *nsi)
142 static struct nsinfo *nsinfo__alloc(void)
144 struct nsinfo *res;
145 RC_STRUCT(nsinfo) *nsi;
154 struct nsinfo *nsinfo__new(pid_t pid)
156 struct nsinfo *nsi;
180 static const char *nsinfo__mntns_path(const struct nsinfo *nsi)
185 struct nsinfo *nsinfo__copy(const struct nsinfo *nsi)
187 struct nsinfo *nns
[all...]
H A Dbuild-id.h19 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,
H A Dprobe-event.h9 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);
H A Dprobe-file.h55 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 *nsi __maybe_unused)
H A Dcopyfile.c14 static int slow_copyfile(const char *from, const char *to, struct nsinfo *nsi)
74 struct nsinfo *nsi)
133 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi)
H A Dthread.h58 struct nsinfo *nsinfo; local
274 static inline struct nsinfo *thread__nsinfo(struct thread *thread)
276 return RC_CHK_ACCESS(thread)->nsinfo;
H A Dbuild-id.c560 struct nsinfo *nsi, bool is_kallsyms,
578 int build_id_cache__list_build_ids(const char *pathname, struct nsinfo *nsi,
599 struct nsinfo *nsi)
625 struct nsinfo *nsi,
679 struct nsinfo *nsi, bool is_kallsyms, bool is_vdso,
801 struct nsinfo *nsi, bool is_kallsyms, bool is_vdso,
825 const char *name, struct nsinfo *nsi,
890 struct nsinfo *nsi)
908 if (filename__read_build_id_ns(name, &bid, dso->nsinfo) >= 0)
953 ret = build_id_cache__add_b(&dso->bid, name, dso->nsinfo,
[all...]
H A Dmap.c124 struct nsinfo *nsi = NULL;
125 struct nsinfo *nnsi;
186 nsinfo__put(dso->nsinfo);
187 dso->nsinfo = nsi;
H A Ddsos.c89 nsinfo__mountns_enter(pos->nsinfo, &nsc);
93 } else if (errno == ENOENT && pos->nsinfo) {
H A Ddso.h220 struct nsinfo *nsinfo; member in struct:dso
H A Dthread.c72 RC_CHK_ACCESS(thread)->nsinfo = nsinfo__new(pid);
118 nsinfo__zput(RC_CHK_ACCESS(thread)->nsinfo);
H A Dsymbol.c1746 struct nsinfo **nsip)
1749 struct nsinfo *nsi;
1750 struct nsinfo *nnsi;
1797 if (dso->nsinfo && (dso__find_perf_map(newmapname,
1798 sizeof(newmapname), &dso->nsinfo) == 0)) {
1803 nsinfo__mountns_enter(dso->nsinfo, &nsc);
1884 if (!is_reg && errno == ENOENT && dso->nsinfo) {
1901 nsinfo__mountns_enter(dso->nsinfo, &nsc);
H A Ddso.c531 return filename_with_chroot(nsinfo__pid(dso->nsinfo), filename);
555 if (errno != ENOENT || dso->nsinfo == NULL)
606 nsinfo__mountns_enter(dso->nsinfo, &nsc);
1392 nsinfo__zput(dso->nsinfo);
H A Djitdump.c39 struct nsinfo *nsi;
740 jit_detect(char *mmap_name, pid_t pid, struct nsinfo *nsi)
830 struct nsinfo *nsi;
H A Dprobe-event.c194 struct map *get_target_map(const char *target, struct nsinfo *nsi, bool user)
205 nsinfo__put(dso->nsinfo);
206 dso->nsinfo = nsinfo__get(nsi);
392 const char *target, struct nsinfo *nsi,
488 static struct debuginfo *open_from_debuginfod(struct dso *dso, struct nsinfo *nsi,
523 struct nsinfo *nsi __maybe_unused,
531 static struct debuginfo *open_debuginfo(const char *module, struct nsinfo *nsi,
617 struct nsinfo *nsi)
770 struct nsinfo *nsi)
1143 struct nsinfo *ns
[all...]
H A Dprobe-file.c451 struct nsinfo *nsi)
601 struct probe_cache *probe_cache__new(const char *target, struct nsinfo *nsi)
H A Dsynthetic-events.c371 struct nsinfo *nsi;
H A Dannotate.c1903 if (access(filename, R_OK) && errno == ENOENT && dso->nsinfo) {
/linux-master/tools/perf/
H A Dbuiltin-buildid-cache.c175 static int build_id_cache__add_file(const char *filename, struct nsinfo *nsi)
198 static int build_id_cache__remove_file(const char *filename, struct nsinfo *nsi)
222 static int build_id_cache__purge_path(const char *pathname, struct nsinfo *nsi)
303 static int build_id_cache__update_file(const char *filename, struct nsinfo *nsi)
390 struct nsinfo *nsi = NULL;
H A Dbuiltin-probe.c49 struct nsinfo *nsi;
207 struct nsinfo *nsip;
H A Dbuiltin-inject.c417 struct nsinfo *nsi = NULL;
418 struct nsinfo *nnsi;
449 nsinfo__put(dso->nsinfo);
450 dso->nsinfo = nsi;
638 nsinfo__mountns_enter(dso->nsinfo, &nsc);
641 else if (dso->nsinfo) {

Completed in 214 milliseconds