/linux-master/tools/perf/util/ |
H A D | namespaces.h | 33 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 D | copyfile.h | 9 struct nsinfo; 13 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi);
|
H A D | namespaces.c | 98 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 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,
|
H A 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);
|
H A 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 *nsi __maybe_unused)
|
H A D | copyfile.c | 14 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 D | thread.h | 58 struct nsinfo *nsinfo; local 274 static inline struct nsinfo *thread__nsinfo(struct thread *thread) 276 return RC_CHK_ACCESS(thread)->nsinfo;
|
H A D | build-id.c | 560 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 D | map.c | 124 struct nsinfo *nsi = NULL; 125 struct nsinfo *nnsi; 186 nsinfo__put(dso->nsinfo); 187 dso->nsinfo = nsi;
|
H A D | dsos.c | 89 nsinfo__mountns_enter(pos->nsinfo, &nsc); 93 } else if (errno == ENOENT && pos->nsinfo) {
|
H A D | dso.h | 220 struct nsinfo *nsinfo; member in struct:dso
|
H A D | thread.c | 72 RC_CHK_ACCESS(thread)->nsinfo = nsinfo__new(pid); 118 nsinfo__zput(RC_CHK_ACCESS(thread)->nsinfo);
|
H A D | symbol.c | 1746 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 D | dso.c | 531 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 D | jitdump.c | 39 struct nsinfo *nsi; 740 jit_detect(char *mmap_name, pid_t pid, struct nsinfo *nsi) 830 struct nsinfo *nsi;
|
H A D | probe-event.c | 194 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 D | probe-file.c | 451 struct nsinfo *nsi) 601 struct probe_cache *probe_cache__new(const char *target, struct nsinfo *nsi)
|
H A D | synthetic-events.c | 371 struct nsinfo *nsi;
|
H A D | annotate.c | 1903 if (access(filename, R_OK) && errno == ENOENT && dso->nsinfo) {
|
/linux-master/tools/perf/ |
H A D | builtin-buildid-cache.c | 175 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 D | builtin-probe.c | 49 struct nsinfo *nsi; 207 struct nsinfo *nsip;
|
H A D | builtin-inject.c | 417 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) {
|