/linux/tools/perf/util/ |
A D | synthetic-events.h | 24 struct perf_tool; 42 typedef int (*perf_event__handler_t)(struct perf_tool *tool, union perf_event *event, 45 int perf_event__synthesize_attrs(struct perf_tool *tool, struct evlist *evlist, perf_event__handler… 54 int perf_event__synthesize_extra_kmaps(struct perf_tool *tool, perf_event__handler_t process, struc… 57 int perf_event__synthesize_kernel_mmap(struct perf_tool *tool, perf_event__handler_t process, struc… 59 int perf_event__synthesize_modules(struct perf_tool *tool, perf_event__handler_t process, struct ma… 61 int perf_event__synthesize_cgroups(struct perf_tool *tool, perf_event__handler_t process, struct ma… 78 int __machine__synthesize_threads(struct machine *machine, struct perf_tool *tool, 87 int perf_event__synthesize_auxtrace_info(struct auxtrace_record *itr, struct perf_tool *tool, 96 struct perf_tool *tool __maybe_unused, in perf_event__synthesize_auxtrace_info() [all …]
|
A D | event.h | 311 struct perf_tool; 316 int perf_event__process_comm(struct perf_tool *tool, 320 int perf_event__process_lost(struct perf_tool *tool, 328 int perf_event__process_aux(struct perf_tool *tool, 340 int perf_event__process_switch(struct perf_tool *tool, 352 int perf_event__process_mmap(struct perf_tool *tool, 356 int perf_event__process_mmap2(struct perf_tool *tool, 360 int perf_event__process_fork(struct perf_tool *tool, 364 int perf_event__process_exit(struct perf_tool *tool, 372 int perf_event__process_bpf(struct perf_tool *tool, [all …]
|
A D | tool.h | 14 struct perf_tool; 18 typedef int (*event_sample)(struct perf_tool *tool, union perf_event *event, 22 typedef int (*event_op)(struct perf_tool *tool, union perf_event *event, 25 typedef int (*event_attr_op)(struct perf_tool *tool, 33 typedef int (*event_oe)(struct perf_tool *tool, union perf_event *event, 42 struct perf_tool { struct
|
A D | event.c | 193 int perf_event__process_comm(struct perf_tool *tool __maybe_unused, in perf_event__process_comm() 209 int perf_event__process_cgroup(struct perf_tool *tool __maybe_unused, in perf_event__process_cgroup() 217 int perf_event__process_lost(struct perf_tool *tool __maybe_unused, in perf_event__process_lost() 225 int perf_event__process_aux(struct perf_tool *tool __maybe_unused, in perf_event__process_aux() 257 int perf_event__process_switch(struct perf_tool *tool __maybe_unused, in perf_event__process_switch() 273 int perf_event__process_bpf(struct perf_tool *tool __maybe_unused, in perf_event__process_bpf() 364 int perf_event__process_mmap(struct perf_tool *tool __maybe_unused, in perf_event__process_mmap() 372 int perf_event__process_mmap2(struct perf_tool *tool __maybe_unused, in perf_event__process_mmap2() 387 int perf_event__process_fork(struct perf_tool *tool __maybe_unused, in perf_event__process_fork() 395 int perf_event__process_exit(struct perf_tool *tool __maybe_unused, in perf_event__process_exit() [all …]
|
A D | session.h | 44 struct perf_tool *tool; 61 struct perf_tool; 65 struct perf_tool *tool); 68 struct perf_tool *tool) in perf_session__new() 92 void perf_tool__fill_defaults(struct perf_tool *tool);
|
A D | auxtrace.h | 25 struct perf_tool; 198 struct perf_tool *tool); 201 struct perf_tool *tool); 208 struct perf_tool *tool); 493 typedef int (*process_auxtrace_t)(struct perf_tool *tool, 499 struct perf_tool *tool, process_auxtrace_t fn); 503 struct perf_tool *tool, process_auxtrace_t fn, 619 struct perf_sample *sample, struct perf_tool *tool); 622 int auxtrace__flush_events(struct perf_session *session, struct perf_tool *tool); 785 struct perf_tool *tool __maybe_unused) in auxtrace__process_event() [all …]
|
A D | synthetic-events.c | 50 int perf_tool__process_synth_event(struct perf_tool *tool, in perf_tool__process_synth_event() 190 pid_t perf_event__synthesize_comm(struct perf_tool *tool, in perf_event__synthesize_comm() 221 int perf_event__synthesize_namespaces(struct perf_tool *tool, in perf_event__synthesize_namespaces() 260 static int perf_event__synthesize_fork(struct perf_tool *tool, in perf_event__synthesize_fork() 391 int perf_event__synthesize_mmap_events(struct perf_tool *tool, in perf_event__synthesize_mmap_events() 603 int perf_event__synthesize_cgroups(struct perf_tool *tool, in perf_event__synthesize_cgroups() 718 struct perf_tool *tool, struct machine *machine, in __event__synthesize_thread() 947 struct perf_tool *tool; 969 int perf_event__synthesize_threads(struct perf_tool *tool, in perf_event__synthesize_threads() 1300 int perf_event__synthesize_cpu_map(struct perf_tool *tool, in perf_event__synthesize_cpu_map() [all …]
|
A D | build-id.h | 21 extern struct perf_tool build_id__mark_dso_hit_ops; 38 int build_id__mark_dso_hit(struct perf_tool *tool, union perf_event *event, 44 int perf_event__inject_buildid(struct perf_tool *tool, union perf_event *event,
|
A D | header.h | 115 struct perf_tool; 140 int perf_event__process_attr(struct perf_tool *tool, union perf_event *event, 142 int perf_event__process_event_update(struct perf_tool *tool,
|
A D | session.c | 101 struct perf_tool *tool, 189 struct perf_tool *tool) in __perf_session__new() 1412 struct perf_tool *tool, in deliver_sample_value() 1444 struct perf_tool *tool, in deliver_sample_group() 1488 struct perf_tool *tool, u64 file_offset) in machines__deliver_event() 1573 struct perf_tool *tool, in perf_session__deliver_event() 1604 struct perf_tool *tool = session->tool; in perf_session__process_user_event() 1684 struct perf_tool *tool = session->tool; in perf_session__deliver_synth_event() 1791 struct perf_tool *tool = session->tool; in perf_session__process_event() 1978 struct perf_tool *tool = session->tool; in __perf_session__process_pipe_events() [all …]
|
A D | data-convert-json.c | 31 struct perf_tool tool; 117 static void output_sample_callchain_entry(struct perf_tool *tool, in output_sample_callchain_entry() 143 static int process_sample_event(struct perf_tool *tool, in process_sample_event()
|
A D | intel-bts.h | 25 struct perf_tool;
|
A D | intel-pt.h | 34 struct perf_tool;
|
A D | top.h | 20 struct perf_tool tool;
|
A D | intel-bts.c | 594 struct perf_tool *tool) in intel_bts_process_event() 637 struct perf_tool *tool __maybe_unused) in intel_bts_process_auxtrace_event() 678 struct perf_tool *tool __maybe_unused) in intel_bts_flush() 741 struct perf_tool dummy_tool; 745 static int intel_bts_event_synth(struct perf_tool *tool, in intel_bts_event_synth()
|
/linux/tools/perf/tests/shell/ |
A D | record+zstd_comp_decomp.sh | 7 perf_tool=perf 10 $perf_tool record -h 2>&1 | grep -q '\-z, \-\-compression\-level' 16 $perf_tool record -o $trace_file $gflag -z -F 5000 -- \ 22 $perf_tool report -i $trace_file --header --stats | \ 27 $perf_tool inject -i $trace_file -o $trace_file.decomp && 28 $perf_tool report -i $trace_file --stdio -F comm,dso,sym | head -n -3 > $trace_file.comp.output && 29 …$perf_tool report -i $trace_file.decomp --stdio -F comm,dso,sym | head -n -3 > $trace_file.decomp.…
|
/linux/tools/perf/ |
A D | builtin-inject.c | 39 struct perf_tool tool; 80 static int perf_event__repipe_synth(struct perf_tool *tool, in perf_event__repipe_synth() 89 static int perf_event__repipe_oe_synth(struct perf_tool *tool, in perf_event__repipe_oe_synth() 118 static int perf_event__repipe_attr(struct perf_tool *tool, in perf_event__repipe_attr() 167 struct perf_tool *tool = session->tool; in perf_event__repipe_auxtrace() 214 static int perf_event__repipe(struct perf_tool *tool, in perf_event__repipe() 230 static int perf_event__drop_aux(struct perf_tool *tool, in perf_event__drop_aux() 265 typedef int (*inject_handler)(struct perf_tool *tool, 293 static int perf_event__repipe_mmap(struct perf_tool *tool, in perf_event__repipe_mmap() 484 static int perf_event__repipe_fork(struct perf_tool *tool, in perf_event__repipe_fork() [all …]
|
A D | builtin-mem.c | 29 struct perf_tool tool; 183 dump_raw_samples(struct perf_tool *tool, in dump_raw_samples() 251 static int process_sample_event(struct perf_tool *tool, in process_sample_event()
|
A D | builtin-script.c | 129 struct perf_tool tool; 2186 static int process_sample_event(struct perf_tool *tool, in process_sample_event() 2381 static int process_comm_event(struct perf_tool *tool, in process_comm_event() 2417 static int process_fork_event(struct perf_tool *tool, in process_fork_event() 2429 static int process_exit_event(struct perf_tool *tool, in process_exit_event() 2442 static int process_mmap_event(struct perf_tool *tool, in process_mmap_event() 2454 static int process_mmap2_event(struct perf_tool *tool, in process_mmap2_event() 2498 process_lost_event(struct perf_tool *tool, in process_lost_event() 3532 struct perf_tool *tool = session->tool; in process_thread_map_event() 3551 struct perf_tool *tool = session->tool; in process_cpu_map_event() [all …]
|
A D | builtin-sched.c | 181 struct perf_tool tool; 1484 static int process_sched_wakeup_event(struct perf_tool *tool, in process_sched_wakeup_event() 1669 static int process_sched_switch_event(struct perf_tool *tool, in process_sched_switch_event() 1695 static int process_sched_runtime_event(struct perf_tool *tool, in process_sched_runtime_event() 1738 typedef int (*tracepoint_handler)(struct perf_tool *tool, 2413 static int timehist_sched_wakeup_event(struct perf_tool *tool, in timehist_sched_wakeup_event() 2497 static int timehist_migrate_task_event(struct perf_tool *tool, in timehist_migrate_task_event() 2525 static int timehist_sched_change_event(struct perf_tool *tool, in timehist_sched_change_event() 2651 static int timehist_sched_switch_event(struct perf_tool *tool, in timehist_sched_switch_event() 2660 static int process_lost(struct perf_tool *tool __maybe_unused, in process_lost() [all …]
|
A D | builtin-record.c | 91 struct perf_tool tool; 512 static int process_synthesized_event(struct perf_tool *tool, in process_synthesized_event() 521 static int process_locked_synthesized_event(struct perf_tool *tool, in process_locked_synthesized_event() 596 static int record__process_auxtrace(struct perf_tool *tool, in record__process_auxtrace() 983 static int process_sample_event(struct perf_tool *tool, in process_sample_event() 1033 struct perf_tool *tool = data; in perf_event__synthesize_guest_os() 1392 struct perf_tool *tool = &rec->tool; in record__synthesize() 1627 struct perf_tool *tool = &rec->tool; in __cmd_record() 2367 static int build_id__process_mmap(struct perf_tool *tool, union perf_event *event, in build_id__process_mmap() 2379 static int build_id__process_mmap2(struct perf_tool *tool, union perf_event *event, in build_id__process_mmap2() [all …]
|
/linux/tools/perf/tests/ |
A D | event_update.c | 15 static int process_event_unit(struct perf_tool *tool __maybe_unused, in process_event_unit() 28 static int process_event_scale(struct perf_tool *tool __maybe_unused, in process_event_scale() 45 struct perf_tool tool; 49 static int process_event_name(struct perf_tool *tool, in process_event_name() 63 static int process_event_cpus(struct perf_tool *tool __maybe_unused, in process_event_cpus()
|
A D | stat.c | 24 static int process_stat_config_event(struct perf_tool *tool __maybe_unused, in process_stat_config_event() 65 static int process_stat_event(struct perf_tool *tool __maybe_unused, in process_stat_event() 95 static int process_stat_round_event(struct perf_tool *tool __maybe_unused, in process_stat_round_event()
|
A D | thread-map.c | 16 struct perf_tool; 62 static int process_event(struct perf_tool *tool __maybe_unused, in process_event()
|
A D | cpumap.c | 14 static int process_event_mask(struct perf_tool *tool __maybe_unused, in process_event_mask() 48 static int process_event_cpus(struct perf_tool *tool __maybe_unused, in process_event_cpus()
|