/linux-6.1.9/tools/perf/util/ |
D | env.h | 53 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 …]
|
D | env.c | 15 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 …]
|
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()
|
D | cgroup.h | 37 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);
|
D | mem2node.h | 7 struct perf_env; 16 int mem2node__init(struct mem2node *map, struct perf_env *env);
|
D | bpf-event.c | 106 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()
|
D | svghelper.h | 7 struct perf_env; 33 int svg_build_topology_map(struct perf_env *env);
|
D | hist.h | 479 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()
|
D | block-info.h | 81 struct evsel *evsel, struct perf_env *env,
|
D | cgroup.c | 555 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()
|
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()
|
D | symbol.h | 167 struct perf_env; 168 int symbol__init(struct perf_env *env);
|
D | dso.h | 17 struct perf_env; 208 struct perf_env *env;
|
D | header.c | 556 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 …]
|
D | mem2node.c | 47 int mem2node__init(struct mem2node *map, struct perf_env *env) in mem2node__init()
|
D | header.h | 92 struct perf_env env;
|
/linux-6.1.9/tools/perf/arch/ |
D | common.h | 7 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);
|
D | common.c | 132 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/ |
D | evsel.c | 21 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()
|
D | mem-events.c | 31 struct perf_env env = { .total_mem = 0, }; in perf_mem_is_amd_cpu()
|
/linux-6.1.9/tools/perf/ui/ |
D | browser.h | 73 struct perf_env; 74 int tui__header_window(struct perf_env *env);
|
/linux-6.1.9/tools/perf/ |
D | perf.c | 320 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/ |
D | hists.h | 17 struct perf_env *env;
|
D | header.c | 95 int tui__header_window(struct perf_env *env) in tui__header_window()
|
/linux-6.1.9/tools/perf/tests/ |
D | mem2node.c | 51 struct perf_env env = { in test__mem2node()
|