/kernel/linux/linux-5.10/tools/perf/util/ |
D | env.h | 40 struct perf_env { struct 126 extern struct perf_env perf_env; argument 128 void perf_env__exit(struct perf_env *env); 130 int perf_env__set_cmdline(struct perf_env *env, int argc, const char *argv[]); 132 int perf_env__read_cpuid(struct perf_env *env); 133 int perf_env__read_cpu_topology_map(struct perf_env *env); 137 const char *perf_env__arch(struct perf_env *env); 138 const char *perf_env__raw_arch(struct perf_env *env); 139 int perf_env__nr_cpus_avail(struct perf_env *env); 141 void perf_env__init(struct perf_env *env); [all …]
|
D | env.c | 16 struct perf_env perf_env; variable 18 void perf_env__insert_bpf_prog_info(struct perf_env *env, in perf_env__insert_bpf_prog_info() 49 struct bpf_prog_info_node *perf_env__find_bpf_prog_info(struct perf_env *env, in perf_env__find_bpf_prog_info() 74 bool perf_env__insert_btf(struct perf_env *env, struct btf_node *btf_node) in perf_env__insert_btf() 107 struct btf_node *perf_env__find_btf(struct perf_env *env, __u32 btf_id) in perf_env__find_btf() 132 static void perf_env__purge_bpf(struct perf_env *env) in perf_env__purge_bpf() 171 void perf_env__exit(struct perf_env *env) in perf_env__exit() 206 void perf_env__init(struct perf_env *env) in perf_env__init() 213 int perf_env__set_cmdline(struct perf_env *env, int argc, const char *argv[]) in perf_env__set_cmdline() 241 int perf_env__read_cpu_topology_map(struct perf_env *env) in perf_env__read_cpu_topology_map() [all …]
|
D | bpf-event.h | 14 struct perf_env; 36 int evlist__add_bpf_sb_event(struct evlist *evlist, struct perf_env *env); 38 struct perf_env *env, 49 struct perf_env *env __maybe_unused) in evlist__add_bpf_sb_event() 55 struct perf_env *env __maybe_unused, in bpf_event__print_bpf_prog_info()
|
D | cgroup.h | 35 struct cgroup *cgroup__findnew(struct perf_env *env, uint64_t id, 37 struct cgroup *cgroup__find(struct perf_env *env, uint64_t id); 39 void perf_env__purge_cgroups(struct perf_env *env);
|
D | mem2node.h | 7 struct perf_env; 16 int mem2node__init(struct mem2node *map, struct perf_env *env);
|
D | bpf-event.c | 42 struct perf_env *env = machine->env; in machine__process_bpf_event_load() 94 static int perf_env__fetch_btf(struct perf_env *env, in perf_env__fetch_btf() 176 struct perf_env *env; in perf_event__synthesize_one_bpf_prog() 185 env = session->data ? &session->header.env : &perf_env; in perf_event__synthesize_one_bpf_prog() 439 static void perf_env__add_bpf_info(struct perf_env *env, u32 id) in perf_env__add_bpf_info() 492 struct perf_env *env = data; in bpf_event__sb_cb() 516 int evlist__add_bpf_sb_event(struct evlist *evlist, struct perf_env *env) in evlist__add_bpf_sb_event() 537 struct perf_env *env, in bpf_event__print_bpf_prog_info()
|
D | svghelper.h | 7 struct perf_env; 33 int svg_build_topology_map(struct perf_env *env);
|
D | cgroup.c | 344 struct cgroup *cgroup__findnew(struct perf_env *env, uint64_t id, in cgroup__findnew() 355 struct cgroup *cgroup__find(struct perf_env *env, uint64_t id) in cgroup__find() 365 void perf_env__purge_cgroups(struct perf_env *env) in perf_env__purge_cgroups()
|
D | hist.h | 469 struct perf_env *env, 481 float min_percent, struct perf_env *env, 489 struct perf_env *env __maybe_unused, in perf_evlist__tui_browse_hists() 530 struct perf_env *env __maybe_unused, in block_hists_tui_browse()
|
D | block-info.h | 81 struct evsel *evsel, struct perf_env *env,
|
D | symbol.h | 156 struct perf_env; 157 int symbol__init(struct perf_env *env);
|
D | header.c | 552 n = perf_env.nr_cmdline + 1; in write_cmdline() 562 for (i = 0 ; i < perf_env.nr_cmdline; i++) { in write_cmdline() 563 ret = do_write_string(ff, perf_env.cmdline_argv[i]); in write_cmdline() 601 ret = perf_env__read_cpu_topology_map(&perf_env); in write_cpu_topology() 605 for (j = 0; j < perf_env.nr_cpus_avail; j++) { in write_cpu_topology() 606 ret = do_write(ff, &perf_env.cpu[j].core_id, in write_cpu_topology() 607 sizeof(perf_env.cpu[j].core_id)); in write_cpu_topology() 610 ret = do_write(ff, &perf_env.cpu[j].socket_id, in write_cpu_topology() 611 sizeof(perf_env.cpu[j].socket_id)); in write_cpu_topology() 629 for (j = 0; j < perf_env.nr_cpus_avail; j++) { in write_cpu_topology() [all …]
|
D | dso.h | 17 struct perf_env; 204 struct perf_env *env;
|
D | header.h | 90 struct perf_env env;
|
D | mem2node.c | 47 int mem2node__init(struct mem2node *map, struct perf_env *env) in mem2node__init()
|
D | machine.h | 52 struct perf_env *env;
|
/kernel/linux/linux-5.10/tools/perf/arch/ |
D | common.h | 7 struct perf_env; 9 int perf_env__lookup_objdump(struct perf_env *env, const char **path); 10 bool perf_env__single_address_space(struct perf_env *env);
|
D | common.c | 132 static int perf_env__lookup_binutils_path(struct perf_env *env, in perf_env__lookup_binutils_path() 205 int perf_env__lookup_objdump(struct perf_env *env, const char **path) in perf_env__lookup_objdump() 222 bool perf_env__single_address_space(struct perf_env *env) in perf_env__single_address_space()
|
/kernel/linux/linux-5.10/tools/perf/ui/ |
D | browser.h | 73 struct perf_env; 74 int tui__header_window(struct perf_env *env);
|
/kernel/linux/linux-5.10/tools/perf/ |
D | perf.c | 310 perf_env__init(&perf_env); in run_builtin() 311 perf_env__set_cmdline(&perf_env, argc, argv); in run_builtin() 315 perf_env__exit(&perf_env); in run_builtin()
|
D | builtin-stat.c | 1331 static inline int perf_env__get_cpu(struct perf_env *env, struct perf_cpu_map *map, int idx) in perf_env__get_cpu() 1348 struct perf_env *env = data; in perf_env__get_socket() 1356 struct perf_env *env = data; in perf_env__get_die() 1380 struct perf_env *env = data; in perf_env__get_core() 1415 static int perf_env__build_socket_map(struct perf_env *env, struct perf_cpu_map *cpus, in perf_env__build_socket_map() 1421 static int perf_env__build_die_map(struct perf_env *env, struct perf_cpu_map *cpus, in perf_env__build_die_map() 1427 static int perf_env__build_core_map(struct perf_env *env, struct perf_cpu_map *cpus, in perf_env__build_core_map() 1433 static int perf_env__build_node_map(struct perf_env *env, struct perf_cpu_map *cpus, in perf_env__build_node_map() 1464 struct perf_env *env = &st->session->header.env; in perf_stat_init_aggr_mode_file()
|
D | builtin-top.c | 1287 ret = perf_env__read_cpu_topology_map(&perf_env); in __cmd_top() 1610 status = perf_env__read_cpuid(&perf_env); in cmd_top() 1620 top.evlist->env = &perf_env; in cmd_top() 1758 if (evlist__add_bpf_sb_event(top.sb_evlist, &perf_env)) { in cmd_top()
|
/kernel/linux/linux-5.10/tools/perf/ui/browsers/ |
D | hists.h | 17 struct perf_env *env;
|
D | header.c | 95 int tui__header_window(struct perf_env *env) in tui__header_window()
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
D | mem2node.c | 50 struct perf_env env = { in test__mem2node()
|