Home
last modified time | relevance | path

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

/linux-6.3-rc2/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(const struct nsinfo *nsi);
52 struct nsinfo *nsinfo__get(struct nsinfo *nsi);
53 void nsinfo__put(struct nsinfo *nsi);
55 bool nsinfo__need_setns(const struct nsinfo *nsi);
56 void nsinfo__clear_need_setns(struct nsinfo *nsi);
57 pid_t nsinfo__tgid(const struct nsinfo *nsi);
58 pid_t nsinfo__nstgid(const struct nsinfo *nsi);
[all …]
A Dnamespaces.c99 int nsinfo__init(struct nsinfo *nsi) in nsinfo__init()
142 struct nsinfo *nsinfo__new(pid_t pid) in nsinfo__new()
144 struct nsinfo *nsi; in nsinfo__new()
169 struct nsinfo *nsinfo__copy(const struct nsinfo *nsi) in nsinfo__copy()
171 struct nsinfo *nnsi; in nsinfo__copy()
196 static void nsinfo__delete(struct nsinfo *nsi) in nsinfo__delete()
202 struct nsinfo *nsinfo__get(struct nsinfo *nsi) in nsinfo__get()
209 void nsinfo__put(struct nsinfo *nsi) in nsinfo__put()
225 pid_t nsinfo__tgid(const struct nsinfo *nsi) in nsinfo__tgid()
235 pid_t nsinfo__pid(const struct nsinfo *nsi) in nsinfo__pid()
[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,
72 const char *name, struct nsinfo *nsi,
76 const char *name, struct nsinfo *nsi, in build_id_cache__add_s()
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 Dbuild-id.c558 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()
679 struct nsinfo *nsi, bool is_kallsyms, bool is_vdso, in build_id_cache__add()
801 struct nsinfo *nsi, bool is_kallsyms, bool is_vdso, in __build_id_cache__add_s()
825 const char *name, struct nsinfo *nsi, in build_id_cache__add_b()
890 struct nsinfo *nsi) in filename__read_build_id_ns()
908 if (filename__read_build_id_ns(name, &bid, dso->nsinfo) >= 0) in dso__build_id_mismatch()
953 ret = build_id_cache__add_b(&dso->bid, name, dso->nsinfo, in dso__cache_build_id()
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 Dmap.c125 struct nsinfo *nsi = NULL; in map__new()
126 struct nsinfo *nnsi; in map__new()
139 nsi = nsinfo__get(thread->nsinfo); in map__new()
185 nsinfo__put(dso->nsinfo); in map__new()
186 dso->nsinfo = nsi; in map__new()
A Ddsos.c89 nsinfo__mountns_enter(pos->nsinfo, &nsc); in __dsos__read_build_ids()
93 } else if (errno == ENOENT && pos->nsinfo) { in __dsos__read_build_ids()
94 char *new_name = filename_with_chroot(pos->nsinfo->pid, in __dsos__read_build_ids()
A Dthread.h55 struct nsinfo *nsinfo; member
A Ddso.h215 struct nsinfo *nsinfo; member
A Dsymbol.c1768 struct nsinfo **nsip) in dso__find_perf_map()
1771 struct nsinfo *nsi; in dso__find_perf_map()
1772 struct nsinfo *nnsi; in dso__find_perf_map()
1819 if (dso->nsinfo && (dso__find_perf_map(newmapname, in dso__load()
1820 sizeof(newmapname), &dso->nsinfo) == 0)) { in dso__load()
1825 nsinfo__mountns_enter(dso->nsinfo, &nsc); in dso__load()
1906 if (!is_reg && errno == ENOENT && dso->nsinfo) { in dso__load()
1907 char *new_name = filename_with_chroot(dso->nsinfo->pid, in dso__load()
1924 nsinfo__mountns_enter(dso->nsinfo, &nsc); in dso__load()
A Djitdump.c39 struct nsinfo *nsi;
735 jit_detect(char *mmap_name, pid_t pid, struct nsinfo *nsi) in jit_detect()
821 struct nsinfo *nsi; in jit_process()
832 nsi = nsinfo__get(thread->nsinfo); in jit_process()
A Dthread.c71 thread->nsinfo = nsinfo__new(pid); in thread__new()
110 nsinfo__zput(thread->nsinfo); in thread__delete()
A Dprobe-event.c176 struct map *get_target_map(const char *target, struct nsinfo *nsi, bool user) in get_target_map()
185 nsinfo__put(map->dso->nsinfo); in get_target_map()
186 map->dso->nsinfo = nsinfo__get(nsi); in get_target_map()
371 const char *target, struct nsinfo *nsi, in find_alternative_probe_point()
501 struct nsinfo *nsi __maybe_unused, in open_from_debuginfod()
509 static struct debuginfo *open_debuginfo(const char *module, struct nsinfo *nsi, in open_debuginfo()
595 struct nsinfo *nsi) in get_text_start_address()
748 struct nsinfo *nsi) in add_exec_to_probe_trace_events()
1120 struct nsinfo *nsi, bool user) in show_line_range()
1257 struct nsinfo *nsi __maybe_unused, in show_line_range()
[all …]
A Ddso.c515 if (errno != ENOENT || dso->nsinfo == NULL) in __open_dso()
518 new_name = filename_with_chroot(dso->nsinfo->pid, name); in __open_dso()
566 nsinfo__mountns_enter(dso->nsinfo, &nsc); in open_dso()
1343 nsinfo__zput(dso->nsinfo); in dso__delete()
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 Dannotate.c1701 if (access(filename, R_OK) && errno == ENOENT && dso->nsinfo) { in dso__disassemble_filename()
1702 char *new_name = filename_with_chroot(dso->nsinfo->pid, in dso__disassemble_filename()
A Dsynthetic-events.c371 struct nsinfo *nsi; in perf_record_mmap2__read_build_id()
/linux-6.3-rc2/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()
388 struct nsinfo *nsi = NULL; in cmd_buildid_cache()
A Dbuiltin-inject.c408 struct nsinfo *nsi = NULL; in findnew_dso()
409 struct nsinfo *nnsi; in findnew_dso()
420 nsi = nsinfo__get(thread->nsinfo); in findnew_dso()
440 nsinfo__put(dso->nsinfo); in findnew_dso()
441 dso->nsinfo = nsi; in findnew_dso()
629 nsinfo__mountns_enter(dso->nsinfo, &nsc); in dso__read_build_id()
632 else if (dso->nsinfo) { in dso__read_build_id()
635 new_name = filename_with_chroot(dso->nsinfo->pid, in dso__read_build_id()
A Dbuiltin-probe.c49 struct nsinfo *nsi;
207 struct nsinfo *nsip; in opt_set_target_ns()

Completed in 70 milliseconds