Home
last modified time | relevance | path

Searched refs:perf_env (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v4.19/tools/perf/util/
Denv.h36 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);
Denv.c9 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()
Dmem2node.h15 int mem2node__init(struct mem2node *map, struct perf_env *env);
Dsymbol.h282 struct perf_env;
283 int symbol__init(struct perf_env *env);
Dmem2node.c43 int mem2node__init(struct mem2node *map, struct perf_env *env) in mem2node__init()
Dheader.h83 struct perf_env env;
Dhist.h443 struct perf_env *env,
453 struct perf_env *env __maybe_unused, in perf_evlist__tui_browse_hists()
Dheader.c542 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()
Devlist.h51 struct perf_env *env;
Dmachine.h49 struct perf_env *env;
Devsel.h482 struct perf_env *perf_evsel__env(struct perf_evsel *evsel);
Dsymbol.c2006 static int vmlinux_path__init(struct perf_env *env) in vmlinux_path__init()
2112 int symbol__init(struct perf_env *env) in symbol__init()
Devent.c1616 struct perf_env *env = machine->env; in machine__resolve()
Dsession.c150 session->machines.host.env = &perf_env; in perf_session__new()
/Linux-v4.19/tools/perf/arch/
Dcommon.c121 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()
Dcommon.h7 int perf_env__lookup_objdump(struct perf_env *env, const char **path);
/Linux-v4.19/tools/perf/ui/
Dbrowser.h71 struct perf_env;
72 int tui__header_window(struct perf_env *env);
/Linux-v4.19/tools/perf/ui/browsers/
Dhists.h16 struct perf_env *env;
Dheader.c97 int tui__header_window(struct perf_env *env) in tui__header_window()
Dhists.c2179 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/
Dmem2node.c44 struct perf_env env = { in test__mem2node()
Dcode-reading.c565 machine->env = &perf_env; in do_test_code_reading()
/Linux-v4.19/tools/perf/
Dperf.c301 perf_env__set_cmdline(&perf_env, argc, argv); in run_builtin()
305 perf_env__exit(&perf_env); in run_builtin()
Dbuiltin-stat.c2138 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()
Dbuiltin-top.c1106 ret = perf_env__read_cpu_topology_map(&perf_env); in __cmd_top()

12