Home
last modified time | relevance | path

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

/linux/tools/perf/util/
A Dnamespaces.h32 struct nsinfo { struct
48 int nsinfo__init(struct nsinfo *nsi); argument
49 struct nsinfo *nsinfo__new(pid_t pid);
50 struct nsinfo *nsinfo__copy(struct nsinfo *nsi);
51 void nsinfo__delete(struct nsinfo *nsi);
53 struct nsinfo *nsinfo__get(struct nsinfo *nsi);
54 void nsinfo__put(struct nsinfo *nsi);
56 void nsinfo__mountns_enter(struct nsinfo *nsi, struct nscookie *nc);
59 char *nsinfo__realpath(const char *path, struct nsinfo *nsi);
60 int nsinfo__stat(const char *filename, struct stat *st, struct nsinfo *nsi);
[all …]
A Dnamespaces.c63 int nsinfo__init(struct nsinfo *nsi) in nsinfo__init()
135 struct nsinfo *nsinfo__new(pid_t pid) in nsinfo__new()
137 struct nsinfo *nsi; in nsinfo__new()
162 struct nsinfo *nsinfo__copy(struct nsinfo *nsi) in nsinfo__copy()
164 struct nsinfo *nnsi; in nsinfo__copy()
189 void nsinfo__delete(struct nsinfo *nsi) in nsinfo__delete()
195 struct nsinfo *nsinfo__get(struct nsinfo *nsi) in nsinfo__get()
202 void nsinfo__put(struct nsinfo *nsi) in nsinfo__put()
208 void nsinfo__mountns_enter(struct nsinfo *nsi, in nsinfo__mountns_enter()
279 char *nsinfo__realpath(const char *path, struct nsinfo *nsi) in nsinfo__realpath()
[all …]
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);
71 const char *name, struct nsinfo *nsi,
A Dprobe-event.h9 struct nsinfo;
105 struct nsinfo *nsi; /* Target namespace */
179 struct nsinfo *nsi, bool user);
182 int show_available_funcs(const char *module, struct nsinfo *nsi,
197 struct map *get_target_map(const char *target, struct nsinfo *nsi, bool user);
A Dcopyfile.h9 struct nsinfo;
13 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi);
A 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()
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 *n… in probe_cache__new()
A Dbuild-id.c564 struct nsinfo *nsi, bool is_kallsyms, in build_id_cache__cachedir()
587 int build_id_cache__list_build_ids(const char *pathname, struct nsinfo *nsi, in build_id_cache__list_build_ids()
608 struct nsinfo *nsi) in build_id_cache__add_sdt_cache()
634 struct nsinfo *nsi) in build_id_cache__find_debug()
677 struct nsinfo *nsi, bool is_kallsyms, bool is_vdso) in build_id_cache__add()
791 struct nsinfo *nsi, bool is_kallsyms, bool is_vdso) in build_id_cache__add_s()
814 const char *name, struct nsinfo *nsi, in build_id_cache__add_b()
889 return build_id_cache__add_b(&dso->bid, name, dso->nsinfo, in dso__cache_build_id()
A Dthread.h54 struct nsinfo *nsinfo; member
A Ddso.h212 struct nsinfo *nsinfo; member
A 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()
A Djitdump.c39 struct nsinfo *nsi;
742 jit_detect(char *mmap_name, pid_t pid, struct nsinfo *nsi) in jit_detect()
828 struct nsinfo *nsi; in jit_process()
839 nsi = nsinfo__get(thread->nsinfo); in jit_process()
A Dprobe-event.c175 struct map *get_target_map(const char *target, struct nsinfo *nsi, bool user) in get_target_map()
183 nsinfo__put(map->dso->nsinfo); in get_target_map()
184 map->dso->nsinfo = nsinfo__get(nsi); in get_target_map()
368 const char *target, struct nsinfo *nsi, in find_alternative_probe_point()
498 struct nsinfo *nsi __maybe_unused, in open_from_debuginfod()
506 static struct debuginfo *open_debuginfo(const char *module, struct nsinfo *nsi, in open_debuginfo()
592 struct nsinfo *nsi) in get_text_start_address()
745 struct nsinfo *nsi) in add_exec_to_probe_trace_events()
1117 struct nsinfo *nsi, bool user) in show_line_range()
1254 struct nsinfo *nsi __maybe_unused, in show_line_range()
[all …]
A Dthread.c70 thread->nsinfo = nsinfo__new(pid); in thread__new()
109 nsinfo__zput(thread->nsinfo); in thread__delete()
A Dsymbol.c1729 struct nsinfo **nsip) in dso__find_perf_map()
1732 struct nsinfo *nsi; in dso__find_perf_map()
1733 struct nsinfo *nnsi; in dso__find_perf_map()
1779 if (dso->nsinfo && (dso__find_perf_map(newmapname, in dso__load()
1780 sizeof(newmapname), &dso->nsinfo) == 0)) { in dso__load()
1785 nsinfo__mountns_enter(dso->nsinfo, &nsc); in dso__load()
1875 nsinfo__mountns_enter(dso->nsinfo, &nsc); in dso__load()
A Ddsos.c75 nsinfo__mountns_enter(pos->nsinfo, &nsc); in __dsos__read_build_ids()
A Dprobe-file.c451 struct nsinfo *nsi) in probe_cache__open()
601 struct probe_cache *probe_cache__new(const char *target, struct nsinfo *nsi) in probe_cache__new()
A Ddso.c552 nsinfo__mountns_enter(dso->nsinfo, &nsc); in open_dso()
1327 nsinfo__zput(dso->nsinfo); in dso__delete()
/linux/tools/perf/
A Dbuiltin-buildid-cache.c175 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()
384 struct nsinfo *nsi = NULL; in cmd_buildid_cache()
A Dbuiltin-inject.c335 struct nsinfo *nsi = NULL; in findnew_dso()
336 struct nsinfo *nnsi; in findnew_dso()
347 nsi = nsinfo__get(thread->nsinfo); in findnew_dso()
366 nsinfo__put(dso->nsinfo); in findnew_dso()
367 dso->nsinfo = nsi; in findnew_dso()
553 nsinfo__mountns_enter(dso->nsinfo, &nsc); in dso__read_build_id()
A Dbuiltin-probe.c50 struct nsinfo *nsi;
208 struct nsinfo *nsip; in opt_set_target_ns()

Completed in 48 milliseconds