| /linux/tools/perf/util/ |
| H A D | machine.h | 24 /* Native host kernel uses -1 as pid index in machine */ 32 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); 33 rb_nodemachine global() argument 34 pidmachine global() argument 35 id_hdr_sizemachine global() argument 36 comm_execmachine global() argument 37 kptr_restrict_warnedmachine global() argument 38 single_address_spacemachine global() argument 39 root_dirmachine global() argument 40 mmap_namemachine global() argument 41 kallsyms_filenamemachine global() argument 65 machinesmachine global() argument 89 machine__kernel_start(struct machine * machine) machine__kernel_start() argument 96 machine__kernel_ip(struct machine * machine,u64 ip) machine__kernel_ip() argument 219 machine__is_default_guest(struct machine * machine) machine__is_default_guest() argument 224 machine__is_host(struct machine * machine) machine__is_host() argument 243 machine__find_kernel_symbol(struct machine * machine,u64 addr,struct map ** mapp) machine__find_kernel_symbol() argument 250 machine__find_kernel_symbol_by_name(struct machine * machine,const char * name,struct map ** mapp) machine__find_kernel_symbol_by_name() argument [all...] |
| H A D | synthetic-events.h | 16 struct machine; 45 struct perf_sample *sample, struct machine *machine); 51 struct machine *machine, 58 struct machine *machine, 66 int perf_event__synthesize_cpu_map(const struct perf_tool *tool, const struct perf_cpu_map *cpus, perf_event__handler_t process, struct machine *machine); 72 int perf_event__synthesize_extra_kmaps(const struct perf_tool *tool, perf_event__handler_t process, struct machine *machin [all...] |
| H A D | machine.c | 16 #include "machine.h" 51 static struct dso *machine__kernel_dso(struct machine *machine) in machine__kernel_dso() 53 return map__dso(machine->vmlinux_map); 56 static int machine__set_mmap_name(struct machine *machine) in machine__set_mmap_name() 58 if (machine__is_host(machine)) in machine__set_mmap_name() 59 machine->mmap_name = strdup("[kernel.kallsyms]"); in machine__set_mmap_name() 60 else if (machine__is_default_guest(machine)) in machine__set_mmap_name() 61 machine in machine__set_mmap_name() 49 machine__kernel_dso(struct machine * machine) machine__kernel_dso() argument 54 machine__set_mmap_name(struct machine * machine) machine__set_mmap_name() argument 75 machine__init(struct machine * machine,const char * root_dir,pid_t pid) machine__init() argument 134 struct machine *machine = malloc(sizeof(*machine)); __machine__new_host() local 157 mmap_handler(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample,struct machine * machine) mmap_handler() argument 162 machine__init_live(struct machine * machine,pid_t pid) machine__init_live() argument 173 struct machine *machine = __machine__new_host(host_env, kernel_maps); machine__new_live() local 187 struct machine *machine = machine__new_host(host_env); machine__new_kallsyms() local 202 machine__delete_threads(struct machine * machine) machine__delete_threads() argument 207 machine__exit(struct machine * machine) machine__exit() argument 224 machine__delete(struct machine * machine) machine__delete() argument 249 struct machine *pos, *machine = malloc(sizeof(*machine)); machines__add() local 286 struct machine *machine = rb_entry(nd, struct machine, rb_node); machines__set_comm_exec() local 296 struct machine *machine; machines__find() local 322 struct machine *machine = machines__find(machines, pid); machines__findnew() local 354 struct machine *machine = machines__find(machines, pid); machines__find_guest() local 386 findnew_guest_code(struct machine * machine,struct machine * host_machine,pid_t pid) findnew_guest_code() argument 430 struct machine *machine = machines__findnew(machines, pid); machines__findnew_guest_code() local 435 machine__findnew_guest_code(struct machine * machine,pid_t pid) machine__findnew_guest_code() argument 462 struct machine *machine; machines__set_id_hdr_size() local 475 machine__update_thread_pid(struct machine * machine,struct thread * th,pid_t pid) machine__update_thread_pid() argument 526 __machine__findnew_thread(struct machine * machine,pid_t pid,pid_t tid,bool create) __machine__findnew_thread() argument 563 machine__findnew_thread(struct machine * machine,pid_t pid,pid_t tid) machine__findnew_thread() argument 568 machine__find_thread(struct machine * machine,pid_t pid,pid_t tid) machine__find_thread() argument 581 machine__idle_thread(struct machine * machine) machine__idle_thread() argument 592 machine__thread_exec_comm(struct machine * machine,struct thread * thread) machine__thread_exec_comm() argument 601 machine__process_comm_event(struct machine * machine,union perf_event * event,struct perf_sample * sample) machine__process_comm_event() argument 658 machine__process_cgroup_event(struct machine * machine,union perf_event * event,struct perf_sample * sample __maybe_unused) machine__process_cgroup_event() argument 726 machine__process_ksymbol_register(struct machine * machine,union perf_event * event,struct perf_sample * sample __maybe_unused) machine__process_ksymbol_register() argument 786 machine__process_ksymbol_unregister(struct machine * machine,union perf_event * event,struct perf_sample * sample __maybe_unused) machine__process_ksymbol_unregister() argument 827 machine__process_text_poke(struct machine * machine,union perf_event * event,struct perf_sample * sample __maybe_unused) machine__process_text_poke() argument 870 machine__addnew_module_map(struct machine * machine,u64 start,const char * filename) machine__addnew_module_map() argument 948 machine__fprintf(struct machine * machine,FILE * fp) machine__fprintf() argument 960 machine__get_kernel(struct machine * machine) machine__get_kernel() argument 986 machine__get_kallsyms_filename(struct machine * machine,char * buf,size_t bufsz) machine__get_kallsyms_filename() argument 1001 machine__get_running_kernel_start(struct machine * machine,const char ** symbol_name,u64 * start,u64 * end) machine__get_running_kernel_start() argument 1038 machine__create_extra_kernel_map(struct machine * machine,struct dso * kernel,struct extra_kernel_map * xm) machine__create_extra_kernel_map() argument 1124 machine__map_x86_64_entry_trampolines(struct machine * machine,struct dso * kernel) machine__map_x86_64_entry_trampolines() argument 1178 __machine__create_kernel_maps(struct machine * machine,struct dso * kernel) __machine__create_kernel_maps() argument 1192 machine__destroy_kernel_maps(struct machine * machine) machine__destroy_kernel_maps() argument 1276 struct machine *machine = machines__findnew(machines, pid); machines__create_kernel_maps() local 1284 machine__load_kallsyms(struct machine * machine,const char * filename) machine__load_kallsyms() argument 1303 machine__load_vmlinux_path(struct machine * machine) machine__load_vmlinux_path() argument 1444 machine__set_modules_path(struct machine * machine) machine__set_modules_path() argument 1470 struct machine *machine = arg; machine__create_module() local 1486 machine__create_modules(struct machine * machine) machine__create_modules() argument 1512 machine__set_kernel_mmap(struct machine * machine,u64 start,u64 end) machine__set_kernel_mmap() argument 1525 machine__update_kernel_mmap(struct machine * machine,u64 start,u64 end) machine__update_kernel_mmap() argument 1543 machine__create_kernel_maps(struct machine * machine) machine__create_kernel_maps() argument 1609 machine__uses_kcore(struct machine * machine) machine__uses_kcore() argument 1614 perf_event__is_extra_kernel_mmap(struct machine * machine,struct extra_kernel_map * xm) perf_event__is_extra_kernel_mmap() argument 1621 machine__process_extra_kernel_map(struct machine * machine,struct extra_kernel_map * xm) machine__process_extra_kernel_map() argument 1632 machine__process_kernel_mmap_event(struct machine * machine,struct extra_kernel_map * xm,struct build_id * bid) machine__process_kernel_mmap_event() argument 1728 machine__process_mmap2_event(struct machine * machine,union perf_event * event,struct perf_sample * sample) machine__process_mmap2_event() argument 1797 machine__process_mmap_event(struct machine * machine,union perf_event * event,struct perf_sample * sample) machine__process_mmap_event() argument 1855 machine__remove_thread(struct machine * machine,struct thread * th) machine__remove_thread() argument 1860 machine__process_fork_event(struct machine * machine,union perf_event * event,struct perf_sample * sample) machine__process_fork_event() argument 1926 machine__process_exit_event(struct machine * machine,union perf_event * event,struct perf_sample * sample __maybe_unused) machine__process_exit_event() argument 1948 machine__process_event(struct machine * machine,union perf_event * event,struct perf_sample * sample) machine__process_event() argument 3051 machine__for_each_thread(struct machine * machine,int (* fn)(struct thread * thread,void * p),void * priv) machine__for_each_thread() argument 3070 struct machine *machine = rb_entry(nd, struct machine, rb_node); machines__for_each_thread() local 3093 machine__thread_list(struct machine * machine,struct list_head * list) machine__thread_list() argument 3109 machine__get_current_tid(struct machine * machine,int cpu) machine__get_current_tid() argument 3117 machine__set_current_tid(struct machine * machine,int cpu,pid_t pid,pid_t tid) machine__set_current_tid() argument 3148 machine__is(struct machine * machine,const char * arch) machine__is() argument 3153 machine__normalized_is(struct machine * machine,const char * arch) machine__normalized_is() argument 3158 machine__nr_cpus_avail(struct machine * machine) machine__nr_cpus_avail() argument 3163 machine__get_kernel_start(struct machine * machine) machine__get_kernel_start() argument 3190 machine__addr_cpumode(struct machine * machine,u8 cpumode,u64 addr) machine__addr_cpumode() argument 3217 machine__findnew_dso_id(struct machine * machine,const char * filename,const struct dso_id * id) machine__findnew_dso_id() argument 3223 machine__findnew_dso(struct machine * machine,const char * filename) machine__findnew_dso() argument 3230 struct machine *machine = vmachine; machine__resolve_kernel_addr() local 3243 struct machine *machine; global() member 3255 machine__for_each_dso(struct machine * machine,machine__dso_t fn,void * priv) machine__for_each_dso() argument 3266 machine__for_each_kernel_map(struct machine * machine,machine__map_t fn,void * priv) machine__for_each_kernel_map() argument 3273 machine__is_lock_function(struct machine * machine,u64 addr) machine__is_lock_function() argument 3337 machine__hit_all_dsos(struct machine * machine) machine__hit_all_dsos() argument [all...] |
| H A D | vdso.c | 17 #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 D | event.h | 16 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 D | event.c | 21 #include "machine.h" 230 struct machine *machine) in perf_event__process_comm() argument 232 return machine__process_comm_event(machine, event, sample); in perf_event__process_comm() 238 struct machine *machine) in perf_event__process_namespaces() argument 240 return machine__process_namespaces_event(machine, event, sample); in perf_event__process_namespaces() 246 struct machine *machine) in perf_event__process_cgroup() argument 248 return machine__process_cgroup_event(machine, even in perf_event__process_cgroup() 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 D | db-export.h | 14 struct machine; 42 int (*export_machine)(struct db_export *dbe, struct machine *machine); 44 u64 main_thread_db_id, struct machine *machine); 50 struct machine *machine); 60 struct machine *machine, 82 int db_export__machine(struct db_export *dbe, struct machine *machin [all...] |
| H A D | print_insn.c | 20 #include "machine.h" 38 static bool is64bitip(struct machine *machine, struct addr_location *al) in is64bitip() 46 e_machine = perf_env__e_machine(machine->env, /*e_flags=*/NULL); in fprintf_insn_asm() 50 ssize_t fprintf_insn_asm(struct machine *machine, struct thread *thread, u8 cpumode, in fprintf_insn_asm() 54 return capstone__fprintf_insn_asm(machine, thread, cpumode, is64bit, code, code_size, in sample__fprintf_insn_asm() argument 59 struct machine *machine, FILE *fp, in sample__fprintf_insn_asm() 62 bool is64bit = is64bitip(machine, a in sample__fprintf_insn_asm() 33 is64bitip(struct machine * machine,struct addr_location * al) is64bitip() argument 45 fprintf_insn_asm(struct machine * machine,struct thread * thread,u8 cpumode,bool is64bit,const uint8_t * code,size_t code_size,uint64_t ip,int * lenp,int print_opts,FILE * fp) fprintf_insn_asm() argument [all...] |
| H A D | dwarf-regs.c | 31 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 D | db-export.c | 12 #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 D | synthetic-events.c | 9 #include "util/machine.h" 53 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 in perf_event__prepare_comm() 194 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 226 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 265 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 368 perf_record_mmap2__read_build_id(struct perf_record_mmap2 * event,struct machine * machine,bool is_kernel) perf_record_mmap2__read_build_id() argument 432 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 556 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 596 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 642 perf_event__synthesize_cgroups(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_cgroups() argument 678 struct machine *machine; global() member 733 perf_event__synthesize_modules(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_modules() argument 778 __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 871 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 947 __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 1011 struct machine *machine; global() member 1033 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 1129 __perf_event__synthesize_kernel_mmap(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) __perf_event__synthesize_kernel_mmap() argument 1201 perf_event__synthesize_kernel_mmap(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_kernel_mmap() argument 1215 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 1365 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 1383 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 1423 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 1444 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 1853 __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 1945 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 1950 __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 1985 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 2253 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 2300 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 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()
|
| /linux/tools/perf/tests/ |
| H A D | thread-maps-share.c | 3 #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, in test__thread_maps_share() [all...] |
| H A D | symbols.c | 9 #include "machine.h" 18 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_c in find_module_map() 161 process_subdivided_dso(struct machine * machine,struct dso * dso) process_subdivided_dso() argument [all...] |
| H A D | dso-data.c | 14 #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 D | mmap-thread-lookup.c | 14 #include "machine.h" 133 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() [all …]
|
| /linux/include/net/ |
| H A D | bond_3ad.h | 32 /* rx machine states(43.4.11 in the 802.3ad standard) */ 35 AD_RX_INITIALIZE, /* rx Machine */ 36 AD_RX_PORT_DISABLED, /* rx Machine */ 37 AD_RX_LACP_DISABLED, /* rx Machine */ 38 AD_RX_EXPIRED, /* rx Machine */ 39 AD_RX_DEFAULTED, /* rx Machine */ 40 AD_RX_CURRENT /* rx Machine */ 43 /* periodic machine states(43.4.12 in the 802.3ad standard) */ 46 AD_NO_PERIODIC, /* periodic machine */ 47 AD_FAST_PERIODIC, /* periodic machine */ [all …]
|
| /linux/tools/perf/arch/x86/util/ |
| H A D | event.c | 9 #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()
|
| /linux/arch/arm/mach-spear/ |
| H A D | Kconfig | 30 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/Documentation/arch/arm/ |
| H A D | arm.rst | 71 `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 D | Kconfig | 3 bool "Intel Machine drivers" 6 Intel ASoC Machine Drivers. If you have a Intel machine that 12 the questions about Intel ASoC machine drivers. 76 This adds the ASoC machine driver for Intel Broadwell platforms with 120 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR 133 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR 146 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR 159 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell 171 This adds support for ASoC machine drive [all...] |
| /linux/tools/testing/ktest/examples/ |
| H A D | test.conf | 2 # 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 D | defaults.conf | 8 # 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/testing/selftests/net/mptcp/ |
| H A D | userspace_pm.sh | 336 # ADD_ADDR from the client to server machine reusing the subflow port 346 # ADD_ADDR6 from the client to server machine reusing the subflow port 355 # ADD_ADDR from the client to server machine using a new port 368 # ADD_ADDR from the server to client machine reusing the subflow port 376 # ADD_ADDR6 from the server to client machine reusing the subflow port 385 # ADD_ADDR from the server to client machine using a new port 447 # RM_ADDR from the client to server machine 455 # RM_ADDR from the client to server machine 464 # RM_ADDR6 from the client to server machine 475 # RM_ADDR from the server to client machine [all...] |
| /linux/Documentation/arch/x86/x86_64/ |
| H A D | machinecheck.rst | 4 Configurable sysfs parameters for the x86-64 machine check code 7 Machine checks report internal hardware error conditions detected 8 by the CPU. Uncorrected errors typically cause a machine check 9 (often with panic), corrected ones cause a machine check log entry. 11 Machine checks are organized in banks (normally associated with 17 When you see the "Machine check errors logged" message in the system 18 log then mcelog should run to collect and decode machine check entries 29 For more details about the x86 machine check architecture
|