Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.c15 struct perf_env perf_env; variable
22 void perf_env__insert_bpf_prog_info(struct perf_env *env, in perf_env__insert_bpf_prog_info()
53 struct bpf_prog_info_node *perf_env__find_bpf_prog_info(struct perf_env *env, in perf_env__find_bpf_prog_info()
78 bool perf_env__insert_btf(struct perf_env *env, struct btf_node *btf_node) in perf_env__insert_btf()
111 struct btf_node *perf_env__find_btf(struct perf_env *env, __u32 btf_id) in perf_env__find_btf()
136 static void perf_env__purge_bpf(struct perf_env *env) in perf_env__purge_bpf()
175 static void perf_env__purge_bpf(struct perf_env *env __maybe_unused) in perf_env__purge_bpf()
180 void perf_env__exit(struct perf_env *env) in perf_env__exit()
231 void perf_env__init(struct perf_env *env) in perf_env__init()
241 static void perf_env__init_kernel_mode(struct perf_env *env) in perf_env__init_kernel_mode()
[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.c106 struct perf_env *env = machine->env; in machine__process_bpf_event_load()
159 static int perf_env__fetch_btf(struct perf_env *env, in perf_env__fetch_btf()
241 struct perf_env *env; in perf_event__synthesize_one_bpf_prog()
250 env = session->data ? &session->header.env : &perf_env; in perf_event__synthesize_one_bpf_prog()
511 static void perf_env__add_bpf_info(struct perf_env *env, u32 id) in perf_env__add_bpf_info()
565 struct perf_env *env = data; in bpf_event__sb_cb()
589 int evlist__add_bpf_sb_event(struct evlist *evlist, struct perf_env *env) in evlist__add_bpf_sb_event()
610 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.h479 float min_pcnt, struct perf_env *env, bool warn_lost_event,
490 float min_percent, struct perf_env *env,
498 struct perf_env *env __maybe_unused, in evlist__tui_browse_hists()
539 struct perf_env *env __maybe_unused, in block_hists_tui_browse()
Dblock-info.h81 struct evsel *evsel, struct perf_env *env,
Dcgroup.c555 struct cgroup *cgroup__findnew(struct perf_env *env, uint64_t id, in cgroup__findnew()
566 struct cgroup *cgroup__find(struct perf_env *env, uint64_t id) in cgroup__find()
576 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()
Dsymbol.h167 struct perf_env;
168 int symbol__init(struct perf_env *env);
Ddso.h17 struct perf_env;
208 struct perf_env *env;
Dheader.c556 n = perf_env.nr_cmdline + 1; in write_cmdline()
566 for (i = 0 ; i < perf_env.nr_cmdline; i++) { in write_cmdline()
567 ret = do_write_string(ff, perf_env.cmdline_argv[i]); in write_cmdline()
605 ret = perf_env__read_cpu_topology_map(&perf_env); in write_cpu_topology()
609 for (j = 0; j < perf_env.nr_cpus_avail; j++) { in write_cpu_topology()
610 ret = do_write(ff, &perf_env.cpu[j].core_id, in write_cpu_topology()
611 sizeof(perf_env.cpu[j].core_id)); in write_cpu_topology()
614 ret = do_write(ff, &perf_env.cpu[j].socket_id, in write_cpu_topology()
615 sizeof(perf_env.cpu[j].socket_id)); in write_cpu_topology()
633 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.1.9/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()
/linux-6.1.9/tools/perf/arch/x86/util/
Devsel.c21 struct perf_env env = { .total_mem = 0, } ; in arch_evsel__fixup_new_cycles()
107 struct perf_env *env = evsel__env(evsel); in arch__post_evsel_config()
Dmem-events.c31 struct perf_env env = { .total_mem = 0, }; in perf_mem_is_amd_cpu()
/linux-6.1.9/tools/perf/ui/
Dbrowser.h73 struct perf_env;
74 int tui__header_window(struct perf_env *env);
/linux-6.1.9/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()
/linux-6.1.9/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.1.9/tools/perf/tests/
Dmem2node.c51 struct perf_env env = { in test__mem2node()

12