Home
last modified time | relevance | path

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

12

/linux/tools/perf/util/
A Denv.h52 struct perf_env { struct
143 extern struct perf_env perf_env; argument
145 void perf_env__exit(struct perf_env *env);
147 int perf_env__kernel_is_64_bit(struct perf_env *env);
151 int perf_env__read_cpuid(struct perf_env *env);
153 int perf_env__nr_pmu_mappings(struct perf_env *env);
160 const char *perf_env__arch(struct perf_env *env);
161 const char *perf_env__cpuid(struct perf_env *env);
162 const char *perf_env__raw_arch(struct perf_env *env);
163 int perf_env__nr_cpus_avail(struct perf_env *env);
[all …]
A 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()
136 static void perf_env__purge_bpf(struct perf_env *env) in perf_env__purge_bpf()
180 void perf_env__exit(struct perf_env *env) in perf_env__exit()
227 void perf_env__init(struct perf_env *env) in perf_env__init()
250 int perf_env__kernel_is_64_bit(struct perf_env *env) in perf_env__kernel_is_64_bit()
353 int perf_env__read_cpuid(struct perf_env *env) in perf_env__read_cpuid()
394 int perf_env__nr_cpus_avail(struct perf_env *env) in perf_env__nr_cpus_avail()
436 const char *perf_env__arch(struct perf_env *env) in perf_env__arch()
451 const char *perf_env__cpuid(struct perf_env *env) in perf_env__cpuid()
[all …]
A 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()
A 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);
A Dmem2node.h7 struct perf_env;
16 int mem2node__init(struct mem2node *map, struct perf_env *env);
A Dbpf-event.c78 struct perf_env *env = machine->env; in machine__process_bpf_event_load()
131 static int perf_env__fetch_btf(struct perf_env *env, in perf_env__fetch_btf()
213 struct perf_env *env; in perf_event__synthesize_one_bpf_prog()
222 env = session->data ? &session->header.env : &perf_env; in perf_event__synthesize_one_bpf_prog()
483 static void perf_env__add_bpf_info(struct perf_env *env, u32 id) in perf_env__add_bpf_info()
537 struct perf_env *env = data; in bpf_event__sb_cb()
561 int evlist__add_bpf_sb_event(struct evlist *evlist, struct perf_env *env) in evlist__add_bpf_sb_event()
582 struct perf_env *env, in bpf_event__print_bpf_prog_info()
A Dsvghelper.h7 struct perf_env;
33 int svg_build_topology_map(struct perf_env *env);
A Dhist.h474 float min_pcnt, struct perf_env *env, bool warn_lost_event,
485 float min_percent, struct perf_env *env,
493 struct perf_env *env __maybe_unused, in evlist__tui_browse_hists()
534 struct perf_env *env __maybe_unused, in block_hists_tui_browse()
A Damd-sample-raw.c244 static void parse_cpuid(struct perf_env *env) in parse_cpuid()
265 struct perf_env *env = evlist->env; in evlist__has_amd_ibs()
A Dcgroup.c542 struct cgroup *cgroup__findnew(struct perf_env *env, uint64_t id, in cgroup__findnew()
553 struct cgroup *cgroup__find(struct perf_env *env, uint64_t id) in cgroup__find()
563 void perf_env__purge_cgroups(struct perf_env *env) in perf_env__purge_cgroups()
A Dsymbol.h167 struct perf_env;
168 int symbol__init(struct perf_env *env);
A Dheader.c556 n = perf_env.nr_cmdline + 1; in write_cmdline()
566 for (i = 0 ; i < perf_env.nr_cmdline; i++) { in write_cmdline()
611 sizeof(perf_env.cpu[j].core_id)); in write_cpu_topology()
615 sizeof(perf_env.cpu[j].socket_id)); in write_cpu_topology()
635 sizeof(perf_env.cpu[j].die_id)); in write_cpu_topology()
990 struct perf_env *env = &ff->ph->env; in write_bpf_prog_info()
1032 struct perf_env *env = &ff->ph->env; in write_bpf_btf()
1724 struct perf_env *env = &ff->ph->env; in print_bpf_prog_info()
1748 struct perf_env *env = &ff->ph->env; in print_bpf_btf()
3024 struct perf_env *env = &ff->ph->env; in process_bpf_prog_info()
[all …]
A Ddso.h17 struct perf_env;
205 struct perf_env *env;
A Dblock-info.h81 struct evsel *evsel, struct perf_env *env,
A Dheader.h92 struct perf_env env;
A Dmem2node.c47 int mem2node__init(struct mem2node *map, struct perf_env *env) in mem2node__init()
/linux/tools/perf/arch/
A 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);
A 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/tools/perf/ui/
A Dbrowser.h73 struct perf_env;
74 int tui__header_window(struct perf_env *env);
/linux/tools/perf/
A Dperf.c311 perf_env__init(&perf_env); in run_builtin()
312 perf_env__set_cmdline(&perf_env, argc, argv); in run_builtin()
316 perf_env__exit(&perf_env); in run_builtin()
A Dbuiltin-stat.c1462 static inline int perf_env__get_cpu(struct perf_env *env, struct perf_cpu_map *map, int idx) in perf_env__get_cpu()
1479 struct perf_env *env = data; in perf_env__get_socket()
1491 struct perf_env *env = data; in perf_env__get_die()
1510 struct perf_env *env = data; in perf_env__get_core()
1537 static int perf_env__build_socket_map(struct perf_env *env, struct perf_cpu_map *cpus, in perf_env__build_socket_map()
1543 static int perf_env__build_die_map(struct perf_env *env, struct perf_cpu_map *cpus, in perf_env__build_die_map()
1549 static int perf_env__build_core_map(struct perf_env *env, struct perf_cpu_map *cpus, in perf_env__build_core_map()
1555 static int perf_env__build_node_map(struct perf_env *env, struct perf_cpu_map *cpus, in perf_env__build_node_map()
1586 struct perf_env *env = &st->session->header.env; in perf_stat_init_aggr_mode_file()
/linux/tools/perf/arch/x86/util/
A Devsel.c15 struct perf_env env = { .total_mem = 0, } ; in arch_evsel__fixup_new_cycles()
/linux/tools/perf/ui/browsers/
A Dhists.h17 struct perf_env *env;
A Dheader.c95 int tui__header_window(struct perf_env *env) in tui__header_window()
/linux/tools/perf/tests/
A Dmem2node.c50 struct perf_env env = { in test__mem2node()

Completed in 42 milliseconds

12