H A D | synthetic-events.c | 50 int perf_tool__process_synth_event(const struct perf_tool *tool, in perf_tool__process_synth_event() argument 65 return process(tool, event, &synth_sample, machine); in perf_tool__process_synth_event() 190 pid_t perf_event__synthesize_comm(const struct perf_tool *tool, in perf_event__synthesize_comm() argument 202 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_comm() 221 int perf_event__synthesize_namespaces(const struct perf_tool *tool, in perf_event__synthesize_namespaces() argument 230 if (!tool || !tool->namespace_events) in perf_event__synthesize_namespaces() 254 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_namespaces() 260 static int perf_event__synthesize_fork(const struct perf_tool *tool, in perf_event__synthesize_fork() argument 287 if (perf_tool__process_synth_event(tool, even in perf_event__synthesize_fork() 421 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 545 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 585 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 633 perf_event__synthesize_cgroups(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_cgroups() argument 669 const struct perf_tool *tool; global() member 720 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 855 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 932 __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 996 const struct perf_tool *tool; global() member 1018 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 1114 __perf_event__synthesize_kernel_mmap(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) __perf_event__synthesize_kernel_mmap() argument 1186 perf_event__synthesize_kernel_mmap(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_kernel_mmap() argument 1199 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 1349 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 1367 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 1406 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 1428 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 1829 __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 1921 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 1988 perf_event__synthesize_event_update_unit(const struct perf_tool * tool,struct evsel * evsel,perf_event__handler_t process) perf_event__synthesize_event_update_unit() argument 2005 perf_event__synthesize_event_update_scale(const struct perf_tool * tool,struct evsel * evsel,perf_event__handler_t process) perf_event__synthesize_event_update_scale() argument 2022 perf_event__synthesize_event_update_name(const struct perf_tool * tool,struct evsel * evsel,perf_event__handler_t process) perf_event__synthesize_event_update_name() argument 2039 perf_event__synthesize_event_update_cpus(const struct perf_tool * tool,struct evsel * evsel,perf_event__handler_t process) perf_event__synthesize_event_update_cpus() argument 2062 perf_event__synthesize_attrs(const struct perf_tool * tool,struct evlist * evlist,perf_event__handler_t process) perf_event__synthesize_attrs() argument 2090 perf_event__synthesize_extra_attr(const struct perf_tool * tool,struct evlist * evsel_list,perf_event__handler_t process,bool is_pipe) perf_event__synthesize_extra_attr() argument 2146 perf_event__synthesize_attr(const struct perf_tool * tool,struct perf_event_attr * attr,u32 ids,u64 * id,perf_event__handler_t process) perf_event__synthesize_attr() argument 2180 perf_event__synthesize_tracing_data(const struct perf_tool * tool,int fd,struct evlist * evlist,perf_event__handler_t process) perf_event__synthesize_tracing_data() argument 2228 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 2273 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 2329 perf_event__synthesize_stat_events(struct perf_stat_config * config,const struct perf_tool * tool,struct evlist * evlist,perf_event__handler_t process,bool attrs) perf_event__synthesize_stat_events() argument 2366 perf_event__synthesize_features(const struct perf_tool * tool,struct perf_session * session,struct evlist * evlist,perf_event__handler_t process) perf_event__synthesize_features() argument 2429 perf_event__synthesize_for_pipe(const struct perf_tool * tool,struct perf_session * session,struct perf_data * data,perf_event__handler_t process) perf_event__synthesize_for_pipe() argument [all...] |
H A D | builtin-inject.c | 18 #include "util/tool.h" 81 struct perf_tool tool; member 115 struct perf_tool tool; member 144 static int tool__inject_build_id(const struct perf_tool *tool, 151 static int tool__inject_mmap2_build_id(const struct perf_tool *tool, 174 static int perf_event__repipe_synth(const struct perf_tool *tool, in perf_event__repipe_synth() argument 178 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_synth() 179 tool); in perf_event__repipe_synth() 184 static int perf_event__repipe_oe_synth(const struct perf_tool *tool, in perf_event__repipe_oe_synth() argument 188 return perf_event__repipe_synth(tool, even in perf_event__repipe_oe_synth() 214 perf_event__repipe_attr(const struct perf_tool * tool,union perf_event * event,struct evlist ** pevlist) perf_event__repipe_attr() argument 233 perf_event__repipe_event_update(const struct perf_tool * tool,union perf_event * event,struct evlist ** pevlist __maybe_unused) perf_event__repipe_event_update() argument 264 const struct perf_tool *tool = session->tool; perf_event__repipe_auxtrace() local 311 perf_event__repipe(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample __maybe_unused,struct machine * machine __maybe_unused) perf_event__repipe() argument 327 perf_event__drop_aux(const struct perf_tool * tool,union perf_event * event __maybe_unused,struct perf_sample * sample,struct machine * machine __maybe_unused) perf_event__drop_aux() argument 374 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 466 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 475 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 571 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 585 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 610 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 623 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 636 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 648 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 757 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 794 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 834 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 896 const struct perf_tool *tool; global() member 911 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 954 perf_inject__sched_process_exit(const struct perf_tool * tool,union perf_event * event __maybe_unused,struct perf_sample * sample,struct evsel * evsel __maybe_unused,struct machine * machine __maybe_unused) perf_inject__sched_process_exit() argument 974 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 999 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 1044 guest_session__repipe(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample __maybe_unused,struct machine * machine __maybe_unused) guest_session__repipe() argument 1210 process_attr(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample __maybe_unused,struct machine * machine __maybe_unused) process_attr() argument 1338 process_build_id(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample __maybe_unused,struct machine * machine __maybe_unused) process_build_id() argument 1398 guest_session__ksymbol_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample __maybe_unused,struct machine * machine __maybe_unused) guest_session__ksymbol_event() argument 1762 host__repipe(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) host__repipe() argument 1835 host__finished_round(const struct perf_tool * tool,union perf_event * event,struct ordered_events * oe) host__finished_round() argument 1853 host__context_switch(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) host__context_switch() argument [all...] |