Home
last modified time | relevance | path

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

12

/tools/perf/util/
Denv.h40 struct perf_env { struct
105 extern struct perf_env perf_env; argument
107 void perf_env__exit(struct perf_env *env);
109 int perf_env__set_cmdline(struct perf_env *env, int argc, const char *argv[]);
111 int perf_env__read_cpu_topology_map(struct perf_env *env);
115 const char *perf_env__arch(struct perf_env *env);
116 const char *perf_env__raw_arch(struct perf_env *env);
117 int perf_env__nr_cpus_avail(struct perf_env *env);
119 void perf_env__init(struct perf_env *env);
120 void __perf_env__insert_bpf_prog_info(struct perf_env *env,
[all …]
Dbpf-event.h14 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()
Denv.c14 struct perf_env perf_env; variable
16 void perf_env__insert_bpf_prog_info(struct perf_env *env, in perf_env__insert_bpf_prog_info()
24 void __perf_env__insert_bpf_prog_info(struct perf_env *env, struct bpf_prog_info_node *info_node) in __perf_env__insert_bpf_prog_info()
51 struct bpf_prog_info_node *perf_env__find_bpf_prog_info(struct perf_env *env, in perf_env__find_bpf_prog_info()
76 bool perf_env__insert_btf(struct perf_env *env, struct btf_node *btf_node) in perf_env__insert_btf()
86 bool __perf_env__insert_btf(struct perf_env *env, struct btf_node *btf_node) in __perf_env__insert_btf()
114 struct btf_node *perf_env__find_btf(struct perf_env *env, __u32 btf_id) in perf_env__find_btf()
124 struct btf_node *__perf_env__find_btf(struct perf_env *env, __u32 btf_id) in __perf_env__find_btf()
144 static void perf_env__purge_bpf(struct perf_env *env) in perf_env__purge_bpf()
182 void perf_env__exit(struct perf_env *env) in perf_env__exit()
[all …]
Dmem2node.h7 struct perf_env;
16 int mem2node__init(struct mem2node *map, struct perf_env *env);
Dbpf-event.c39 struct perf_env *env = machine->env; in machine__process_bpf_event_load()
93 static int perf_env__fetch_btf(struct perf_env *env, in perf_env__fetch_btf()
175 struct perf_env *env; in perf_event__synthesize_one_bpf_prog()
184 env = session->data ? &session->header.env : &perf_env; in perf_event__synthesize_one_bpf_prog()
348 static void perf_env__add_bpf_info(struct perf_env *env, u32 id) in perf_env__add_bpf_info()
401 struct perf_env *env = data; in bpf_event__sb_cb()
425 int evlist__add_bpf_sb_event(struct evlist *evlist, struct perf_env *env) in evlist__add_bpf_sb_event()
446 struct perf_env *env, in __bpf_event__print_bpf_prog_info()
Dsvghelper.h7 struct perf_env;
33 int svg_build_topology_map(struct perf_env *env);
Ddso.h17 struct perf_env;
192 struct perf_env *env;
Dsymbol.h163 struct perf_env;
164 int symbol__init(struct perf_env *env);
Dheader.h92 struct perf_env env;
Dheader.c551 n = perf_env.nr_cmdline + 1; in write_cmdline()
561 for (i = 0 ; i < perf_env.nr_cmdline; i++) { in write_cmdline()
562 ret = do_write_string(ff, perf_env.cmdline_argv[i]); in write_cmdline()
600 ret = perf_env__read_cpu_topology_map(&perf_env); in write_cpu_topology()
604 for (j = 0; j < perf_env.nr_cpus_avail; j++) { in write_cpu_topology()
605 ret = do_write(ff, &perf_env.cpu[j].core_id, in write_cpu_topology()
606 sizeof(perf_env.cpu[j].core_id)); in write_cpu_topology()
609 ret = do_write(ff, &perf_env.cpu[j].socket_id, in write_cpu_topology()
610 sizeof(perf_env.cpu[j].socket_id)); in write_cpu_topology()
628 for (j = 0; j < perf_env.nr_cpus_avail; j++) { in write_cpu_topology()
[all …]
Dmem2node.c47 int mem2node__init(struct mem2node *map, struct perf_env *env) in mem2node__init()
Dhist.h466 struct perf_env *env,
482 struct perf_env *env __maybe_unused, in perf_evlist__tui_browse_hists()
Devlist.h67 struct perf_env *env;
Dmachine.h51 struct perf_env *env;
Devsel.h390 struct perf_env *perf_evsel__env(struct evsel *evsel);
/tools/perf/arch/
Dcommon.h7 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);
Dcommon.c132 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()
/tools/perf/ui/
Dbrowser.h73 struct perf_env;
74 int tui__header_window(struct perf_env *env);
/tools/perf/ui/browsers/
Dhists.h16 struct perf_env *env;
Dheader.c95 int tui__header_window(struct perf_env *env) in tui__header_window()
Dhists.c2198 struct perf_env *env, in perf_evsel_browser__new()
2833 struct perf_env *env, in perf_evsel__hists_browse()
3222 struct perf_env *env;
3381 struct perf_env *env, in __perf_evlist__tui_browse_hists()
3418 struct perf_env *env, in perf_evlist__tui_browse_hists()
/tools/perf/
Dperf.c310 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()
Dbuiltin-stat.c934 static inline int perf_env__get_cpu(struct perf_env *env, struct perf_cpu_map *map, int idx) in perf_env__get_cpu()
951 struct perf_env *env = data; in perf_env__get_socket()
959 struct perf_env *env = data; in perf_env__get_die()
983 struct perf_env *env = data; in perf_env__get_core()
1011 static int perf_env__build_socket_map(struct perf_env *env, struct perf_cpu_map *cpus, in perf_env__build_socket_map()
1017 static int perf_env__build_die_map(struct perf_env *env, struct perf_cpu_map *cpus, in perf_env__build_die_map()
1023 static int perf_env__build_core_map(struct perf_env *env, struct perf_cpu_map *cpus, in perf_env__build_core_map()
1048 struct perf_env *env = &st->session->header.env; in perf_stat_init_aggr_mode_file()
/tools/perf/tests/
Dmem2node.c50 struct perf_env env = { in test__mem2node()
Dcode-reading.c579 machine->env = &perf_env; in do_test_code_reading()

12