Home
last modified time | relevance | path

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

/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.h16 struct nsinfo;
50 struct nsinfo *nsi, bool is_kallsyms,
57 int build_id_cache__list_build_ids(const char *pathname, struct nsinfo *nsi,
61 const char *name, struct nsinfo *nsi,
Dcopyfile.h9 struct nsinfo;
13 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi);
Dprobe-event.h9 struct nsinfo;
104 struct nsinfo *nsi; /* Target namespace */
177 struct nsinfo *nsi, bool user);
180 int show_available_funcs(const char *module, struct nsinfo *nsi,
195 struct map *get_target_map(const char *target, struct nsinfo *nsi, bool user);
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);
77 static inline struct probe_cache *probe_cache__new(const char *tgt __maybe_unused, struct nsinfo *n… in probe_cache__new()
Dthread.h54 struct nsinfo *nsinfo; member
Dbuild-id.c555 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()
667 struct nsinfo *nsi, bool is_kallsyms, bool is_vdso) in build_id_cache__add_s()
776 const char *name, struct nsinfo *nsi, in build_id_cache__add_b()
847 return build_id_cache__add_b(&dso->bid, name, dso->nsinfo, in dso__cache_build_id()
Ddso.h211 struct nsinfo *nsinfo; member
Dmap.c136 struct nsinfo *nsi = NULL; in map__new()
137 struct nsinfo *nnsi; in map__new()
150 nsi = nsinfo__get(thread->nsinfo); in map__new()
195 dso->nsinfo = nsi; in map__new()
Dthread.c70 thread->nsinfo = nsinfo__new(pid); in thread__new()
109 nsinfo__zput(thread->nsinfo); in thread__delete()
Dprobe-event.c176 struct map *get_target_map(const char *target, struct nsinfo *nsi, bool user) in get_target_map()
184 nsinfo__put(map->dso->nsinfo); in get_target_map()
185 map->dso->nsinfo = nsinfo__get(nsi); in get_target_map()
369 const char *target, struct nsinfo *nsi, in find_alternative_probe_point()
465 static struct debuginfo *open_from_debuginfod(struct dso *dso, struct nsinfo *nsi, in open_from_debuginfod()
500 struct nsinfo *nsi __maybe_unused, in open_from_debuginfod()
508 static struct debuginfo *open_debuginfo(const char *module, struct nsinfo *nsi, in open_debuginfo()
594 struct nsinfo *nsi) in get_text_start_address()
743 struct nsinfo *nsi) in add_exec_to_probe_trace_events()
1102 struct nsinfo *nsi, bool user) in show_line_range()
[all …]
Dsymbol.c1738 struct nsinfo **nsip) in dso__find_perf_map()
1741 struct nsinfo *nsi; in dso__find_perf_map()
1742 struct nsinfo *nnsi; in dso__find_perf_map()
1788 if (dso->nsinfo && (dso__find_perf_map(newmapname, in dso__load()
1789 sizeof(newmapname), &dso->nsinfo) == 0)) { in dso__load()
1794 nsinfo__mountns_enter(dso->nsinfo, &nsc); in dso__load()
1884 nsinfo__mountns_enter(dso->nsinfo, &nsc); in dso__load()
Ddsos.c86 nsinfo__mountns_enter(pos->nsinfo, &nsc); in __dsos__read_build_ids()
Dprobe-file.c416 struct nsinfo *nsi) in probe_cache__open()
566 struct probe_cache *probe_cache__new(const char *target, struct nsinfo *nsi) in probe_cache__new()
Ddso.c542 nsinfo__mountns_enter(dso->nsinfo, &nsc); in open_dso()
1313 nsinfo__zput(dso->nsinfo); in dso__delete()
/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()
300 static int build_id_cache__update_file(const char *filename, struct nsinfo *nsi) in build_id_cache__update_file()
373 struct nsinfo *nsi = NULL; in cmd_buildid_cache()
Dbuiltin-inject.c331 struct nsinfo *nsi = NULL; in findnew_dso()
332 struct nsinfo *nnsi; in findnew_dso()
343 nsi = nsinfo__get(thread->nsinfo); in findnew_dso()
362 nsinfo__put(dso->nsinfo); in findnew_dso()
363 dso->nsinfo = nsi; in findnew_dso()
525 nsinfo__mountns_enter(dso->nsinfo, &nsc); in dso__read_build_id()
Dbuiltin-probe.c49 struct nsinfo *nsi;
207 struct nsinfo *nsip; in opt_set_target_ns()