Home
last modified time | relevance | path

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

12

/linux-6.6.21/tools/perf/util/
Denv.h53 struct perf_env { struct
144 extern struct perf_env perf_env; argument
146 void perf_env__exit(struct perf_env *env);
148 int perf_env__kernel_is_64_bit(struct perf_env *env);
150 int perf_env__set_cmdline(struct perf_env *env, int argc, const char *argv[]);
152 int perf_env__read_cpuid(struct perf_env *env);
153 int perf_env__read_pmu_mappings(struct perf_env *env);
154 int perf_env__nr_pmu_mappings(struct perf_env *env);
155 const char *perf_env__pmu_mappings(struct perf_env *env);
157 int perf_env__read_cpu_topology_map(struct perf_env *env);
[all …]
Denv.c16 struct perf_env perf_env; variable
23 void perf_env__insert_bpf_prog_info(struct perf_env *env, in perf_env__insert_bpf_prog_info()
31 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()
58 struct bpf_prog_info_node *perf_env__find_bpf_prog_info(struct perf_env *env, in perf_env__find_bpf_prog_info()
83 bool perf_env__insert_btf(struct perf_env *env, struct btf_node *btf_node) in perf_env__insert_btf()
93 bool __perf_env__insert_btf(struct perf_env *env, struct btf_node *btf_node) in __perf_env__insert_btf()
121 struct btf_node *perf_env__find_btf(struct perf_env *env, __u32 btf_id) in perf_env__find_btf()
131 struct btf_node *__perf_env__find_btf(struct perf_env *env, __u32 btf_id) in __perf_env__find_btf()
151 static void perf_env__purge_bpf(struct perf_env *env) in perf_env__purge_bpf()
190 static void perf_env__purge_bpf(struct perf_env *env __maybe_unused) in perf_env__purge_bpf()
[all …]
Dbpf-event.h13 struct perf_env;
35 int evlist__add_bpf_sb_event(struct evlist *evlist, struct perf_env *env);
37 struct perf_env *env,
48 struct perf_env *env __maybe_unused) in evlist__add_bpf_sb_event()
54 struct perf_env *env __maybe_unused, in __bpf_event__print_bpf_prog_info()
Dcgroup.h37 struct cgroup *cgroup__findnew(struct perf_env *env, uint64_t id,
39 struct cgroup *cgroup__find(struct perf_env *env, uint64_t id);
41 void perf_env__purge_cgroups(struct perf_env *env);
Dmem2node.h7 struct perf_env;
16 int mem2node__init(struct mem2node *map, struct perf_env *env);
Dbpf-event.c40 struct perf_env *env = machine->env; in machine__process_bpf_event_load()
95 static int perf_env__fetch_btf(struct perf_env *env, in perf_env__fetch_btf()
177 struct perf_env *env; in perf_event__synthesize_one_bpf_prog()
186 env = session->data ? &session->header.env : &perf_env; in perf_event__synthesize_one_bpf_prog()
447 static void perf_env__add_bpf_info(struct perf_env *env, u32 id) in perf_env__add_bpf_info()
501 struct perf_env *env = data; in bpf_event__sb_cb()
525 int evlist__add_bpf_sb_event(struct evlist *evlist, struct perf_env *env) in evlist__add_bpf_sb_event()
546 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);
Dhist.h484 float min_pcnt, struct perf_env *env, bool warn_lost_event,
495 float min_percent, struct perf_env *env,
503 struct perf_env *env __maybe_unused, in evlist__tui_browse_hists()
544 struct perf_env *env __maybe_unused, in block_hists_tui_browse()
Dsymbol.h152 struct perf_env;
153 int symbol__init(struct perf_env *env);
Dblock-info.h81 struct evsel *evsel, struct perf_env *env,
Dcgroup.c554 struct cgroup *cgroup__findnew(struct perf_env *env, uint64_t id, in cgroup__findnew()
565 struct cgroup *cgroup__find(struct perf_env *env, uint64_t id) in cgroup__find()
575 void perf_env__purge_cgroups(struct perf_env *env) in perf_env__purge_cgroups()
Damd-sample-raw.c293 static void parse_cpuid(struct perf_env *env) in parse_cpuid()
314 struct perf_env *env = evlist->env; in evlist__has_amd_ibs()
Ddso.h17 struct perf_env;
209 struct perf_env *env;
Dheader.c566 n = perf_env.nr_cmdline + 1; in write_cmdline()
576 for (i = 0 ; i < perf_env.nr_cmdline; i++) { in write_cmdline()
577 ret = do_write_string(ff, perf_env.cmdline_argv[i]); in write_cmdline()
615 ret = perf_env__read_cpu_topology_map(&perf_env); in write_cpu_topology()
619 for (j = 0; j < perf_env.nr_cpus_avail; j++) { in write_cpu_topology()
620 ret = do_write(ff, &perf_env.cpu[j].core_id, in write_cpu_topology()
621 sizeof(perf_env.cpu[j].core_id)); in write_cpu_topology()
624 ret = do_write(ff, &perf_env.cpu[j].socket_id, in write_cpu_topology()
625 sizeof(perf_env.cpu[j].socket_id)); in write_cpu_topology()
643 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()
Dheader.h92 struct perf_env env;
/linux-6.6.21/tools/perf/arch/
Dcommon.h7 struct perf_env;
9 int perf_env__lookup_objdump(struct perf_env *env, char **path);
10 bool perf_env__single_address_space(struct perf_env *env);
Dcommon.c144 static int perf_env__lookup_binutils_path(struct perf_env *env, in perf_env__lookup_binutils_path()
221 int perf_env__lookup_objdump(struct perf_env *env, char **path) in perf_env__lookup_objdump()
238 bool perf_env__single_address_space(struct perf_env *env) in perf_env__single_address_space()
/linux-6.6.21/tools/perf/ui/
Dbrowser.h73 struct perf_env;
74 int tui__header_window(struct perf_env *env);
/linux-6.6.21/tools/perf/arch/x86/util/
Denv.c8 struct perf_env env = { .total_mem = 0, }; in x86__is_amd_cpu()
/linux-6.6.21/tools/perf/
Dperf.c320 perf_env__init(&perf_env); in run_builtin()
321 perf_env__set_cmdline(&perf_env, argc, argv); in run_builtin()
325 perf_env__exit(&perf_env); in run_builtin()
Dbuiltin-stat.c1658 struct perf_env *env = data; in perf_env__get_socket_aggr_by_cpu()
1669 struct perf_env *env = data; in perf_env__get_die_aggr_by_cpu()
1685 static void perf_env__get_cache_id_for_cpu(struct perf_cpu cpu, struct perf_env *env, in perf_env__get_cache_id_for_cpu()
1725 struct perf_env *env = data; in perf_env__get_cache_aggr_by_cpu()
1741 struct perf_env *env = data; in perf_env__get_core_aggr_by_cpu()
1760 struct perf_env *env = data; in perf_env__get_cpu_aggr_by_cpu()
1889 struct perf_env *env = &st->session->header.env; in perf_stat_init_aggr_mode_file()
/linux-6.6.21/tools/perf/ui/browsers/
Dhists.h17 struct perf_env *env;
Dheader.c95 int tui__header_window(struct perf_env *env) in tui__header_window()
/linux-6.6.21/tools/perf/tests/
Dmem2node.c51 struct perf_env env = { in test__mem2node()

12