Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dnamespaces.h33 DECLARE_RC_STRUCT(nsinfo) { in DECLARE_RC_STRUCT() argument
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 *nsi);
58 pid_t nsinfo__tgid(const struct nsinfo *nsi);
59 pid_t nsinfo__nstgid(const struct nsinfo *nsi);
[all …]
H A Dnamespaces.c98 int nsinfo__init(struct nsinfo *nsi) in nsinfo__init()
142 static struct nsinfo *nsinfo__alloc(void) in nsinfo__alloc()
144 struct nsinfo *res; in nsinfo__alloc()
145 RC_STRUCT(nsinfo) *nsi; in nsinfo__alloc()
154 struct nsinfo *nsinfo__new(pid_t pid) in nsinfo__new()
156 struct nsinfo *nsi; in nsinfo__new()
180 static const char *nsinfo__mntns_path(const struct nsinfo *nsi) in nsinfo__mntns_path()
185 struct nsinfo *nsinfo__copy(const struct nsinfo *nsi) in nsinfo__copy()
187 struct nsinfo *nnsi; in nsinfo__copy()
212 static refcount_t *nsinfo__refcnt(struct nsinfo *nsi) in nsinfo__refcnt()
[all …]
H A Dbuild-id.h21 struct nsinfo;
54 struct nsinfo *nsi, bool is_kallsyms,
61 int build_id_cache__list_build_ids(const char *pathname, struct nsinfo *nsi,
65 struct nsinfo *nsi, bool is_kallsyms, bool is_vdso,
68 const char *name, struct nsinfo *nsi,
72 const char *name, struct nsinfo *nsi, in build_id_cache__add_s()
H A Dprobe-event.h9 struct nsinfo;
105 struct nsinfo *nsi; /* Target namespace */
175 struct nsinfo *nsi, bool user);
178 int show_available_funcs(const char *module, struct nsinfo *nsi,
193 struct map *get_target_map(const char *target, struct nsinfo *nsi, bool user);
H A Ddso.h196 struct nsinfo *nsinfo; in DECLARE_RC_STRUCT() local
508 static inline struct nsinfo *dso__nsinfo(struct dso *dso) in dso__nsinfo()
510 return RC_CHK_ACCESS(dso)->nsinfo; in dso__nsinfo()
513 static inline const struct nsinfo *dso__nsinfo_const(const struct dso *dso) in dso__nsinfo_const()
515 return RC_CHK_ACCESS(dso)->nsinfo; in dso__nsinfo_const()
518 static inline struct nsinfo **dso__nsinfo_ptr(struct dso *dso) in dso__nsinfo_ptr()
520 return &RC_CHK_ACCESS(dso)->nsinfo; in dso__nsinfo_ptr()
523 void dso__set_nsinfo(struct dso *dso, struct nsinfo *nsi);
H A Dcopyfile.h9 struct nsinfo;
13 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi);
H 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()
H A Dthread.h59 struct nsinfo *nsinfo; in DECLARE_RC_STRUCT() local
275 static inline struct nsinfo *thread__nsinfo(struct thread *thread) in thread__nsinfo()
277 return RC_CHK_ACCESS(thread)->nsinfo; in thread__nsinfo()
H A Dprobe-file.h54 struct probe_cache *probe_cache__new(const char *target, struct nsinfo *nsi);
76 static inline struct probe_cache *probe_cache__new(const char *tgt __maybe_unused, struct nsinfo *nsi __maybe_unused)
H A Dbuild-id.c500 struct nsinfo *nsi, bool is_kallsyms, in build_id_cache__cachedir()
518 int build_id_cache__list_build_ids(const char *pathname, struct nsinfo *nsi, in build_id_cache__list_build_ids()
539 struct nsinfo *nsi) in build_id_cache__add_sdt_cache()
565 struct nsinfo *nsi, in build_id_cache__find_debug()
619 struct nsinfo *nsi, bool is_kallsyms, bool is_vdso, in build_id_cache__add()
741 struct nsinfo *nsi, bool is_kallsyms, bool is_vdso, in __build_id_cache__add_s()
765 const char *name, struct nsinfo *nsi, in build_id_cache__add_b()
830 struct nsinfo *nsi) in filename__read_build_id_ns()
H A Dthread.c68 RC_CHK_ACCESS(thread)->nsinfo = nsinfo__new(pid); in thread__new()
114 nsinfo__zput(RC_CHK_ACCESS(thread)->nsinfo); in thread__delete()
H A Dprobe-event.c199 struct map *get_target_map(const char *target, struct nsinfo *nsi, bool user) in get_target_map()
396 const char *target, struct nsinfo *nsi, in find_alternative_probe_point()
492 static struct debuginfo *open_from_debuginfod(struct dso *dso, struct nsinfo *nsi, in open_from_debuginfod()
527 struct nsinfo *nsi __maybe_unused, in open_from_debuginfod()
535 static struct debuginfo *open_debuginfo(const char *module, struct nsinfo *nsi, in open_debuginfo()
621 struct nsinfo *nsi) in get_text_start_address()
774 struct nsinfo *nsi) in add_exec_to_probe_trace_events()
1162 struct nsinfo *nsi, bool user) in show_line_range()
1299 struct nsinfo *nsi __maybe_unused, in show_line_range()
3757 int show_available_funcs(const char *target, struct nsinfo *nsi, in show_available_funcs()
H A Djitdump.c39 struct nsinfo *nsi;
740 jit_detect(const char *mmap_name, pid_t pid, struct nsinfo *nsi) in jit_detect()
830 struct nsinfo *nsi; in jit_process()
H A Dmap.c129 struct nsinfo *nsi = NULL; in map__new()
130 struct nsinfo *nnsi; in map__new()
H A Ddso.c43 void dso__set_nsinfo(struct dso *dso, struct nsinfo *nsi) in dso__set_nsinfo()
45 nsinfo__put(RC_CHK_ACCESS(dso)->nsinfo); in dso__set_nsinfo()
46 RC_CHK_ACCESS(dso)->nsinfo = nsi; in dso__set_nsinfo()
1505 nsinfo__zput(RC_CHK_ACCESS(dso)->nsinfo); in dso__delete()
H A Dprobe-file.c432 struct nsinfo *nsi) in probe_cache_entry__get_event()
582 struct probe_cache *probe_cache__new(const char *target, struct nsinfo *nsi) in probe_cache__purge()
H A Dsymbol.c1754 struct nsinfo **nsip) in dso__find_perf_map()
1757 struct nsinfo *nsi; in dso__find_perf_map()
1758 struct nsinfo *nnsi; in dso__find_perf_map()
H A Dsynthetic-events.c371 struct nsinfo *nsi; in perf_record_mmap2__read_build_id()
/linux/tools/perf/
H 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()
303 static int build_id_cache__update_file(const char *filename, struct nsinfo *nsi) in build_id_cache__update_file()
390 struct nsinfo *nsi = NULL; in cmd_buildid_cache()
H A Dbuiltin-probe.c49 struct nsinfo *nsi;
207 struct nsinfo *nsip; in opt_set_target_ns()
H A Dbuiltin-inject.c403 struct nsinfo *nsi = NULL; in findnew_dso()
404 struct nsinfo *nnsi; in findnew_dso()