Home
last modified time | relevance | path

Searched full:machine (Results 1 – 25 of 2837) sorted by relevance

12345678910>>...114

/linux/tools/perf/util/
H A Dmachine.h24 /* Native host kernel uses -1 as pid index in machine */
32 struct machine { struct
67 struct map *machine__kernel_map(struct machine *machine) in machine__kernel_map() argument
69 return machine->vmlinux_map; in machine__kernel_map()
76 struct maps *machine__kernel_maps(struct machine *machine) in machine__kernel_maps() argument
78 return machine->kmaps; in machine__kernel_maps()
81 int machine__get_kernel_start(struct machine *machine);
83 static inline u64 machine__kernel_start(struct machine *machine) in machine__kernel_start() argument
85 if (!machine->kernel_start) in machine__kernel_start()
86 machine__get_kernel_start(machine); in machine__kernel_start()
[all …]
H A Dmachine.c14 #include "machine.h"
47 static struct dso *machine__kernel_dso(struct machine *machine) in machine__kernel_dso() argument
49 return map__dso(machine->vmlinux_map); in machine__kernel_dso()
52 static int machine__set_mmap_name(struct machine *machine) in machine__set_mmap_name() argument
54 if (machine__is_host(machine)) in machine__set_mmap_name()
55 machine->mmap_name = strdup("[kernel.kallsyms]"); in machine__set_mmap_name()
56 else if (machine__is_default_guest(machine)) in machine__set_mmap_name()
57 machine->mmap_name = strdup("[guest.kernel.kallsyms]"); in machine__set_mmap_name()
58 else if (asprintf(&machine->mmap_name, "[guest.kernel.kallsyms.%d]", in machine__set_mmap_name()
59 machine->pid) < 0) 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.c17 #include "machine.h"
108 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()
[all …]
H A Devent.c18 #include "machine.h"
222 struct machine *machine) in perf_event__process_comm() argument
224 return machine__process_comm_event(machine, event, sample); in perf_event__process_comm()
230 struct machine *machine) in perf_event__process_namespaces() argument
232 return machine__process_namespaces_event(machine, event, sample); in perf_event__process_namespaces()
238 struct machine *machine) in perf_event__process_cgroup() argument
240 return machine__process_cgroup_event(machine, event, sample); in perf_event__process_cgroup()
246 struct machine *machine) in perf_event__process_lost() argument
248 return machine__process_lost_event(machine, event, sample); in perf_event__process_lost()
254 struct machine *machine) in perf_event__process_aux() argument
[all …]
H A Dprint_insn.c13 #include "machine.h"
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()
45 } else if (machine__normalized_is(machine, "x86")) { in capstone_init()
48 } else if (machine__normalized_is(machine, "arm64")) { in capstone_init()
51 } else if (machine__normalized_is(machine, "arm")) { in capstone_init()
54 } else if (machine__normalized_is(machine, "s390")) { 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
[all …]
H A Dsynthetic-events.c9 #include "util/machine.h"
52 struct machine *machine, in perf_tool__process_synth_event() argument
65 return process(tool, event, &synth_sample, machine); in perf_tool__process_synth_event()
154 struct machine *machine, in perf_event__prepare_comm() argument
163 if (machine__is_host(machine)) { in perf_event__prepare_comm()
170 *tgid = machine->pid; in perf_event__prepare_comm()
181 memset(event->comm.comm + size, 0, machine->id_hdr_size); in perf_event__prepare_comm()
184 machine in perf_event__prepare_comm()
193 perf_event__synthesize_comm(const struct perf_tool * tool,union perf_event * event,pid_t pid,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_comm() argument
225 perf_event__synthesize_namespaces(const struct perf_tool * tool,union perf_event * event,pid_t pid,pid_t tgid,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_namespaces() argument
264 perf_event__synthesize_fork(const struct perf_tool * tool,union perf_event * event,pid_t pid,pid_t tgid,pid_t ppid,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_fork() argument
367 perf_record_mmap2__read_build_id(struct perf_record_mmap2 * event,struct machine * machine,bool is_kernel) perf_record_mmap2__read_build_id() argument
425 perf_event__synthesize_mmap_events(const struct perf_tool * tool,union perf_event * event,pid_t pid,pid_t tgid,perf_event__handler_t process,struct machine * machine,bool mmap_data) perf_event__synthesize_mmap_events() argument
549 perf_event__synthesize_cgroup(const struct perf_tool * tool,union perf_event * event,char * path,size_t mount_len,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_cgroup() argument
589 perf_event__walk_cgroup_tree(const struct perf_tool * tool,union perf_event * event,char * path,size_t mount_len,perf_event__handler_t process,struct machine * machine) perf_event__walk_cgroup_tree() argument
635 perf_event__synthesize_cgroups(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_cgroups() argument
671 struct machine *machine; global() member
721 perf_event__synthesize_modules(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_modules() argument
766 __event__synthesize_thread(union perf_event * comm_event,union perf_event * mmap_event,union perf_event * fork_event,union perf_event * namespaces_event,pid_t pid,int full,perf_event__handler_t process,const struct perf_tool * tool,struct machine * machine,bool needs_mmap,bool mmap_data) __event__synthesize_thread() argument
858 perf_event__synthesize_thread_map(const struct perf_tool * tool,struct perf_thread_map * threads,perf_event__handler_t process,struct machine * machine,bool needs_mmap,bool mmap_data) perf_event__synthesize_thread_map() argument
934 __perf_event__synthesize_threads(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine,bool needs_mmap,bool mmap_data,struct dirent ** dirent,int start,int num) __perf_event__synthesize_threads() argument
998 struct machine *machine; global() member
1020 perf_event__synthesize_threads(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine,bool needs_mmap,bool mmap_data,unsigned int nr_threads_synthesize) perf_event__synthesize_threads() argument
1116 __perf_event__synthesize_kernel_mmap(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) __perf_event__synthesize_kernel_mmap() argument
1188 perf_event__synthesize_kernel_mmap(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_kernel_mmap() argument
1202 perf_event__synthesize_thread_map2(const struct perf_tool * tool,struct perf_thread_map * threads,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_thread_map2() argument
1352 perf_event__synthesize_cpu_map(const struct perf_tool * tool,const struct perf_cpu_map * map,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_cpu_map() argument
1370 perf_event__synthesize_stat_config(const struct perf_tool * tool,struct perf_stat_config * config,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_stat_config() argument
1410 perf_event__synthesize_stat(const struct perf_tool * tool,struct perf_cpu cpu,u32 thread,u64 id,struct perf_counts_values * count,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_stat() argument
1431 perf_event__synthesize_stat_round(const struct perf_tool * tool,u64 evtime,u64 type,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_stat_round() argument
1830 __perf_event__synthesize_id_index(const struct perf_tool * tool,perf_event__handler_t process,struct evlist * evlist,struct machine * machine,size_t from) __perf_event__synthesize_id_index() argument
1922 perf_event__synthesize_id_index(const struct perf_tool * tool,perf_event__handler_t process,struct evlist * evlist,struct machine * machine) perf_event__synthesize_id_index() argument
1927 __machine__synthesize_threads(struct machine * machine,const struct perf_tool * tool,struct target * target,struct perf_thread_map * threads,perf_event__handler_t process,bool needs_mmap,bool data_mmap,unsigned int nr_threads_synthesize) __machine__synthesize_threads() argument
1962 machine__synthesize_threads(struct machine * machine,struct target * target,struct perf_thread_map * threads,bool needs_mmap,bool data_mmap,unsigned int nr_threads_synthesize) machine__synthesize_threads() argument
2230 perf_event__synthesize_build_id(const struct perf_tool * tool,struct perf_sample * sample,struct machine * machine,perf_event__handler_t process,const struct evsel * evsel,__u16 misc,const struct build_id * bid,const char * filename) perf_event__synthesize_build_id() argument
2275 perf_event__synthesize_mmap2_build_id(const struct perf_tool * tool,struct perf_sample * sample,struct machine * machine,perf_event__handler_t process,const struct evsel * evsel,__u16 misc,__u32 pid,__u32 tid,__u64 start,__u64 len,__u64 pgoff,const struct build_id * bid,__u32 prot,__u32 flags,const char * filename) perf_event__synthesize_mmap2_build_id() 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 Ddb-export.c12 #include "machine.h"
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()
54 machine->db_id = ++dbe->machine_last_db_id; in db_export__machine()
57 return dbe->export_machine(dbe, machine); 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 *machin in 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; db_export__sample() local
528 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
555 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 Ddso.c28 #include "machine.h"
473 struct machine *machine) in dso__set_module_info() argument
475 if (machine__is_host(machine)) in dso__set_module_info()
547 static int __open_dso(struct dso *dso, struct machine *machine) in __open_dso() argument
558 if (machine) in __open_dso()
559 root_dir = machine->root_dir; in __open_dso()
612 static int open_dso(struct dso *dso, struct machine *machine) in open_dso() argument
622 fd = __open_dso(dso, machine); in open_dso()
742 static void try_to_open_dso(struct dso *dso, struct machine *machine) in try_to_open_dso() argument
756 dso_data->fd = open_dso(dso, machine); in try_to_open_dso()
[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()
/linux/arch/arm/
H A DMakefile172 # Machine directory name. This list is sorted alphanumerically
174 machine-$(CONFIG_ARCH_ACTIONS) += actions
175 machine-$(CONFIG_ARCH_ALPINE) += alpine
176 machine-$(CONFIG_ARCH_ARTPEC) += artpec
177 machine-$(CONFIG_ARCH_ASPEED) += aspeed
178 machine-$(CONFIG_ARCH_AT91) += at91
179 machine-$(CONFIG_ARCH_AXXIA) += axxia
180 machine-$(CONFIG_ARCH_BCM) += bcm
181 machine-$(CONFIG_ARCH_BERLIN) += berlin
182 machine-$(CONFIG_ARCH_CLPS711X) += clps711x
[all …]
/linux/sound/soc/tegra/
H A Dtegra_asoc_machine.c3 * tegra_asoc_machine.c - Universal ASoC machine driver for NVIDIA Tegra boards.
55 struct tegra_machine *machine = (struct tegra_machine *)data; in coupled_mic_hp_check() local
58 if (gpiod_get_value_cansleep(machine->gpiod_hp_det) && in coupled_mic_hp_check()
59 gpiod_get_value_cansleep(machine->gpiod_mic_det)) in coupled_mic_hp_check()
82 struct tegra_machine *machine = snd_soc_card_get_drvdata(dapm->card); in tegra_machine_event() local
86 gpiod_set_value_cansleep(machine->gpiod_spkr_en, in tegra_machine_event()
91 gpiod_set_value_cansleep(machine->gpiod_ext_mic_en, in tegra_machine_event()
96 gpiod_set_value_cansleep(machine->gpiod_int_mic_en, in tegra_machine_event()
101 gpiod_set_value_cansleep(machine->gpiod_hp_mute, in tegra_machine_event()
142 struct tegra_machine *machine = snd_soc_card_get_drvdata(card); in tegra_asoc_machine_init() local
[all …]
/linux/include/net/
H A Dbond_3ad.h31 /* rx machine states(43.4.11 in the 802.3ad standard) */
34 AD_RX_INITIALIZE, /* rx Machine */
35 AD_RX_PORT_DISABLED, /* rx Machine */
36 AD_RX_LACP_DISABLED, /* rx Machine */
37 AD_RX_EXPIRED, /* rx Machine */
38 AD_RX_DEFAULTED, /* rx Machine */
39 AD_RX_CURRENT /* rx Machine */
42 /* periodic machine states(43.4.12 in the 802.3ad standard) */
45 AD_NO_PERIODIC, /* periodic machine */
46 AD_FAST_PERIODIC, /* periodic machine */
[all …]
/linux/tools/perf/tests/
H A Dthread-maps-share.c3 #include "machine.h"
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()
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()
[all …]
H A Dsymbols.c8 #include "machine.h"
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_c in find_module_map()
155 process_subdivided_dso(struct machine * machine,struct dso * dso) process_subdivided_dso() argument
[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()
109 int fd = dso__data_get_fd(dso, machine); in dso__data_fd()
119 struct machine machine; in test__dso_data()
126 memset(&machine, 0, sizeof(machine)); in test__dso_data()
127 dsos__init(&machine.dsos); in test__dso_data()
130 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 Ddwarf-unwind.c10 #include "machine.h"
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()
208 pr_err("Could not get machine\n"); in test__dwarf_unwind()
212 if (machine__create_kernel_maps(machine)) { in test__dwarf_unwind()
[all …]
/linux/Documentation/arch/arm/
H A Darm.rst71 `arch-*` machine/platform specific header files
73 `mach` descriptions of generic ARM to specific machine interfaces
79 Machine/Platform support
82 The ARM tree contains support for a lot of different machine types. To
84 machine-specific parts by directory. For this, the machine category is
86 $(MACHINE) to refer to the category)
88 To this end, we now have arch/arm/mach-$(MACHINE) directories which are
89 designed to house the non-driver files for a particular machine (eg, PCI,
91 machines, there should be a corresponding arch/arm/mach-$(MACHINE)/include/mach
99 each module on an ARM2/ARM250/ARM3 machine when is loaded will take
[all …]
/linux/sound/soc/intel/boards/
H A DKconfig3 bool "Intel Machine drivers"
6 Intel ASoC Machine Drivers. If you have a Intel machine that
12 the questions about Intel ASoC machine drivers.
72 This adds the ASoC machine driver for Intel Broadwell platforms with
116 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
129 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
142 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR
155 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
167 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
180 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell
[all …]
/linux/arch/arm/mach-spear/
H A DKconfig30 bool "SPEAr1310 Machine support with Device Tree"
34 Supports ST SPEAr1310 machine configured via the device-tree
37 bool "SPEAr1340 Machine support with Device Tree"
41 Supports ST SPEAr1340 machine configured via the device-tree
57 bool "SPEAr300 Machine support with Device Tree"
60 Supports ST SPEAr300 machine configured via the device-tree
63 bool "SPEAr310 Machine support with Device Tree"
66 Supports ST SPEAr310 machine configured via the device-tree
69 bool "SPEAr320 Machine support with Device Tree"
72 Supports ST SPEAr320 machine configured via the device-tree
/linux/tools/testing/selftests/net/mptcp/
H A Duserspace_pm.sh299 # ADD_ADDR from the client to server machine reusing the subflow port
309 # ADD_ADDR6 from the client to server machine reusing the subflow port
318 # ADD_ADDR from the client to server machine using a new port
331 # ADD_ADDR from the server to client machine reusing the subflow port
339 # ADD_ADDR6 from the server to client machine reusing the subflow port
348 # ADD_ADDR from the server to client machine using a new port
410 # RM_ADDR from the client to server machine
418 # RM_ADDR from the client to server machine
427 # RM_ADDR6 from the client to server machine
438 # RM_ADDR from the server to client machine
[all …]
/linux/tools/testing/ktest/examples/
H A Dtest.conf2 # Generic config for a machine
5 # Name your machine (the DNS name, what you ssh to)
6 MACHINE = foo
8 # BOX can be different than foo, if the machine BOX has
11 # If this is the case, MACHINE defines the way to connect to the
12 # machine, which may be different between which system the machine
14 # the machine, where it does not matter which system the machine boots into.
42 # machine configs.
56 # Having them included allows you to set up more than one machine and share
/linux/tools/testing/ktest/examples/include/
H A Ddefaults.conf8 # For those cases that use the same machine to boot a 64 bit
9 # and a 32 bit version. The MACHINE is the DNS name to get to the
15 # By default, BOX and MACHINE are the same.
18 BOX := ${MACHINE}
36 # to organize your configs, having each machine save their configs
38 CONFIG_DIR := ${THIS_DIR}/configs/${MACHINE}
49 # For accessing the machine, we will ssh to root@machine.
50 SSH := ssh ${SSH_USER}@${MACHINE}
59 # Each machine will have its own output build directory.
60 OUTPUT_DIR = ${THIS_DIR}/build/${MACHINE}
[all …]
/linux/tools/perf/arch/x86/util/
H A Devent.c9 #include "../../../util/machine.h"
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()

12345678910>>...114