Home
last modified time | relevance | path

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

123

/linux/tools/perf/util/
H A Denv.h59 struct perf_env { struct
153 int perf_env__read_core_pmu_caps(struct perf_env *env); argument
154 void perf_env__exit(struct perf_env *env);
156 int perf_env__kernel_is_64_bit(struct perf_env *env);
158 int perf_env__set_cmdline(struct perf_env *env, int argc, const char *argv[]);
160 int perf_env__read_cpuid(struct perf_env *env);
161 int perf_env__read_pmu_mappings(struct perf_env *env);
162 int perf_env__nr_pmu_mappings(struct perf_env *env);
163 const char *perf_env__pmu_mappings(struct perf_env *env);
165 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()
836 static int perf_env__add_bpf_info(struct perf_env *env, u32 id) in perf_env__add_bpf_info()
903 struct perf_env *env = data; in bpf_event__sb_cb()
928 int evlist__add_bpf_sb_event(struct evlist *evlist, struct perf_env *env) in evlist__add_bpf_sb_event()
949 struct perf_env *env, in __bpf_event__print_bpf_prog_info()
H A Dsession.h111 struct perf_env *host_env);
212 struct perf_env *perf_session__env(struct perf_session *session);
H A Dheader.c560 struct perf_env *env = &ff->ph->env; in write_cmdline()
590 struct perf_env *env = &ff->ph->env; in write_cpu_topology()
1018 struct perf_env *env = &ff->ph->env; in write_bpf_prog_info()
1063 struct perf_env *env = &ff->ph->env; in write_bpf_btf()
1816 struct perf_env *env = &ff->ph->env; in print_bpf_prog_info()
1843 struct perf_env *env = &ff->ph->env; in print_bpf_btf()
2128 struct perf_env *env = &ff->ph->env; in print_pmu_caps()
2148 struct perf_env *env = &ff->ph->env; in print_pmu_mappings()
2242 struct perf_env *env = &ff->ph->env; in print_mem_topology()
2451 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 Dsymbol.h152 struct perf_env;
153 int symbol__init(struct perf_env *env);
H A Dblock-info.h72 struct evsel *evsel, struct perf_env *env);
H A Dcgroup.c557 struct cgroup *cgroup__findnew(struct perf_env *env, uint64_t id, in cgroup__findnew()
573 struct cgroup *cgroup__find(struct perf_env *env, uint64_t id) in cgroup__find()
583 void perf_env__purge_cgroups(struct perf_env *env) in perf_env__purge_cgroups()
H A Dhist.h723 float min_pcnt, struct perf_env *env, bool warn_lost_event);
733 float min_percent, struct perf_env *env);
740 struct perf_env *env __maybe_unused, in evlist__tui_browse_hists()
778 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()
H A Dauxtrace.h26 struct perf_env;
516 struct perf_env *env, const struct perf_tool *tool,
520 struct auxtrace_record *itr, struct perf_env *env,
/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.c117 struct perf_env host_env; in run_single_threaded()
165 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