/linux/tools/perf/util/ |
H A D | env.h | 61 struct perf_env { struct 155 extern struct perf_env perf_env; argument 157 void perf_env__exit(struct perf_env *env); 159 int perf_env__kernel_is_64_bit(struct perf_env *env); 161 int perf_env__set_cmdline(struct perf_env *env, int argc, const char *argv[]); 163 int perf_env__read_cpuid(struct perf_env *env); 164 int perf_env__read_pmu_mappings(struct perf_env *env); 165 int perf_env__nr_pmu_mappings(struct perf_env *env); 166 const char *perf_env__pmu_mappings(struct perf_env *env); 168 int perf_env__read_cpu_topology_map(struct perf_env *env); [all …]
|
H A D | env.c | 18 struct perf_env perf_env; variable 25 void perf_env__insert_bpf_prog_info(struct perf_env *env, in perf_env__insert_bpf_prog_info() 33 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() 60 struct bpf_prog_info_node *perf_env__find_bpf_prog_info(struct perf_env *env, in perf_env__find_bpf_prog_info() 85 bool perf_env__insert_btf(struct perf_env *env, struct btf_node *btf_node) in perf_env__insert_btf() 95 bool __perf_env__insert_btf(struct perf_env *env, struct btf_node *btf_node) in __perf_env__insert_btf() 123 struct btf_node *perf_env__find_btf(struct perf_env *env, __u32 btf_id) in perf_env__find_btf() 133 struct btf_node *__perf_env__find_btf(struct perf_env *env, __u32 btf_id) in __perf_env__find_btf() 153 static void perf_env__purge_bpf(struct perf_env *env) in perf_env__purge_bpf() 192 static void perf_env__purge_bpf(struct perf_env *env __maybe_unused) in perf_env__purge_bpf() [all …]
|
H A D | bpf-event.h | 13 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()
|
H A D | cgroup.h | 38 struct cgroup *cgroup__findnew(struct perf_env *env, uint64_t id, 40 struct cgroup *cgroup__find(struct perf_env *env, uint64_t id); 43 void perf_env__purge_cgroups(struct perf_env *env);
|
H A D | mem2node.h | 7 struct perf_env; 16 int mem2node__init(struct mem2node *map, struct perf_env *env);
|
H A D | bpf-event.c | 40 struct perf_env *env = machine->env; in machine__process_bpf_event_load() 96 static int perf_env__fetch_btf(struct perf_env *env, in perf_env__fetch_btf() 178 struct perf_env *env; in perf_event__synthesize_one_bpf_prog() 187 env = session->data ? &session->header.env : &perf_env; in perf_event__synthesize_one_bpf_prog() 451 static void perf_env__add_bpf_info(struct perf_env *env, u32 id) in perf_env__add_bpf_info() 505 struct perf_env *env = data; in bpf_event__sb_cb() 529 int evlist__add_bpf_sb_event(struct evlist *evlist, struct perf_env *env) in evlist__add_bpf_sb_event() 550 struct perf_env *env, in __bpf_event__print_bpf_prog_info()
|
H A D | svghelper.h | 7 struct perf_env; 33 int svg_build_topology_map(struct perf_env *env);
|
H A D | symbol.h | 152 struct perf_env; 153 int symbol__init(struct perf_env *env);
|
H A D | block-info.h | 72 struct evsel *evsel, struct perf_env *env);
|
H A D | hist.h | 676 float min_pcnt, struct perf_env *env, bool warn_lost_event); 686 float min_percent, struct perf_env *env); 693 struct perf_env *env __maybe_unused, in evlist__tui_browse_hists() 731 struct perf_env *env __maybe_unused) in block_hists_tui_browse()
|
H A D | amd-sample-raw.c | 293 static void parse_cpuid(struct perf_env *env) in parse_cpuid() 314 struct perf_env *env = evlist->env; in evlist__has_amd_ibs()
|
H A D | cgroup.c | 564 struct cgroup *cgroup__findnew(struct perf_env *env, uint64_t id, in cgroup__findnew() 580 struct cgroup *cgroup__find(struct perf_env *env, uint64_t id) in cgroup__find() 590 void perf_env__purge_cgroups(struct perf_env *env) in perf_env__purge_cgroups()
|
H A D | header.c | 566 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 …]
|
H A D | mem2node.c | 47 int mem2node__init(struct mem2node *map, struct perf_env *env) in mem2node__init()
|
H A D | header.h | 106 struct perf_env env;
|
H A D | dso.h | 18 struct perf_env; 166 struct perf_env *env;
|
/linux/tools/perf/arch/ |
H A D | common.h | 7 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);
|
H A D | common.c | 144 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/tools/perf/ui/ |
H A D | browser.h | 73 struct perf_env; 74 int tui__header_window(struct perf_env *env);
|
/linux/tools/perf/arch/x86/util/ |
H A D | env.c | 8 struct perf_env env = { .total_mem = 0, }; in x86__is_amd_cpu()
|
/linux/tools/perf/ |
H A D | perf.c | 349 perf_env__init(&perf_env); in run_builtin() 350 perf_env__set_cmdline(&perf_env, argc, argv); in run_builtin() 354 perf_env__exit(&perf_env); in run_builtin()
|
H A D | builtin-stat.c | 1527 struct perf_env *env = data; in perf_env__get_socket_aggr_by_cpu() 1538 struct perf_env *env = data; in perf_env__get_die_aggr_by_cpu() 1554 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() 1594 struct perf_env *env = data; in perf_env__get_cache_aggr_by_cpu() 1611 struct perf_env *env = data; in perf_env__get_cluster_aggr_by_cpu() 1625 struct perf_env *env = data; in perf_env__get_core_aggr_by_cpu() 1644 struct perf_env *env = data; in perf_env__get_cpu_aggr_by_cpu() 1783 struct perf_env *env = &st->session->header.env; in perf_stat_init_aggr_mode_file()
|
/linux/tools/perf/ui/browsers/ |
H A D | hists.h | 16 struct perf_env *env;
|
H A D | header.c | 95 int tui__header_window(struct perf_env *env) in tui__header_window()
|
/linux/tools/perf/tests/ |
H A D | mem2node.c | 51 struct perf_env env = { in test__mem2node()
|