| /linux/tools/perf/util/ |
| A D | machine.h | 32 struct machine { struct 67 struct map *machine__kernel_map(struct machine *machine) in machine__kernel_map() argument 76 struct maps *machine__kernel_maps(struct machine *machine) in machine__kernel_maps() argument 81 int machine__get_kernel_start(struct machine *machine); 115 int machine__process_aux_event(struct machine *machine, 133 int machine__process_ksymbol(struct machine *machine, 136 int machine__process_text_poke(struct machine *machine, 169 void machine__exit(struct machine *machine); 171 void machine__delete(struct machine *machine); 225 int machine__nr_cpus_avail(struct machine *machine); [all …]
|
| A D | machine.c | 77 memset(machine, 0, sizeof(*machine)); in machine__init() 78 machine->kmaps = maps__new(machine); in machine__init() 130 struct machine *machine = malloc(sizeof(*machine)); in machine__new_host() local 209 struct machine *pos, *machine = malloc(sizeof(*machine)); in machines__add() local 246 struct machine *machine = rb_entry(nd, struct machine, rb_node); in machines__set_comm_exec() local 256 struct machine *machine; in machines__find() local 284 if (machine && (machine->pid == pid)) in machines__findnew() 422 struct machine *machine; in machines__set_id_hdr_size() local 1435 struct machine *machine = arg; in machine__create_module() local 3172 struct machine *machine; member [all …]
|
| A D | synthetic-events.h | 16 struct machine; 45 struct perf_sample *sample, struct machine *machine); 51 struct machine *machine, 59 struct machine *machine, 74 …_extra_kmaps(const struct perf_tool *tool, perf_event__handler_t process, struct machine *machine); 81 …size_modules(const struct perf_tool *tool, perf_event__handler_t process, struct machine *machine); 83 …size_cgroups(const struct perf_tool *tool, perf_event__handler_t process, struct machine *machine); 100 int __machine__synthesize_threads(struct machine *machine, const struct perf_tool *tool, 104 int machine__synthesize_threads(struct machine *machine, struct target *target, 128 struct machine *machine, struct record_opts *opts); [all …]
|
| A D | vdso.c | 108 void machine__exit_vdso(struct machine *machine) in machine__exit_vdso() argument 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 142 struct machine *machine; member 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 264 static int __machine__findnew_vdso_compat(struct machine *machine, in __machine__findnew_vdso_compat() argument 298 static struct dso *machine__find_vdso(struct machine *machine, in machine__find_vdso() argument 330 struct dso *machine__findnew_vdso(struct machine *machine, in machine__findnew_vdso() argument [all …]
|
| A D | event.h | 273 struct machine *machine); 277 struct machine *machine); 285 struct machine *machine); 293 struct machine *machine); 301 struct machine *machine); 309 struct machine *machine); 325 struct machine *machine); 329 struct machine *machine); 333 struct machine *machine); 337 struct machine *machine); [all …]
|
| A D | print_insn.c | 35 int capstone_init(struct machine *machine, csh *cs_handle, bool is64, bool disassembler_style); 37 int capstone_init(struct machine *machine, csh *cs_handle, bool is64, bool disassembler_style) in capstone_init() argument 42 if (machine__is(machine, "x86_64") && is64) { in capstone_init() 66 if (machine__normalized_is(machine, "x86")) { in capstone_init() 110 static bool is64bitip(struct machine *machine, struct addr_location *al) in is64bitip() argument 117 return machine__is(machine, "x86_64") || in is64bitip() 119 machine__normalized_is(machine, "s390"); in is64bitip() 122 ssize_t fprintf_insn_asm(struct machine *machine, struct thread *thread, u8 cpumode, in fprintf_insn_asm() argument 155 struct machine *machine, FILE *fp, in sample__fprintf_insn_asm() argument 158 bool is64bit = is64bitip(machine, al); in sample__fprintf_insn_asm() [all …]
|
| A D | event.c | 222 struct machine *machine) in perf_event__process_comm() argument 230 struct machine *machine) in perf_event__process_namespaces() argument 246 struct machine *machine) in perf_event__process_lost() argument 254 struct machine *machine) in perf_event__process_aux() argument 262 struct machine *machine) in perf_event__process_itrace_start() argument 270 struct machine *machine) in perf_event__process_aux_output_hw_id() argument 294 struct machine *machine) in perf_event__process_ksymbol() argument 302 struct machine *machine) in perf_event__process_bpf() argument 310 struct machine *machine) in perf_event__process_text_poke() argument 432 struct machine *machine) in perf_event__exit_del_thread() argument [all …]
|
| A D | synthetic-events.c | 52 struct machine *machine, in perf_tool__process_synth_event() argument 154 struct machine *machine, in perf_event__prepare_comm() argument 193 struct machine *machine) in perf_event__synthesize_comm() argument 549 struct machine *machine) in perf_event__synthesize_cgroup() argument 589 struct machine *machine) in perf_event__walk_cgroup_tree() argument 635 struct machine *machine) in perf_event__synthesize_cgroups() argument 671 struct machine *machine; member 728 .machine = machine, in perf_event__synthesize_modules() 998 struct machine *machine; member 1071 args[i].machine = machine; in perf_event__synthesize_threads() [all …]
|
| A D | db-export.h | 14 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);
|
| A D | db-export.c | 49 int db_export__machine(struct db_export *dbe, struct machine *machine) in db_export__machine() argument 51 if (machine->db_id) in db_export__machine() 63 struct machine *machine, struct thread *main_thread) in db_export__thread() argument 77 machine); in db_export__thread() 147 struct machine *machine) in db_export__dso() argument 210 struct machine *machine, in call_path_from_sample() argument 296 struct machine *machine, struct comm **comm_ptr) in db_export__threads() argument 361 struct machine *machine; in db_export__sample() local 368 machine = maps__machine(al->maps); in db_export__sample() 528 static int db_export__pid_tid(struct db_export *dbe, struct machine *machine, in db_export__pid_tid() argument [all …]
|
| A D | dlfilter.h | 14 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()
|
| A D | dso.c | 473 struct machine *machine) in dso__set_module_info() argument 547 static int __open_dso(struct dso *dso, struct machine *machine) in __open_dso() argument 558 if (machine) in __open_dso() 612 static int open_dso(struct dso *dso, struct machine *machine) in open_dso() argument 784 int dso__data_get_fd(struct dso *dso, struct machine *machine) in dso__data_get_fd() argument 975 struct machine *machine, in dso_cache__populate() argument 1016 struct machine *machine, in dso_cache__find() argument 1072 static int file_size(struct dso *dso, struct machine *machine) in file_size() argument 1127 off_t dso__data_size(struct dso *dso, struct machine *machine) in dso__data_size() argument 1184 struct machine *machine, u64 addr, in dso__data_read_addr() argument [all …]
|
| A D | bpf-event.c | 35 static int machine__process_bpf_event_load(struct machine *machine, in machine__process_bpf_event_load() argument 40 struct perf_env *env = machine->env; in machine__process_bpf_event_load() 72 int machine__process_bpf(struct machine *machine, union perf_event *event, in machine__process_bpf() argument 166 struct machine *machine, in perf_event__synthesize_one_bpf_prog() argument 266 machine, process); in perf_event__synthesize_one_bpf_prog() 300 machine, process); in perf_event__synthesize_one_bpf_prog() 312 struct machine *machine; member 319 struct machine *machine = data->machine; in process_bpf_image() local 380 struct machine *machine, in perf_event__synthesize_bpf_events() argument 420 machine, fd, in perf_event__synthesize_bpf_events() [all …]
|
| /linux/arch/arm/ |
| A D | Makefile | 178 machine-$(CONFIG_ARCH_AT91) += at91 180 machine-$(CONFIG_ARCH_BCM) += bcm 185 machine-$(CONFIG_ARCH_DOVE) += dove 190 machine-$(CONFIG_ARCH_HISI) += hisi 191 machine-$(CONFIG_ARCH_HPE) += hpe 197 machine-$(CONFIG_ARCH_MMP) += mmp 200 machine-$(CONFIG_ARCH_MXC) += imx 203 machine-$(CONFIG_ARCH_MXS) += mxs 210 machine-$(CONFIG_ARCH_PXA) += pxa 214 machine-$(CONFIG_ARCH_RPC) += rpc [all …]
|
| /linux/tools/perf/tests/ |
| A D | dso-data.c | 107 static int dso__data_fd(struct dso *dso, struct machine *machine) in dso__data_fd() argument 119 struct machine machine; in test__dso_data() local 126 memset(&machine, 0, sizeof(machine)); in test__dso_data() 127 dsos__init(&machine.dsos); in test__dso_data() 175 dsos__exit(&machine.dsos); in test__dso_data() 251 struct machine machine; in test__dso_data_cache() local 258 memset(&machine, 0, sizeof(machine)); in test__dso_data_cache() 293 fd = dso__data_fd(machine.dsos.dsos[i], &machine); in test__dso_data_cache() 300 dsos__delete(&machine.dsos); in test__dso_data_cache() 321 struct machine machine; in test__dso_data_reopen() local [all …]
|
| A D | thread-maps-share.c | 10 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() 66 machine__remove_thread(machine, leader); in test__thread_maps_share() 67 machine__remove_thread(machine, t1); in test__thread_maps_share() 68 machine__remove_thread(machine, t2); in test__thread_maps_share() 69 machine__remove_thread(machine, t3); in test__thread_maps_share() [all …]
|
| A D | symbols.c | 16 struct machine *machine; member 22 ti->machine = machine__new_host(); in init_test_info() 23 if (!ti->machine) { in init_test_info() 29 ti->thread = machine__findnew_thread(ti->machine, 100, 100); in init_test_info() 41 machine__delete(ti->machine); in exit_test_info() 59 static struct map *find_module_map(struct machine *machine, struct dso *dso) in find_module_map() argument 63 machine__for_each_kernel_map(machine, find_map_cb, &data); in find_module_map() 85 *map_p = find_module_map(ti->machine, dso); in create_map() 144 static int subdivided_dso_cb(struct dso *dso, struct machine *machine __maybe_unused, void *d) in subdivided_dso_cb() 155 static int process_subdivided_dso(struct machine *machine, struct dso *dso) in process_subdivided_dso() argument [all …]
|
| A D | dwarf-unwind.c | 43 struct machine *machine) in mmap_handler() argument 45 return machine__process_mmap2_event(machine, event, sample); in mmap_handler() 48 static int init_live_machine(struct machine *machine) in init_live_machine() argument 55 mmap_handler, machine, true); in init_live_machine() 202 struct machine *machine; in test__dwarf_unwind() local 206 machine = machine__new_host(); in test__dwarf_unwind() 207 if (!machine) { in test__dwarf_unwind() 212 if (machine__create_kernel_maps(machine)) { in test__dwarf_unwind() 220 if (init_live_machine(machine)) { in test__dwarf_unwind() 226 machine__fprintf(machine, stderr); in test__dwarf_unwind() [all …]
|
| A D | mmap-thread-lookup.c | 132 typedef int (*synth_cb)(struct machine *machine); 134 static int synth_all(struct machine *machine) in synth_all() argument 138 machine, 1, 0, 1); in synth_all() 141 static int synth_process(struct machine *machine) in synth_process() argument 150 machine, 1, 0); in synth_process() 158 struct machine *machine; in mmap_events() local 170 machine = machine__new_host(); in mmap_events() 174 err = synth(machine); in mmap_events() 191 thread = machine__findnew_thread(machine, getpid(), td->tid); in mmap_events() 211 machine__delete(machine); in mmap_events()
|
| A D | hists_cumulate.c | 80 static int add_hist_entries(struct hists *hists, struct machine *machine) in add_hist_entries() argument 263 static int test1(struct evsel *evsel, struct machine *machine) in test1() argument 301 err = add_hist_entries(hists, machine); in test1() 314 static int test2(struct evsel *evsel, struct machine *machine) in test2() argument 448 err = add_hist_entries(hists, machine); in test2() 462 static int test3(struct evsel *evsel, struct machine *machine) in test3() argument 519 static int test4(struct evsel *evsel, struct machine *machine) in test4() argument 709 struct machine *machine; in test__hists_cumulate() local 731 if (!machine) in test__hists_cumulate() 735 machine__fprintf(machine, stderr); in test__hists_cumulate() [all …]
|
| /linux/sound/soc/tegra/ |
| A D | tegra_asoc_machine.c | 146 if (machine->gpiod_hp_det && machine->asoc->add_hp_jack) { in tegra_asoc_machine_init() 171 if (machine->gpiod_hp_det && machine->asoc->add_headset_jack) { in tegra_asoc_machine_init() 191 if (machine->gpiod_mic_det && machine->asoc->add_mic_jack) { in tegra_asoc_machine_init() 335 machine->set_baseclock = 0; in tegra_machine_hw_params() 336 machine->set_mclk = 0; in tegra_machine_hw_params() 361 machine->set_mclk = mclk; in tegra_machine_hw_params() 431 struct tegra_machine *machine; in tegra_asoc_machine_probe() local 436 machine = devm_kzalloc(dev, sizeof(*machine), GFP_KERNEL); in tegra_asoc_machine_probe() 437 if (!machine) in tegra_asoc_machine_probe() 444 machine->asoc = asoc; in tegra_asoc_machine_probe() [all …]
|
| /linux/tools/perf/arch/x86/util/ |
| A D | event.c | 20 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/ |
| A D | builtin-inject.c | 146 struct machine *machine, 153 struct machine *machine, 469 struct machine *machine, in perf_event__repipe_common_mmap() argument 574 struct machine *machine) in perf_event__repipe_mmap() argument 588 struct machine *machine) in perf_event__repipe_mmap2() argument 639 struct machine *machine) in perf_event__repipe_namespaces() argument 759 struct machine *machine, in tool__inject_build_id() argument 836 struct machine *machine, in mark_dso_hit() argument 898 struct machine *machine; member 927 .machine = machine, in perf_event__inject_buildid() [all …]
|
| /linux/Documentation/sound/soc/ |
| A D | machine.rst | 5 The ASoC machine (or board) driver is the code that glues together all the 10 The machine driver can contain codec and platform specific code. It registers 15 /* SoC machine */ 42 probe/remove are optional. Do any machine specific probe here. 47 The machine driver has pre and post versions of suspend and resume to take care 55 also be used to set up the DAI system clock and for any machine related DAI 56 initialisation e.g. the machine audio map can be connected to the codec audio 59 struct snd_soc_dai_link is used to set up each DAI in your machine. e.g. 74 struct snd_soc_card then sets up the machine with its DAIs. e.g. 77 /* corgi audio machine driver */ [all …]
|
| /linux/arch/nios2/platform/ |
| A D | platform.c | 29 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()
|