Home
last modified time | relevance | path

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

123

/linux/tools/perf/util/
H A Denv.h72 struct perf_env { struct
172 int perf_env__read_core_pmu_caps(struct perf_env *env); argument
174 void perf_env__exit(struct perf_env *env);
176 int perf_env__kernel_is_64_bit(struct perf_env *env);
178 int perf_env__set_cmdline(struct perf_env *env, int argc, const char *argv[]);
180 int perf_env__read_cpuid(struct perf_env *env);
181 int perf_env__read_pmu_mappings(struct perf_env *env);
182 int perf_env__nr_pmu_mappings(struct perf_env *env);
183 const char *perf_env__pmu_mappings(struct perf_env *env);
185 int perf_env__read_cpu_topology_map(struct perf_env *env);
[all …]
H A Denv.c27 bool perf_env__insert_bpf_prog_info(struct perf_env *env, in perf_env__insert_bpf_prog_info()
39 bool __perf_env__insert_bpf_prog_info(struct perf_env *env, struct bpf_prog_info_node *info_node) in __perf_env__insert_bpf_prog_info()
67 struct bpf_prog_info_node *perf_env__find_bpf_prog_info(struct perf_env *env, in perf_env__find_bpf_prog_info()
92 void perf_env__iterate_bpf_prog_info(struct perf_env *env, in perf_env__iterate_bpf_prog_info()
106 bool perf_env__insert_btf(struct perf_env *env, struct btf_node *btf_node) in perf_env__insert_btf()
116 bool __perf_env__insert_btf(struct perf_env *env, struct btf_node *btf_node) in __perf_env__insert_btf()
144 struct btf_node *perf_env__find_btf(struct perf_env *env, __u32 btf_id) in perf_env__find_btf()
154 struct btf_node *__perf_env__find_btf(struct perf_env *env, __u32 btf_id) in __perf_env__find_btf()
174 static void perf_env__purge_bpf(struct perf_env *env) in perf_env__purge_bpf()
214 static void perf_env__purge_bpf(struct perf_env *env __maybe_unused) in perf_env__purge_bpf()
[all …]
H A Dbpf-event.h13 struct perf_env;
42 int evlist__add_bpf_sb_event(struct evlist *evlist, struct perf_env *env);
44 struct perf_env *env,
56 struct perf_env *env __maybe_unused) in evlist__add_bpf_sb_event()
62 struct perf_env *env __maybe_unused, in __bpf_event__print_bpf_prog_info()
H 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);
42 void perf_env__purge_cgroups(struct perf_env *env);
H A Dmem2node.h7 struct perf_env;
16 int mem2node__init(struct mem2node *map, struct perf_env *env);
H A Dsort.h9 struct perf_env;
134 int setup_sorting(struct evlist *evlist, struct perf_env *env);
149 struct evlist *evlist, struct perf_env *env,
H A Dsvghelper.h7 struct perf_env;
33 int svg_build_topology_map(struct perf_env *env);
H A Dmachine.h44 struct perf_env *env;
172 struct machine *machine__new_host(struct perf_env *host_env);
173 struct machine *machine__new_kallsyms(struct perf_env *host_env);
174 struct machine *machine__new_live(struct perf_env *host_env, bool kernel_maps, pid_t pid);
H A Dbpf-event.c48 struct perf_env *env = machine->env; in machine__process_bpf_event_load()
104 static int perf_env__fetch_btf(struct perf_env *env, in perf_env__fetch_btf()
507 struct perf_env *env = &session->header.env; in perf_event__synthesize_final_bpf_metadata()
543 struct perf_env *env; in perf_event__synthesize_one_bpf_prog()
834 static int perf_env__add_bpf_info(struct perf_env *env, u32 id) in perf_env__add_bpf_info()
901 struct perf_env *env = data; in bpf_event__sb_cb()
926 int evlist__add_bpf_sb_event(struct evlist *evlist, struct perf_env *env) in evlist__add_bpf_sb_event()
947 struct perf_env *env, in __bpf_event__print_bpf_prog_info()
H A Dsession.h111 struct perf_env *host_env);
213 struct perf_env *perf_session__env(struct perf_session *session);
H A Dheader.c575 struct perf_env *env = &ff->ph->env; in write_cmdline()
605 struct perf_env *env = &ff->ph->env; in write_cpu_topology()
1033 struct perf_env *env = &ff->ph->env; in write_bpf_prog_info()
1075 struct perf_env *env = &ff->ph->env; in write_bpf_btf()
1986 struct perf_env *env = &ff->ph->env; in print_bpf_prog_info()
2013 struct perf_env *env = &ff->ph->env; in print_bpf_btf()
2298 struct perf_env *env = &ff->ph->env; in print_pmu_caps()
2318 struct perf_env *env = &ff->ph->env; in print_pmu_mappings()
2412 struct perf_env *env = &ff->ph->env; in print_mem_topology()
2665 struct perf_env *env = &ff->ph->env; in process_nrcpus()
[all …]
H A Dsample-raw.h14 void evlist__init_trace_event_sample_raw(struct evlist *evlist, struct perf_env *env);
H A Dsample-raw.c15 void evlist__init_trace_event_sample_raw(struct evlist *evlist, struct perf_env *env) in evlist__init_trace_event_sample_raw()
H A Dauxtrace.h21 struct perf_env;
510 struct perf_env *env, const struct perf_tool *tool,
514 struct auxtrace_record *itr, struct perf_env *env,
H A Dsymbol.h152 struct perf_env;
153 int symbol__init(struct perf_env *env);
H A Dcgroup.c558 struct cgroup *cgroup__findnew(struct perf_env *env, uint64_t id, in cgroup__findnew()
574 struct cgroup *cgroup__find(struct perf_env *env, uint64_t id) in cgroup__find()
584 void perf_env__purge_cgroups(struct perf_env *env) in perf_env__purge_cgroups()
H A Dblock-info.h72 struct evsel *evsel, struct perf_env *env);
H A Dhist.h726 float min_pcnt, struct perf_env *env, bool warn_lost_event);
736 float min_percent, struct perf_env *env);
743 struct perf_env *env __maybe_unused, in evlist__tui_browse_hists()
784 struct perf_env *env __maybe_unused) in block_hists_tui_browse()
H A Damd-sample-raw.c336 static void parse_cpuid(struct perf_env *env) in parse_cpuid()
357 struct perf_env *env = perf_session__env(evlist->session); in evlist__has_amd_ibs()
/linux/tools/perf/arch/
H A 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);
H A 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/tools/perf/bench/
H A Dsynthesize.c118 struct perf_env host_env; in run_single_threaded()
166 struct perf_env host_env; in do_run_multi_threaded()
/linux/tools/perf/ui/browsers/
H A Dhists.h16 struct perf_env *env;
/linux/tools/perf/
H A Dbuiltin-kallsyms.c23 struct perf_env host_env; in __cmd_kallsyms()
/linux/tools/perf/tests/
H A Dmem2node.c51 struct perf_env env = { in test__mem2node()

123