/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | namespaces.h | 33 DECLARE_RC_STRUCT(nsinfo) { in DECLARE_RC_STRUCT() 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 *ns [all...] |
H A D | namespaces.c | 98 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 *nns in nsinfo__copy() [all...] |
H A D | build-id.h | 19 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()
|
H A D | probe-event.h | 9 struct nsinfo; 105 struct nsinfo *nsi; /* Target namespace */ 178 struct nsinfo *nsi, bool user); 181 int show_available_funcs(const char *module, struct nsinfo *nsi, 196 struct map *get_target_map(const char *target, struct nsinfo *nsi, bool user);
|
H A D | copyfile.h | 9 struct nsinfo; 13 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi);
|
H A D | copyfile.c | 14 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 D | build-id.c | 560 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() [all...] |
H A D | probe-file.h | 55 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 *nsi __maybe_unused) in probe_cache__new()
|
H A D | thread.h | 56 struct nsinfo *nsinfo; in DECLARE_RC_STRUCT() local 267 static inline struct nsinfo *thread__nsinfo(struct thread *thread) in thread__nsinfo() 269 return RC_CHK_ACCESS(thread)->nsinfo; in thread__nsinfo()
|
H A D | map.c | 125 struct nsinfo *nsi = NULL; in map__new() 126 struct nsinfo *nnsi; in map__new() 186 nsinfo__put(dso->nsinfo); in map__new() 187 dso->nsinfo = nsi; in map__new()
|
H A D | dso.h | 216 struct nsinfo *nsinfo; member
|
H A D | dsos.c | 89 nsinfo__mountns_enter(pos->nsinfo, &nsc); in __dsos__read_build_ids() 93 } else if (errno == ENOENT && pos->nsinfo) { in __dsos__read_build_ids()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | namespaces.h | 31 struct nsinfo { struct 46 int nsinfo__init(struct nsinfo *nsi); 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 *ns [all...] |
H A D | namespaces.c | 63 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 *ns [all...] |
H A D | probe-event.h | 9 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);
|
H A D | build-id.h | 16 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,
|
H A D | copyfile.h | 9 struct nsinfo; 13 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi);
|
H A D | copyfile.c | 14 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 D | probe-file.h | 55 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 *nsi __maybe_unused) in probe_cache__new()
|
H A D | thread.h | 54 struct nsinfo *nsinfo; member
|
H A D | build-id.c | 555 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()
|
H A D | dso.h | 211 struct nsinfo *nsinfo; member
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-buildid-cache.c | 174 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()
|
H A D | builtin-inject.c | 331 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()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-buildid-cache.c | 175 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()
|