Home
last modified time | relevance | path

Searched refs:nsinfo (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/tools/perf/util/
Dnamespaces.h31 struct nsinfo { struct
46 int nsinfo__init(struct nsinfo *nsi); argument
47 struct nsinfo *nsinfo__new(pid_t pid);
48 struct nsinfo *nsinfo__copy(struct nsinfo *nsi);
49 void nsinfo__delete(struct nsinfo *nsi);
51 struct nsinfo *nsinfo__get(struct nsinfo *nsi);
52 void nsinfo__put(struct nsinfo *nsi);
54 void nsinfo__mountns_enter(struct nsinfo *nsi, struct nscookie *nc);
57 char *nsinfo__realpath(const char *path, struct nsinfo *nsi);
59 static inline void __nsinfo__zput(struct nsinfo **nsip) in __nsinfo__zput()
Dnamespaces.c63 int nsinfo__init(struct nsinfo *nsi) in nsinfo__init()
130 struct nsinfo *nsinfo__new(pid_t pid) in nsinfo__new()
132 struct nsinfo *nsi; in nsinfo__new()
156 struct nsinfo *nsinfo__copy(struct nsinfo *nsi) in nsinfo__copy()
158 struct nsinfo *nnsi; in nsinfo__copy()
182 void nsinfo__delete(struct nsinfo *nsi) in nsinfo__delete()
188 struct nsinfo *nsinfo__get(struct nsinfo *nsi) in nsinfo__get()
195 void nsinfo__put(struct nsinfo *nsi) in nsinfo__put()
201 void nsinfo__mountns_enter(struct nsinfo *nsi, in nsinfo__mountns_enter()
272 char *nsinfo__realpath(const char *path, struct nsinfo *nsi) in nsinfo__realpath()
Dbuild-id.h11 struct nsinfo;
40 struct nsinfo *nsi, bool is_kallsyms,
47 int build_id_cache__list_build_ids(const char *pathname, struct nsinfo *nsi,
51 const char *name, struct nsinfo *nsi,
Dprobe-event.h9 struct nsinfo;
101 struct nsinfo *nsi; /* Target namespace */
174 struct nsinfo *nsi, bool user);
177 int show_available_funcs(const char *module, struct nsinfo *nsi,
192 struct map *get_target_map(const char *target, struct nsinfo *nsi, bool user);
Dcopyfile.h9 struct nsinfo;
13 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi);
Dcopyfile.c14 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()
Dprobe-file.h55 struct probe_cache *probe_cache__new(const char *target, struct nsinfo *nsi);
75 static inline struct probe_cache *probe_cache__new(const char *tgt __maybe_unused, struct nsinfo *n… in probe_cache__new()
Dbuild-id.c548 struct nsinfo *nsi, bool is_kallsyms, in build_id_cache__cachedir()
571 int build_id_cache__list_build_ids(const char *pathname, struct nsinfo *nsi, in build_id_cache__list_build_ids()
592 struct nsinfo *nsi) in build_id_cache__add_sdt_cache()
618 struct nsinfo *nsi) in build_id_cache__find_debug()
645 struct nsinfo *nsi, bool is_kallsyms, bool is_vdso) in build_id_cache__add_s()
754 const char *name, struct nsinfo *nsi, in build_id_cache__add_b()
826 dso->nsinfo, is_kallsyms, is_vdso); in dso__cache_build_id()
Dthread.h45 struct nsinfo *nsinfo; member
Ddso.h198 struct nsinfo *nsinfo; member
Dthread.c69 thread->nsinfo = nsinfo__new(pid); in thread__new()
108 nsinfo__zput(thread->nsinfo); in thread__delete()
Dmap.c154 struct nsinfo *nsi = NULL; in map__new()
155 struct nsinfo *nnsi; in map__new()
173 nsi = nsinfo__get(thread->nsinfo); in map__new()
218 dso->nsinfo = nsi; in map__new()
Dsymbol.c1575 struct nsinfo **nsip) in dso__find_perf_map()
1578 struct nsinfo *nsi; in dso__find_perf_map()
1579 struct nsinfo *nnsi; in dso__find_perf_map()
1625 if (dso->nsinfo && (dso__find_perf_map(newmapname, in dso__load()
1626 sizeof(newmapname), &dso->nsinfo) == 0)) { in dso__load()
1631 nsinfo__mountns_enter(dso->nsinfo, &nsc); in dso__load()
1721 nsinfo__mountns_enter(dso->nsinfo, &nsc); in dso__load()
Ddsos.c25 nsinfo__mountns_enter(pos->nsinfo, &nsc); in __dsos__read_build_ids()
Dprobe-event.c167 struct map *get_target_map(const char *target, struct nsinfo *nsi, bool user) in get_target_map()
175 map->dso->nsinfo = nsinfo__get(nsi); in get_target_map()
355 const char *target, struct nsinfo *nsi, in find_alternative_probe_point()
447 static struct debuginfo *open_debuginfo(const char *module, struct nsinfo *nsi, in open_debuginfo()
529 struct nsinfo *nsi) in get_text_start_address()
678 struct nsinfo *nsi) in add_exec_to_probe_trace_events()
1025 struct nsinfo *nsi, bool user) in show_line_range()
1162 struct nsinfo *nsi __maybe_unused, in show_line_range()
3501 int show_available_funcs(const char *target, struct nsinfo *nsi, in show_available_funcs()
Dprobe-file.c408 struct nsinfo *nsi) in probe_cache__open()
554 struct probe_cache *probe_cache__new(const char *target, struct nsinfo *nsi) in probe_cache__new()
Ddso.c526 nsinfo__mountns_enter(dso->nsinfo, &nsc); in open_dso()
1228 nsinfo__zput(dso->nsinfo); in dso__delete()
/Linux-v5.4/tools/perf/
Dbuiltin-buildid-cache.c174 static int build_id_cache__add_file(const char *filename, struct nsinfo *nsi) in build_id_cache__add_file()
197 static int build_id_cache__remove_file(const char *filename, struct nsinfo *nsi) in build_id_cache__remove_file()
221 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()
374 struct nsinfo *nsi = NULL; in cmd_buildid_cache()
Dbuiltin-probe.c49 struct nsinfo *nsi;
207 struct nsinfo *nsip; in opt_set_target_ns()