Home
last modified time | relevance | path

Searched refs:machine (Results 1 – 25 of 591) sorted by relevance

12345678910>>...24

/linux/tools/perf/util/
H A Dmachine.h32 struct machine { struct
73 struct map *machine__kernel_map(struct machine *machine) in machine__kernel_map() argument
75 return machine->vmlinux_map; in machine__kernel_map()
82 struct maps *machine__kernel_maps(struct machine *machine) in machine__kernel_maps() argument
84 return machine->kmaps; in machine__kernel_maps()
87 int machine__get_kernel_start(struct machine *machine);
89 static inline u64 machine__kernel_start(struct machine *machine) in machine__kernel_start() argument
91 if (!machine->kernel_start) in machine__kernel_start()
92 machine__get_kernel_start(machine); in machine__kernel_start()
93 return machine->kernel_start; in machine__kernel_start()
[all …]
H A Dmachine.c49 static struct dso *machine__kernel_dso(struct machine *machine) in machine__kernel_dso() argument
51 return map__dso(machine->vmlinux_map); in machine__kernel_dso()
54 static int machine__set_mmap_name(struct machine *machine) in machine__set_mmap_name() argument
56 if (machine__is_host(machine)) in machine__set_mmap_name()
57 machine->mmap_name = strdup("[kernel.kallsyms]"); in machine__set_mmap_name()
58 else if (machine__is_default_guest(machine)) in machine__set_mmap_name()
59 machine->mmap_name = strdup("[guest.kernel.kallsyms]"); in machine__set_mmap_name()
60 else if (asprintf(&machine->mmap_name, "[guest.kernel.kallsyms.%d]", in machine__set_mmap_name()
61 machine->pid) < 0) in machine__set_mmap_name()
62 machine->mmap_name = NULL; in machine__set_mmap_name()
[all …]
H A Dsynthetic-events.h16 struct machine;
45 struct perf_sample *sample, struct machine *machine);
51 struct machine *machine,
59 struct machine *machine,
68 …ol *tool, const struct perf_cpu_map *cpus, perf_event__handler_t process, struct machine *machine);
74 …_extra_kmaps(const struct perf_tool *tool, perf_event__handler_t process, struct machine *machine);
76 …ct perf_tool *tool, perf_event__handler_t process, struct evlist *evlist, struct machine *machine);
77 …*tool, perf_event__handler_t process, struct evlist *evlist, struct machine *machine, size_t from);
79 …_kernel_mmap(const struct perf_tool *tool, perf_event__handler_t process, struct machine *machine);
80 …event, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine, bool mmap_da…
[all …]
H A Dvdso.c108 void machine__exit_vdso(struct machine *machine) in machine__exit_vdso() argument
110 struct vdso_info *vdso_info = machine->vdso_info; in machine__exit_vdso()
124 zfree(&machine->vdso_info); in machine__exit_vdso()
127 static struct dso *__machine__addnew_vdso(struct machine *machine, const char *short_name, in __machine__addnew_vdso() argument
134 __dsos__add(&machine->dsos, dso); in __machine__addnew_vdso()
142 struct machine *machine; member
154 args->dso_type = dso__type(dso, args->machine); in machine__thread_dso_type_maps_cb()
158 static enum dso_type machine__thread_dso_type(struct machine *machine, in machine__thread_dso_type() argument
162 .machine = machine, in machine__thread_dso_type()
247 static struct dso *__machine__findnew_compat(struct machine *machine, in __machine__findnew_compat() argument
[all …]
H A Devent.h16 struct machine;
304 struct machine *machine);
308 struct machine *machine);
312 struct machine *machine);
316 struct machine *machine);
320 struct machine *machine);
324 struct machine *machine);
328 struct machine *machine);
332 struct machine *machine);
336 struct machine *machine);
[all …]
H A Devent.c20 #include "machine.h"
229 struct machine *machine) in perf_event__process_comm()
231 return machine__process_comm_event(machine, event, sample); in perf_event__process_comm()
237 struct machine *machine) in perf_event__process_namespaces()
239 return machine__process_namespaces_event(machine, event, sample); in perf_event__process_namespaces()
245 struct machine *machine) in perf_event__process_cgroup()
247 return machine__process_cgroup_event(machine, even in perf_event__process_cgroup()
230 perf_event__process_comm(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__process_comm() argument
238 perf_event__process_namespaces(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__process_namespaces() argument
246 perf_event__process_cgroup(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__process_cgroup() argument
254 perf_event__process_lost(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__process_lost() argument
262 perf_event__process_aux(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample __maybe_unused,struct machine * machine) perf_event__process_aux() argument
270 perf_event__process_itrace_start(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample __maybe_unused,struct machine * machine) perf_event__process_itrace_start() argument
278 perf_event__process_aux_output_hw_id(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample __maybe_unused,struct machine * machine) perf_event__process_aux_output_hw_id() argument
286 perf_event__process_lost_samples(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__process_lost_samples() argument
294 perf_event__process_switch(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample __maybe_unused,struct machine * machine) perf_event__process_switch() argument
302 perf_event__process_ksymbol(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample __maybe_unused,struct machine * machine) perf_event__process_ksymbol() argument
310 perf_event__process_bpf(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__process_bpf() argument
318 perf_event__process_text_poke(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__process_text_poke() argument
401 perf_event__process_mmap(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__process_mmap() argument
409 perf_event__process_mmap2(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__process_mmap2() argument
424 perf_event__process_fork(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__process_fork() argument
432 perf_event__process_exit(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__process_exit() argument
440 perf_event__exit_del_thread(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample __maybe_unused,struct machine * machine) perf_event__exit_del_thread() argument
546 perf_event__fprintf_text_poke(union perf_event * event,struct machine * machine,FILE * fp) perf_event__fprintf_text_poke() argument
626 perf_event__fprintf(union perf_event * event,struct machine * machine,FILE * fp) perf_event__fprintf() argument
689 perf_event__process(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__process() argument
698 struct machine *machine = maps__machine(maps); thread__find_map() local
761 struct machine *machine = maps__machine(thread__maps(thread)); thread__find_map_fb() local
805 machine__resolve(struct machine * machine,struct addr_location * al,struct perf_sample * sample) machine__resolve() argument
[all...]
H A Ddb-export.h14 struct machine;
43 int (*export_machine)(struct db_export *dbe, struct machine *machine);
45 u64 main_thread_db_id, struct machine *machine);
51 struct machine *machine);
61 struct machine *machine,
83 int db_export__machine(struct db_export *dbe, struct machine *machine);
85 struct machine *machine, struct thread *main_thread);
93 struct machine *machine);
108 struct perf_sample *sample, struct machine *machine);
H A Dsynthetic-events.c53 struct machine *machine, in perf_tool__process_synth_event() argument
66 return process(tool, event, &synth_sample, machine); in perf_tool__process_synth_event()
155 struct machine *machine, in perf_event__prepare_comm() argument
164 if (machine__is_host(machine)) { in perf_event__prepare_comm()
171 *tgid = machine->pid; in perf_event__prepare_comm()
182 memset(event->comm.comm + size, 0, machine->id_hdr_size); in perf_event__prepare_comm()
185 machine->id_hdr_size); in perf_event__prepare_comm()
194 struct machine *machine) in perf_event__synthesize_comm() argument
199 if (perf_event__prepare_comm(event, 0, pid, machine, &tgid, &ppid, in perf_event__synthesize_comm()
203 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_comm()
[all …]
H A Ddb-export.c12 #include "machine.h"
48 int db_export__machine(struct db_export *dbe, struct machine *machine)
50 if (machine->db_id) in db_export__machine()
53 machine->db_id = ++dbe->machine_last_db_id; in db_export__machine()
56 return dbe->export_machine(dbe, machine); in db_export__machine()
62 struct machine *machine, struct thread *main_thread) in db_export__thread()
76 machine); in db_export__thread()
146 struct machine *machin
49 db_export__machine(struct db_export * dbe,struct machine * machine) db_export__machine() argument
63 db_export__thread(struct db_export * dbe,struct thread * thread,struct machine * machine,struct thread * main_thread) db_export__thread() argument
147 db_export__dso(struct db_export * dbe,struct dso * dso,struct machine * machine) db_export__dso() argument
210 call_path_from_sample(struct db_export * dbe,struct machine * machine,struct thread * thread,struct perf_sample * sample,struct evsel * evsel) call_path_from_sample() argument
296 db_export__threads(struct db_export * dbe,struct thread * thread,struct thread * main_thread,struct machine * machine,struct comm ** comm_ptr) db_export__threads() argument
361 struct machine *machine = NULL; db_export__sample() local
532 db_export__pid_tid(struct db_export * dbe,struct machine * machine,pid_t pid,pid_t tid,u64 * db_id,struct comm ** comm_ptr,bool * is_idle) db_export__pid_tid() argument
559 db_export__switch(struct db_export * dbe,union perf_event * event,struct perf_sample * sample,struct machine * machine) db_export__switch() argument
[all...]
H A Dprint_insn.c33 static bool is64bitip(struct machine *machine, struct addr_location *al) in is64bitip() argument
40 return machine__is(machine, "x86_64") || in is64bitip()
41 machine__normalized_is(machine, "arm64") || in is64bitip()
42 machine__normalized_is(machine, "s390"); in is64bitip()
45 ssize_t fprintf_insn_asm(struct machine *machine, struct thread *thread, u8 cpumode, in fprintf_insn_asm() argument
49 return capstone__fprintf_insn_asm(machine, thread, cpumode, is64bit, code, code_size, in fprintf_insn_asm()
54 struct machine *machine, FILE *fp, in sample__fprintf_insn_asm() argument
57 bool is64bit = is64bitip(machine, al); in sample__fprintf_insn_asm()
60 printed = fprintf_insn_asm(machine, thread, sample->cpumode, is64bit, in sample__fprintf_insn_asm()
H A Ddwarf-regs.c31 const char *get_dwarf_regstr(unsigned int n, unsigned int machine, unsigned int flags) in get_dwarf_regstr() argument
35 if (machine == EM_NONE) { in get_dwarf_regstr()
37 machine = EM_HOST; in get_dwarf_regstr()
39 switch (machine) { in get_dwarf_regstr()
69 pr_err("ELF MACHINE %x is not supported.\n", machine); in get_dwarf_regstr()
86 int get_dwarf_regnum(const char *name, unsigned int machine, unsigned int flags) in get_dwarf_regnum() argument
102 if (machine == EM_NONE) { in get_dwarf_regnum()
104 machine = EM_HOST; in get_dwarf_regnum()
106 switch (machine) { in get_dwarf_regnum()
149 pr_err("ELF MACHINE %x is not supported.\n", machine); in get_dwarf_regnum()
[all …]
H A Ddlfilter.h14 struct machine;
34 struct machine *machine; member
62 struct machine *machine,
73 struct machine *machine, in dlfilter__filter_event() argument
79 return dlfilter__do_filter_event(d, event, sample, evsel, machine, al, addr_al, false); in dlfilter__filter_event()
86 struct machine *machine, in dlfilter__filter_event_early() argument
92 return dlfilter__do_filter_event(d, event, sample, evsel, machine, al, addr_al, true); in dlfilter__filter_event_early()
H A Dbpf-event.c25 #include "machine.h"
43 static int machine__process_bpf_event_load(struct machine *machine, in machine__process_bpf_event_load() argument
48 struct perf_env *env = machine->env; in machine__process_bpf_event_load()
65 struct map *map = maps__find(machine__kernel_maps(machine), addr); in machine__process_bpf_event_load()
80 int machine__process_bpf(struct machine *machine, union perf_event *event, in machine__process_bpf() argument
88 return machine__process_bpf_event_load(machine, event, sample); in machine__process_bpf()
418 struct machine *machine) in synthesize_perf_record_bpf_metadata() argument
478 struct machine *machine; global() member
530 perf_event__synthesize_one_bpf_prog(struct perf_session * session,perf_event__handler_t process,struct machine * machine,int fd,union perf_event * event,struct record_opts * opts) perf_event__synthesize_one_bpf_prog() argument
697 struct machine *machine; global() member
704 struct machine *machine = data->machine; process_bpf_image() local
766 perf_event__synthesize_bpf_events(struct perf_session * session,perf_event__handler_t process,struct machine * machine,struct record_opts * opts) perf_event__synthesize_bpf_events() argument
[all...]
H A Ddso.c477 struct machine *machine) in dso__set_module_info() argument
479 if (machine__is_host(machine)) in dso__set_module_info()
611 static int __open_dso(struct dso *dso, struct machine *machine) in __open_dso() argument
620 name = dso__get_filename(dso, machine ? machine->root_dir : "", &decomp); in __open_dso()
643 static int open_dso(struct dso *dso, struct machine *machine) in open_dso() argument
654 fd = __open_dso(dso, machine); in open_dso()
774 static void try_to_open_dso(struct dso *dso, struct machine *machine) in try_to_open_dso() argument
789 dso_data->fd = open_dso(dso, machine); in try_to_open_dso()
796 dso_data->fd = open_dso(dso, machine); in try_to_open_dso()
817 bool dso__data_get_fd(struct dso *dso, struct machine *machine, int *fd) in dso__data_get_fd() argument
[all …]
H A Dthread.c25 int thread__init_maps(struct thread *thread, struct machine *machine) in thread__init_maps() argument
30 thread__set_maps(thread, maps__new(machine)); in thread__init_maps()
32 struct thread *leader = machine__findnew_thread(machine, pid, pid); in thread__init_maps()
468 struct machine *machine; member
481 args->e_machine = dso__e_machine(dso, args->machine, &args->e_flags); in thread__e_machine_callback()
485 uint16_t thread__e_machine(struct thread *thread, struct machine *machine, uint32_t *e_flags) in thread__e_machine() argument
491 .machine = machine, in thread__e_machine()
502 if (machine == NULL) { in thread__e_machine()
505 machine = maps__machine(maps); in thread__e_machine()
510 struct thread *parent = machine__findnew_thread(machine, pid, pid); in thread__e_machine()
[all …]
/linux/tools/perf/tests/
H A Dthread-maps-share.c10 struct machine *machine; in test__thread_maps_share() local
31 machine = &machines.host; in test__thread_maps_share()
34 leader = machine__findnew_thread(machine, 0, 0); in test__thread_maps_share()
35 t1 = machine__findnew_thread(machine, 0, 1); in test__thread_maps_share()
36 t2 = machine__findnew_thread(machine, 0, 2); in test__thread_maps_share()
37 t3 = machine__findnew_thread(machine, 0, 3); in test__thread_maps_share()
40 other = machine__findnew_thread(machine, 4, 5); in test__thread_maps_share()
58 other_leader = machine__find_thread(machine, 4, 4); in test__thread_maps_share()
66 machine__remove_thread(machine, leader); in test__thread_maps_share()
67 machine__remove_thread(machine, t1); in test__thread_maps_share()
[all …]
H A Ddso-data.c14 #include "machine.h"
107 static int dso__data_fd(struct dso *dso, struct machine *machine) in dso__data_fd()
111 if (dso__data_get_fd(dso, machine, &fd)) in dso__data_fd()
130 struct machine machine; in test__dso_data()
137 memset(&machine, 0, sizeof(machine)); in test__dso_data()
138 dsos__init(&machine.dsos); in test__dso_data()
141 TEST_ASSERT_VAL("Failed to add dso", !dsos__add(&machine in test__dso_data()
106 dso__data_fd(struct dso * dso,struct machine * machine) dso__data_fd() argument
118 struct machine machine; test__dso_data() local
253 struct machine machine; test__dso_data_cache() local
323 struct machine machine; test__dso_data_reopen() local
[all...]
H A Dsymbols.c18 struct machine *machine; member
25 ti->machine = machine__new_host(&ti->host_env); in init_test_info()
26 if (!ti->machine) { in init_test_info()
33 ti->thread = machine__findnew_thread(ti->machine, 100, 100); in init_test_info()
46 machine__delete(ti->machine); in exit_test_info()
65 static struct map *find_module_map(struct machine *machine, struct dso *dso) in find_module_map() argument
69 machine__for_each_kernel_map(machine, find_map_cb, &data); in find_module_map()
84 struct dso *dso = machine__findnew_dso(ti->machine, filename); in create_map()
91 *map_p = find_module_map(ti->machine, dso); in create_map()
105 *map_p = map__new(ti->machine, 0x100000, 0xffffffff, 0, &dso_id_empty, in create_map()
[all …]
H A Dhists_cumulate.c10 #include "util/machine.h"
80 static int add_hist_entries(struct hists *hists, struct machine *machine) in add_hist_entries() argument
106 if (machine__resolve(machine, &al, &sample) < 0) in add_hist_entries()
164 typedef int (*test_fn_t)(struct evsel *, struct machine *);
263 static int test1(struct evsel *evsel, struct machine *machine) in test1() argument
298 setup_sorting(/*evlist=*/NULL, machine->env); in test1()
301 err = add_hist_entries(hists, machine); in test1()
314 static int test2(struct evsel *evsel, struct machine *machin argument
462 test3(struct evsel * evsel,struct machine * machine) test3() argument
519 test4(struct evsel * evsel,struct machine * machine) test4() argument
709 struct machine *machine; test__hists_cumulate() local
[all...]
H A Dmmap-thread-lookup.c133 typedef int (*synth_cb)(struct machine *machine);
135 static int synth_all(struct machine *machine) in synth_all() argument
139 machine, 1, 0, 1); in synth_all()
142 static int synth_process(struct machine *machine) in synth_process() argument
151 machine, 1, 0); in synth_process()
160 struct machine *machine; in mmap_events() local
173 machine = machine__new_host(&host_env); in mmap_events()
177 err = synth(machine); in mmap_events()
194 thread = machine__findnew_thread(machine, getpid(), td->tid); in mmap_events()
214 machine__delete(machine); in mmap_events()
/linux/tools/perf/arch/x86/util/
H A Devent.c20 struct machine *machine; member
38 args->machine->id_hdr_size; in perf_event__synthesize_extra_kmaps_cb()
48 if (machine__is_host(args->machine)) in perf_event__synthesize_extra_kmaps_cb()
58 event->mmap.pid = args->machine->pid; in perf_event__synthesize_extra_kmaps_cb()
62 if (perf_tool__process_synth_event(args->tool, event, args->machine, args->process) != 0) in perf_event__synthesize_extra_kmaps_cb()
70 struct machine *machine) in perf_event__synthesize_extra_kmaps() argument
73 struct maps *kmaps = machine__kernel_maps(machine); in perf_event__synthesize_extra_kmaps()
77 .machine = machine, in perf_event__synthesize_extra_kmaps()
78 .event = zalloc(sizeof(args.event->mmap) + machine->id_hdr_size), in perf_event__synthesize_extra_kmaps()
/linux/tools/perf/
H A Dbuiltin-inject.c148 struct machine *machine,
155 struct machine *machine,
302 struct machine *machine __maybe_unused) in perf_event__repipe()
310 struct machine *machine __maybe_unused) in perf_event__drop()
318 struct machine *machine __maybe_unuse in perf_event__drop_aux()
367 perf_event__repipe_sample(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) perf_event__repipe_sample() argument
392 perf_event__convert_sample_callchain(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) perf_event__convert_sample_callchain() argument
473 findnew_dso(int pid,int tid,const char * filename,const struct dso_id * id,struct machine * machine) findnew_dso() argument
542 perf_event__repipe_common_mmap(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine,__u32 pid,__u32 tid,__u64 start,__u64 len,__u64 pgoff,__u32 flags,__u32 prot,const char * filename,const struct dso_id * dso_id,int (* perf_event_process)(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine)) perf_event__repipe_common_mmap() argument
647 perf_event__repipe_mmap(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__repipe_mmap() argument
661 perf_event__repipe_mmap2(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__repipe_mmap2() argument
688 perf_event__repipe_fork(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__repipe_fork() argument
701 perf_event__repipe_comm(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__repipe_comm() argument
714 perf_event__repipe_namespaces(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__repipe_namespaces() argument
726 perf_event__repipe_exit(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__repipe_exit() argument
839 tool__inject_build_id(const struct perf_tool * tool,struct perf_sample * sample,struct machine * machine,const struct evsel * evsel,__u16 misc,const char * filename,struct dso * dso,u32 flags) tool__inject_build_id() argument
876 tool__inject_mmap2_build_id(const struct perf_tool * tool,struct perf_sample * sample,struct machine * machine,const struct evsel * evsel,__u16 misc,__u32 pid,__u32 tid,__u64 start,__u64 len,__u64 pgoff,struct dso * dso,__u32 prot,__u32 flags,const char * filename) tool__inject_mmap2_build_id() argument
916 mark_dso_hit(const struct perf_inject * inject,const struct perf_tool * tool,struct perf_sample * sample,struct machine * machine,const struct evsel * mmap_evsel,struct map * map,bool sample_in_dso) mark_dso_hit() argument
978 struct machine *machine; global() member
994 perf_event__inject_buildid(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel __maybe_unused,struct machine * machine) perf_event__inject_buildid() argument
1058 perf_inject__sched_switch(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) perf_inject__sched_switch() argument
1083 perf_inject__sched_stat(const struct perf_tool * tool,union perf_event * event __maybe_unused,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) perf_inject__sched_stat() argument
1374 struct machine *machine = &session->machines.host; synthesize_id_index() local
1430 struct machine *machine = perf_session__findnew_machine(inject->session, machine_pid); synthesize_build_id() local
1845 host__repipe(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) host__repipe() argument
1937 host__context_switch(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) host__context_switch() argument
[all...]
H A Dbuiltin-kwork.c453 struct machine *machine, in work_push_atom() argument
461 class->work_init(kwork, class, &key, src_type, evsel, sample, machine); in work_push_atom()
512 struct machine *machine, in work_pop_atom() argument
519 class->work_init(kwork, class, &key, src_type, evsel, sample, machine); in work_pop_atom()
604 struct machine *machine) in report_entry_event() argument
608 machine, NULL, true); in report_entry_event()
615 struct machine *machin in report_exit_event() argument
659 latency_raise_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) latency_raise_event() argument
670 latency_entry_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) latency_entry_event() argument
692 timehist_save_callchain(struct perf_kwork * kwork,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) timehist_save_callchain() argument
818 timehist_raise_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) timehist_raise_event() argument
829 timehist_entry_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) timehist_entry_event() argument
850 timehist_exit_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) timehist_exit_event() argument
901 top_entry_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) top_entry_event() argument
912 top_exit_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) top_exit_event() argument
942 top_sched_switch_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) top_sched_switch_event() argument
965 process_irq_handler_entry_event(const struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_irq_handler_entry_event() argument
978 process_irq_handler_exit_event(const struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_irq_handler_exit_event() argument
1044 process_softirq_raise_event(const struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_softirq_raise_event() argument
1058 process_softirq_entry_event(const struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_softirq_entry_event() argument
1072 process_softirq_exit_event(const struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_softirq_exit_event() argument
1175 process_workqueue_activate_work_event(const struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_workqueue_activate_work_event() argument
1189 process_workqueue_execute_start_event(const struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_workqueue_execute_start_event() argument
1203 process_workqueue_execute_end_event(const struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_workqueue_execute_end_event() argument
1239 workqueue_work_init(struct perf_kwork * kwork __maybe_unused,struct kwork_class * class,struct kwork_work * work,enum kwork_trace_type src_type __maybe_unused,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) workqueue_work_init() argument
1274 process_sched_switch_event(const struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_sched_switch_event() argument
1959 perf_kwork__process_tracepoint_sample(const struct perf_tool * tool,union perf_event * event __maybe_unused,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) perf_kwork__process_tracepoint_sample() argument
[all...]
/linux/arch/nios2/platform/
H A Dplatform.c29 const char *machine; in nios2_soc_device_init() local
33 machine = of_flat_dt_get_machine_name(); in nios2_soc_device_init()
34 if (machine) in nios2_soc_device_init()
35 soc_dev_attr->machine = kasprintf(GFP_KERNEL, "%s", in nios2_soc_device_init()
36 machine); in nios2_soc_device_init()
42 kfree(soc_dev_attr->machine); in nios2_soc_device_init()
/linux/sound/soc/amd/
H A Dacp-da7219-max98357a.c15 #include <linux/regulator/machine.h>
247 struct acp_platform_info *machine = snd_soc_card_get_drvdata(card); in cz_da7219_play_startup()
259 machine->play_i2s_instance = I2S_SP_INSTANCE; in cz_da7219_play_startup()
268 struct acp_platform_info *machine = snd_soc_card_get_drvdata(card); in cz_da7219_cap_startup()
280 machine->cap_i2s_instance = I2S_SP_INSTANCE; in cz_da7219_cap_startup()
281 machine->capture_channel = CAP_CHANNEL1; in cz_da7219_cap_startup()
290 struct acp_platform_info *machine = snd_soc_card_get_drvdata(card); in cz_max_startup()
302 machine->play_i2s_instance = I2S_BT_INSTANCE; in cz_max_startup()
311 struct acp_platform_info *machine = snd_soc_card_get_drvdata(card); in cz_dmic0_startup()
323 machine in cz_dmic0_startup()
250 struct acp_platform_info *machine = snd_soc_card_get_drvdata(card); cz_da7219_play_startup() local
271 struct acp_platform_info *machine = snd_soc_card_get_drvdata(card); cz_da7219_cap_startup() local
293 struct acp_platform_info *machine = snd_soc_card_get_drvdata(card); cz_max_startup() local
314 struct acp_platform_info *machine = snd_soc_card_get_drvdata(card); cz_dmic0_startup() local
335 struct acp_platform_info *machine = snd_soc_card_get_drvdata(card); cz_dmic1_startup() local
362 struct acp_platform_info *machine = snd_soc_card_get_drvdata(card); cz_rt5682_play_startup() local
383 struct acp_platform_info *machine = snd_soc_card_get_drvdata(card); cz_rt5682_cap_startup() local
405 struct acp_platform_info *machine = snd_soc_card_get_drvdata(card); cz_rt5682_max_startup() local
426 struct acp_platform_info *machine = snd_soc_card_get_drvdata(card); cz_rt5682_dmic0_startup() local
447 struct acp_platform_info *machine = snd_soc_card_get_drvdata(card); cz_rt5682_dmic1_startup() local
752 struct acp_platform_info *machine; cz_probe() local
[all...]

12345678910>>...24