| /linux/tools/perf/util/ |
| H A D | machine.h | 32 struct machine { struct 73 struct map *machine__kernel_map(struct machine *machine) in machine__kernel_map() argument 82 struct maps *machine__kernel_maps(struct machine *machine) in machine__kernel_maps() argument 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 | machine.c | 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 | event.c | 230 struct machine *machine) in perf_event__process_comm() argument 238 struct machine *machine) in perf_event__process_namespaces() argument 246 struct machine *machine) in 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 D | vdso.c | 108 void machine__exit_vdso(struct machine *machine) in machine__exit_vdso() 127 static struct dso *__machine__addnew_vdso(struct machine *machine, const char *short_name, in __machine__addnew_vdso() 142 struct machine *machine; member 158 static enum dso_type machine__thread_dso_type(struct machine *machine, in machine__thread_dso_type() 247 static struct dso *__machine__findnew_compat(struct machine *machine, in __machine__findnew_compat() 264 static int __machine__findnew_vdso_compat(struct machine *machine, in __machine__findnew_vdso_compat() 298 static struct dso *machine__find_vdso(struct machine *machine, in machine__find_vdso() 330 struct dso *machine__findnew_vdso(struct machine *machine, in machine__findnew_vdso()
|
| H A D | synthetic-events.c | 53 struct machine *machine, in perf_tool__process_synth_event() argument 155 struct machine *machine, in perf_event__prepare_comm() argument 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 | dso.c | 477 dso__set_module_info(struct dso * dso,struct kmod_path * m,struct machine * machine) dso__set_module_info() argument 611 __open_dso(struct dso * dso,struct machine * machine) __open_dso() argument 643 open_dso(struct dso * dso,struct machine * machine) open_dso() argument 774 try_to_open_dso(struct dso * dso,struct machine * machine) try_to_open_dso() argument 817 dso__data_get_fd(struct dso * dso,struct machine * machine,int * fd) dso__data_get_fd() argument 984 file_read(struct dso * dso,struct machine * machine,u64 offset,char * data) file_read() argument 1010 dso_cache__populate(struct dso * dso,struct machine * machine,u64 offset,ssize_t * ret) dso_cache__populate() argument 1051 dso_cache__find(struct dso * dso,struct machine * machine,u64 offset,ssize_t * ret) dso_cache__find() argument 1060 dso_cache_io(struct dso * dso,struct machine * machine,u64 offset,u8 * data,ssize_t size,bool out) dso_cache_io() argument 1078 cached_io(struct dso * dso,struct machine * machine,u64 offset,u8 * data,ssize_t size,bool out) cached_io() argument 1107 file_size(struct dso * dso,struct machine * machine) file_size() argument 1139 dso__data_file_size(struct dso * dso,struct machine * machine) dso__data_file_size() argument 1160 dso__data_size(struct dso * dso,struct machine * machine) dso__data_size() argument 1169 data_read_write_offset(struct dso * dso,struct machine * machine,u64 offset,u8 * data,ssize_t size,bool out) data_read_write_offset() argument 1197 dso__data_read_offset(struct dso * dso,struct machine * machine,u64 offset,u8 * data,ssize_t size) dso__data_read_offset() argument 1291 dso__e_machine(struct dso * dso,struct machine * machine,uint32_t * e_flags) dso__e_machine() argument 1360 dso__data_read_addr(struct dso * dso,struct map * map,struct machine * machine,u64 addr,u8 * data,ssize_t size) dso__data_read_addr() argument 1378 dso__data_write_cache_offs(struct dso * dso,struct machine * machine,u64 offset,const u8 * data_in,ssize_t size) dso__data_write_cache_offs() argument 1401 dso__data_write_cache_addr(struct dso * dso,struct map * map,struct machine * machine,u64 addr,const u8 * data,ssize_t size) dso__data_write_cache_addr() argument 1422 machine__findnew_kernel(struct machine * machine,const char * name,const char * short_name,int dso_type) machine__findnew_kernel() argument 1762 dso__read_running_kernel_build_id(struct dso * dso,struct machine * machine) dso__read_running_kernel_build_id() argument 1820 dso__type(struct dso * dso,struct machine * machine) dso__type() 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() 86 int get_dwarf_regnum(const char *name, unsigned int machine, unsigned int flags) in get_dwarf_regnum() 157 static int get_libdw_frame_nregs(unsigned int machine, unsigned int flags __maybe_unused) in get_libdw_frame_nregs() 189 int get_dwarf_regnum_for_perf_regnum(int perf_regnum, unsigned int machine, in get_dwarf_regnum_for_perf_regnum()
|
| H A D | db-export.c | 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 | print_insn.c | 54 return capstone__fprintf_insn_asm(machine, thread, cpumode, is64bit, code, code_size, in sample__fprintf_insn_asm() argument 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 | bpf-event.c | 43 static int machine__process_bpf_event_load(struct machine *machine, in machine__process_bpf_event_load() argument 80 machine__process_bpf(struct machine * machine,union perf_event * event,struct perf_sample * sample) machine__process_bpf() argument 418 synthesize_perf_record_bpf_metadata(const struct bpf_metadata * metadata,const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) 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 D | dlfilter.h | 34 struct machine *machine; member 73 struct machine *machine, in dlfilter__filter_event() 86 struct machine *machine, in dlfilter__filter_event_early()
|
| H A D | thread.c | 25 int thread__init_maps(struct thread *thread, struct machine *machine) in thread__init_maps() argument 468 struct machine *machine; global() member 485 thread__e_machine(struct thread * thread,struct machine * machine,uint32_t * e_flags) thread__e_machine() argument 554 thread__main_thread(struct machine * machine,struct thread * thread) thread__main_thread() argument 565 thread__memcpy(struct thread * thread,struct machine * machine,void * buf,u64 ip,int len,bool * is64bit) thread__memcpy() argument [all...] |
| /linux/sound/soc/amd/ |
| H A D | acp-da7219-max98357a.c | 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...] |
| H A D | acp3x-rt5682-max9836.c | 203 struct acp3x_platform_info *machine = snd_soc_card_get_drvdata(card); in acp3x_5682_startup() local 221 struct acp3x_platform_info *machine = snd_soc_card_get_drvdata(card); in acp3x_max_startup() local 238 struct acp3x_platform_info *machine = snd_soc_card_get_drvdata(card); in acp3x_ec_dmic0_startup() local 505 struct acp3x_platform_info *machine; in acp3x_probe() local
|
| /linux/tools/perf/tests/ |
| H A D | hists_output.c | 50 static int add_hist_entries(struct hists *hists, struct machine *machine) in add_hist_entries() argument 138 test1(struct evsel * evsel,struct machine * machine) test1() argument 240 test2(struct evsel * evsel,struct machine * machine) test2() argument 296 test3(struct evsel * evsel,struct machine * machine) test3() argument 370 test4(struct evsel * evsel,struct machine * machine) test4() argument 472 test5(struct evsel * evsel,struct machine * machine) test5() argument 595 struct machine *machine; test__hists_output() local [all...] |
| H A D | hists_cumulate.c | 80 static int add_hist_entries(struct hists *hists, struct machine *machine) in add_hist_entries() argument 263 test1(struct evsel * evsel,struct machine * machine) test1() argument 314 test2(struct evsel * evsel,struct machine * machine) test2() 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 D | dso-data.c | 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 | 135 static int synth_all(struct machine *machine) in synth_all() 142 static int synth_process(struct machine *machine) in synth_process() 160 struct machine *machine; in mmap_events() local
|
| H A D | symbols.c | 18 struct machine *machine; member 65 static struct map *find_module_map(struct machine *machine, struct dso *dso) in find_module_map() argument 161 process_subdivided_dso(struct machine * machine,struct dso * dso) process_subdivided_dso() argument [all...] |
| H A D | hists_filter.c | 50 struct machine *machine) in add_hist_entries() argument 120 struct machine *machine; in test__hists_filter() local [all...] |
| /linux/tools/perf/ |
| H A D | builtin-kwork.c | 453 work_push_atom(struct perf_kwork * kwork,struct kwork_class * class,enum kwork_trace_type src_type,enum kwork_trace_type dst_type,struct evsel * evsel,struct perf_sample * sample,struct machine * machine,struct kwork_work ** ret_work,bool overwrite) work_push_atom() argument 512 work_pop_atom(struct perf_kwork * kwork,struct kwork_class * class,enum kwork_trace_type src_type,enum kwork_trace_type dst_type,struct evsel * evsel,struct perf_sample * sample,struct machine * machine,struct kwork_work ** ret_work) work_pop_atom() argument 604 report_entry_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) report_entry_event() argument 615 report_exit_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) 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...] |
| H A D | builtin-inject.c | 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 D | builtin-script.c | 1098 grab_bb(u8 * buffer,u64 start,u64 end,struct machine * machine,struct thread * thread,bool * is64bit,u8 * cpumode,bool last) grab_bb() argument 1354 perf_sample__fprintf_brstackinsn(struct perf_sample * sample,struct evsel * evsel,struct thread * thread,struct perf_event_attr * attr,struct machine * machine,FILE * fp) perf_sample__fprintf_brstackinsn() argument 1623 perf_sample__fprintf_insn(struct perf_sample * sample,struct evsel * evsel,struct perf_event_attr * attr,struct thread * thread,struct machine * machine,FILE * fp,struct addr_location * al) perf_sample__fprintf_insn() argument 1665 perf_sample__fprintf_bts(struct perf_sample * sample,struct evsel * evsel,struct thread * thread,struct addr_location * al,struct addr_location * addr_al,struct machine * machine,FILE * fp) perf_sample__fprintf_bts() argument 2420 process_event(struct perf_script * script,struct perf_sample * sample,struct evsel * evsel,struct addr_location * al,struct addr_location * addr_al,struct machine * machine) process_event() argument 2644 process_sample_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) process_sample_event() argument 2728 process_deferred_sample_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) process_deferred_sample_event() argument 2886 print_event_with_time(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine,pid_t pid,pid_t tid,u64 timestamp) print_event_with_time() argument 2920 print_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine,pid_t pid,pid_t tid) print_event() argument 2929 process_comm_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_comm_event() argument 2941 process_namespaces_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_namespaces_event() argument 2953 process_cgroup_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_cgroup_event() argument 2965 process_fork_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_fork_event() argument 2977 process_exit_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_exit_event() argument 2990 process_mmap_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_mmap_event() argument 3002 process_mmap2_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_mmap2_event() argument 3014 process_switch_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_switch_event() argument 3047 process_lost_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_lost_event() argument 3057 process_throttle_event(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_throttle_event() argument 3078 process_bpf_events(const struct perf_tool * tool __maybe_unused,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_bpf_events() argument 3099 process_text_poke_events(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) process_text_poke_events() argument [all...] |
| /linux/include/uapi/linux/ |
| H A D | utsname.h | 12 char machine[9]; member 22 char machine[65]; member 30 char machine[__NEW_UTS_LEN + 1]; member
|
| /linux/tools/perf/arch/x86/util/ |
| H A D | event.c | 20 struct machine *machine; member 70 struct machine *machine) in perf_event__synthesize_extra_kmaps()
|