/Linux-v4.19/tools/perf/util/ |
D | env.h | 36 struct perf_env { struct 68 extern struct perf_env perf_env; argument 70 void perf_env__exit(struct perf_env *env); 72 int perf_env__set_cmdline(struct perf_env *env, int argc, const char *argv[]); 74 int perf_env__read_cpu_topology_map(struct perf_env *env); 78 const char *perf_env__arch(struct perf_env *env); 79 const char *perf_env__raw_arch(struct perf_env *env); 80 int perf_env__nr_cpus_avail(struct perf_env *env);
|
D | env.c | 9 struct perf_env perf_env; variable 11 void perf_env__exit(struct perf_env *env) in perf_env__exit() 41 int perf_env__set_cmdline(struct perf_env *env, int argc, const char *argv[]) in perf_env__set_cmdline() 69 int perf_env__read_cpu_topology_map(struct perf_env *env) in perf_env__read_cpu_topology_map() 96 static int perf_env__read_arch(struct perf_env *env) in perf_env__read_arch() 109 static int perf_env__read_nr_cpus_avail(struct perf_env *env) in perf_env__read_nr_cpus_avail() 117 const char *perf_env__raw_arch(struct perf_env *env) in perf_env__raw_arch() 122 int perf_env__nr_cpus_avail(struct perf_env *env) in perf_env__nr_cpus_avail() 164 const char *perf_env__arch(struct perf_env *env) in perf_env__arch()
|
D | mem2node.h | 15 int mem2node__init(struct mem2node *map, struct perf_env *env);
|
D | symbol.h | 282 struct perf_env; 283 int symbol__init(struct perf_env *env);
|
D | mem2node.c | 43 int mem2node__init(struct mem2node *map, struct perf_env *env) in mem2node__init()
|
D | header.h | 83 struct perf_env env;
|
D | hist.h | 443 struct perf_env *env, 453 struct perf_env *env __maybe_unused, in perf_evlist__tui_browse_hists()
|
D | header.c | 542 n = perf_env.nr_cmdline + 1; in write_cmdline() 552 for (i = 0 ; i < perf_env.nr_cmdline; i++) { in write_cmdline() 553 ret = do_write_string(ff, perf_env.cmdline_argv[i]); in write_cmdline() 736 ret = perf_env__read_cpu_topology_map(&perf_env); in write_cpu_topology() 740 for (j = 0; j < perf_env.nr_cpus_avail; j++) { in write_cpu_topology() 741 ret = do_write(ff, &perf_env.cpu[j].core_id, in write_cpu_topology() 742 sizeof(perf_env.cpu[j].core_id)); in write_cpu_topology() 745 ret = do_write(ff, &perf_env.cpu[j].socket_id, in write_cpu_topology() 746 sizeof(perf_env.cpu[j].socket_id)); in write_cpu_topology()
|
D | evlist.h | 51 struct perf_env *env;
|
D | machine.h | 49 struct perf_env *env;
|
D | evsel.h | 482 struct perf_env *perf_evsel__env(struct perf_evsel *evsel);
|
D | symbol.c | 2006 static int vmlinux_path__init(struct perf_env *env) in vmlinux_path__init() 2112 int symbol__init(struct perf_env *env) in symbol__init()
|
D | event.c | 1616 struct perf_env *env = machine->env; in machine__resolve()
|
D | session.c | 150 session->machines.host.env = &perf_env; in perf_session__new()
|
/Linux-v4.19/tools/perf/arch/ |
D | common.c | 121 static int perf_env__lookup_binutils_path(struct perf_env *env, in perf_env__lookup_binutils_path() 192 int perf_env__lookup_objdump(struct perf_env *env, const char **path) in perf_env__lookup_objdump()
|
D | common.h | 7 int perf_env__lookup_objdump(struct perf_env *env, const char **path);
|
/Linux-v4.19/tools/perf/ui/ |
D | browser.h | 71 struct perf_env; 72 int tui__header_window(struct perf_env *env);
|
/Linux-v4.19/tools/perf/ui/browsers/ |
D | hists.h | 16 struct perf_env *env;
|
D | header.c | 97 int tui__header_window(struct perf_env *env) in tui__header_window()
|
D | hists.c | 2179 struct perf_env *env, in perf_evsel_browser__new() 2704 struct perf_env *env, in perf_evsel__hists_browse() 3074 struct perf_env *env; 3232 struct perf_env *env, in __perf_evlist__tui_browse_hists() 3269 struct perf_env *env, in perf_evlist__tui_browse_hists()
|
/Linux-v4.19/tools/perf/tests/ |
D | mem2node.c | 44 struct perf_env env = { in test__mem2node()
|
D | code-reading.c | 565 machine->env = &perf_env; in do_test_code_reading()
|
/Linux-v4.19/tools/perf/ |
D | perf.c | 301 perf_env__set_cmdline(&perf_env, argc, argv); in run_builtin() 305 perf_env__exit(&perf_env); in run_builtin()
|
D | builtin-stat.c | 2138 static inline int perf_env__get_cpu(struct perf_env *env, struct cpu_map *map, int idx) in perf_env__get_cpu() 2155 struct perf_env *env = data; in perf_env__get_socket() 2163 struct perf_env *env = data; in perf_env__get_core() 2181 static int perf_env__build_socket_map(struct perf_env *env, struct cpu_map *cpus, in perf_env__build_socket_map() 2187 static int perf_env__build_core_map(struct perf_env *env, struct cpu_map *cpus, in perf_env__build_core_map() 2205 struct perf_env *env = &st->session->header.env; in perf_stat_init_aggr_mode_file()
|
D | builtin-top.c | 1106 ret = perf_env__read_cpu_topology_map(&perf_env); in __cmd_top()
|