| /tools/perf/util/ |
| A D | namespaces.h | 33 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); 58 pid_t nsinfo__tgid(const struct nsinfo *nsi); 59 pid_t nsinfo__nstgid(const struct nsinfo *nsi); 60 pid_t nsinfo__pid(const struct nsinfo *nsi); 61 bool nsinfo__in_pidns(const struct nsinfo *nsi); [all …]
|
| 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() 185 struct nsinfo *nsinfo__copy(const struct nsinfo *nsi) in nsinfo__copy() 187 struct nsinfo *nnsi; in nsinfo__copy() 226 struct nsinfo *nsinfo__get(struct nsinfo *nsi) in nsinfo__get() 228 struct nsinfo *result; in nsinfo__get() [all …]
|
| A D | build-id.h | 21 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()
|
| A D | copyfile.h | 9 struct nsinfo; 13 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi);
|
| A D | probe-event.h | 9 struct nsinfo; 106 struct nsinfo *nsi; /* Target namespace */ 176 struct nsinfo *nsi, bool user); 179 int show_available_funcs(const char *module, struct nsinfo *nsi, 194 struct map *get_target_map(const char *target, struct nsinfo *nsi, bool user);
|
| 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()
|
| A D | probe-file.h | 54 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 *n… in probe_cache__new()
|
| A D | dso.h | 274 struct nsinfo *nsinfo; in DECLARE_RC_STRUCT() local 580 static inline struct nsinfo *dso__nsinfo(struct dso *dso) in dso__nsinfo() 582 return RC_CHK_ACCESS(dso)->nsinfo; in dso__nsinfo() 585 static inline const struct nsinfo *dso__nsinfo_const(const struct dso *dso) in dso__nsinfo_const() 587 return RC_CHK_ACCESS(dso)->nsinfo; in dso__nsinfo_const() 590 static inline struct nsinfo **dso__nsinfo_ptr(struct dso *dso) in dso__nsinfo_ptr() 592 return &RC_CHK_ACCESS(dso)->nsinfo; in dso__nsinfo_ptr() 595 void dso__set_nsinfo(struct dso *dso, struct nsinfo *nsi);
|
| A D | thread.h | 59 struct nsinfo *nsinfo; in DECLARE_RC_STRUCT() local 280 static inline struct nsinfo *thread__nsinfo(struct thread *thread) in thread__nsinfo() 282 return RC_CHK_ACCESS(thread)->nsinfo; in thread__nsinfo()
|
| A D | build-id.c | 508 struct nsinfo *nsi, bool is_kallsyms, in build_id_cache__cachedir() 526 int build_id_cache__list_build_ids(const char *pathname, struct nsinfo *nsi, in build_id_cache__list_build_ids() 547 struct nsinfo *nsi) in build_id_cache__add_sdt_cache() 573 struct nsinfo *nsi, in build_id_cache__find_debug() 627 struct nsinfo *nsi, bool is_kallsyms, bool is_vdso, in build_id_cache__add() 749 struct nsinfo *nsi, bool is_kallsyms, bool is_vdso, in __build_id_cache__add_s() 773 const char *name, struct nsinfo *nsi, in build_id_cache__add_b() 838 struct nsinfo *nsi) in filename__read_build_id_ns()
|
| A D | thread.c | 73 RC_CHK_ACCESS(thread)->nsinfo = nsinfo__new(pid); in thread__new() 119 nsinfo__zput(RC_CHK_ACCESS(thread)->nsinfo); in thread__delete()
|
| A D | map.c | 129 struct nsinfo *nsi = NULL; in map__new() 130 struct nsinfo *nnsi; in map__new()
|
| A D | jitdump.c | 39 struct nsinfo *nsi; 755 jit_detect(const char *mmap_name, pid_t pid, struct nsinfo *nsi, bool *in_pidns) in jit_detect() 850 struct nsinfo *nsi; in jit_process()
|
| A D | probe-event.c | 202 struct map *get_target_map(const char *target, struct nsinfo *nsi, bool user) in get_target_map() 399 const char *target, struct nsinfo *nsi, in find_alternative_probe_point() 495 static struct debuginfo *open_from_debuginfod(struct dso *dso, struct nsinfo *nsi, in open_from_debuginfod() 530 struct nsinfo *nsi __maybe_unused, in open_from_debuginfod() 538 static struct debuginfo *open_debuginfo(const char *module, struct nsinfo *nsi, in open_debuginfo() 624 struct nsinfo *nsi) in get_text_start_address() 777 struct nsinfo *nsi) in add_exec_to_probe_trace_events() 1166 struct nsinfo *nsi, bool user) in show_line_range() 1303 struct nsinfo *nsi __maybe_unused, in show_line_range() 3779 int show_available_funcs(const char *target, struct nsinfo *nsi, in show_available_funcs()
|
| A D | dso.c | 43 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() 1609 nsinfo__zput(RC_CHK_ACCESS(dso)->nsinfo); in dso__delete()
|
| A D | probe-file.c | 432 struct nsinfo *nsi) in probe_cache__open() 582 struct probe_cache *probe_cache__new(const char *target, struct nsinfo *nsi) in probe_cache__new()
|
| A D | symbol.c | 1773 struct nsinfo **nsip) in dso__find_perf_map() 1776 struct nsinfo *nsi; in dso__find_perf_map() 1777 struct nsinfo *nnsi; in dso__find_perf_map()
|
| A D | synthetic-events.c | 372 struct nsinfo *nsi; in perf_record_mmap2__read_build_id()
|
| /tools/perf/ |
| 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() 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()
|
| A D | builtin-probe.c | 49 struct nsinfo *nsi; 207 struct nsinfo *nsip; in opt_set_target_ns()
|
| A D | builtin-inject.c | 403 struct nsinfo *nsi = NULL; in findnew_dso() 404 struct nsinfo *nnsi; in findnew_dso()
|