Home
last modified time | relevance | path

Searched refs:perf_tool (Results 1 – 36 of 36) sorted by relevance

/linux-4.4.14/tools/perf/util/
Dtool.h13 struct perf_tool;
17 typedef int (*event_sample)(struct perf_tool *tool, union perf_event *event,
21 typedef int (*event_op)(struct perf_tool *tool, union perf_event *event,
24 typedef int (*event_attr_op)(struct perf_tool *tool,
28 typedef int (*event_op2)(struct perf_tool *tool, union perf_event *event,
31 typedef int (*event_oe)(struct perf_tool *tool, union perf_event *event,
34 typedef s64 (*event_op3)(struct perf_tool *tool, union perf_event *event,
37 struct perf_tool { struct
Devent.h385 struct perf_tool;
388 typedef int (*perf_event__handler_t)(struct perf_tool *tool,
393 int perf_event__synthesize_thread_map(struct perf_tool *tool,
398 int perf_event__synthesize_threads(struct perf_tool *tool,
402 int perf_event__synthesize_kernel_mmap(struct perf_tool *tool,
406 int perf_event__synthesize_modules(struct perf_tool *tool,
410 int perf_event__process_comm(struct perf_tool *tool,
414 int perf_event__process_lost(struct perf_tool *tool,
418 int perf_event__process_lost_samples(struct perf_tool *tool,
422 int perf_event__process_aux(struct perf_tool *tool,
[all …]
Dheader.h102 int perf_event__synthesize_attr(struct perf_tool *tool,
105 int perf_event__synthesize_attrs(struct perf_tool *tool,
108 int perf_event__process_attr(struct perf_tool *tool, union perf_event *event,
111 int perf_event__synthesize_tracing_data(struct perf_tool *tool,
114 int perf_event__process_tracing_data(struct perf_tool *tool,
118 int perf_event__synthesize_build_id(struct perf_tool *tool,
122 int perf_event__process_build_id(struct perf_tool *tool,
Dauxtrace.h34 struct perf_tool;
128 struct perf_tool *tool);
131 struct perf_tool *tool);
133 struct perf_tool *tool);
377 typedef int (*process_auxtrace_t)(struct perf_tool *tool,
382 struct perf_tool *tool, process_auxtrace_t fn);
386 struct perf_tool *tool, process_auxtrace_t fn,
457 struct perf_tool *tool,
460 int perf_event__process_auxtrace_info(struct perf_tool *tool,
463 s64 perf_event__process_auxtrace(struct perf_tool *tool,
[all …]
Dsession.h35 struct perf_tool *tool;
45 struct perf_tool;
48 bool repipe, struct perf_tool *tool);
63 void perf_tool__fill_defaults(struct perf_tool *tool);
132 int perf_event__process_id_index(struct perf_tool *tool,
136 int perf_event__synthesize_id_index(struct perf_tool *tool,
Devent.c171 pid_t perf_event__synthesize_comm(struct perf_tool *tool, in perf_event__synthesize_comm()
187 static int perf_event__synthesize_fork(struct perf_tool *tool, in perf_event__synthesize_fork()
219 int perf_event__synthesize_mmap_events(struct perf_tool *tool, in perf_event__synthesize_mmap_events()
352 int perf_event__synthesize_modules(struct perf_tool *tool, in perf_event__synthesize_modules()
412 struct perf_tool *tool, in __event__synthesize_thread()
484 int perf_event__synthesize_thread_map(struct perf_tool *tool, in perf_event__synthesize_thread_map()
553 int perf_event__synthesize_threads(struct perf_tool *tool, in perf_event__synthesize_threads()
646 int perf_event__synthesize_kernel_mmap(struct perf_tool *tool, in perf_event__synthesize_kernel_mmap()
714 int perf_event__process_comm(struct perf_tool *tool __maybe_unused, in perf_event__process_comm()
722 int perf_event__process_lost(struct perf_tool *tool __maybe_unused, in perf_event__process_lost()
[all …]
Dbuild-id.h11 extern struct perf_tool build_id__mark_dso_hit_ops;
20 int build_id__mark_dso_hit(struct perf_tool *tool, union perf_event *event,
Dsession.c24 struct perf_tool *tool,
115 bool repipe, struct perf_tool *tool) in perf_session__new()
188 static int process_event_synth_tracing_data_stub(struct perf_tool *tool in process_event_synth_tracing_data_stub()
199 static int process_event_synth_attr_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub()
208 static int process_event_sample_stub(struct perf_tool *tool __maybe_unused, in process_event_sample_stub()
218 static int process_event_stub(struct perf_tool *tool __maybe_unused, in process_event_stub()
227 static int process_build_id_stub(struct perf_tool *tool __maybe_unused, in process_build_id_stub()
235 static int process_finished_round_stub(struct perf_tool *tool __maybe_unused, in process_finished_round_stub()
243 static int process_finished_round(struct perf_tool *tool,
247 static int process_id_index_stub(struct perf_tool *tool __maybe_unused, in process_id_index_stub()
[all …]
Dintel-bts.h34 struct perf_tool;
Dintel-pt.h43 struct perf_tool;
Dtop.h15 struct perf_tool tool;
Dauxtrace.c846 struct perf_tool *tool, in perf_event__synthesize_auxtrace_info()
880 int perf_event__process_auxtrace_info(struct perf_tool *tool __maybe_unused, in perf_event__process_auxtrace_info()
900 s64 perf_event__process_auxtrace(struct perf_tool *tool, in perf_event__process_auxtrace()
1138 int perf_event__process_auxtrace_error(struct perf_tool *tool __maybe_unused, in perf_event__process_auxtrace_error()
1151 struct perf_tool *tool, process_auxtrace_t fn, in __auxtrace_mmap__read()
1260 struct perf_tool *tool, process_auxtrace_t fn) in auxtrace_mmap__read()
1267 struct perf_tool *tool, process_auxtrace_t fn, in auxtrace_mmap__read_snapshot()
Dtrace-event.h10 struct perf_tool;
Dkvm-stat.h73 struct perf_tool tool;
Dbuild-id.c24 int build_id__mark_dso_hit(struct perf_tool *tool __maybe_unused, in build_id__mark_dso_hit()
50 static int perf_event__exit_del_thread(struct perf_tool *tool __maybe_unused, in perf_event__exit_del_thread()
71 struct perf_tool build_id__mark_dso_hit_ops = {
Dintel-bts.c598 struct perf_tool *tool) in intel_bts_process_event()
641 struct perf_tool *tool __maybe_unused) in intel_bts_process_auxtrace_event()
682 struct perf_tool *tool __maybe_unused) in intel_bts_flush()
736 struct perf_tool dummy_tool;
740 static int intel_bts_event_synth(struct perf_tool *tool, in intel_bts_event_synth()
Dheader.c2655 int perf_event__synthesize_attr(struct perf_tool *tool, in perf_event__synthesize_attr()
2689 int perf_event__synthesize_attrs(struct perf_tool *tool, in perf_event__synthesize_attrs()
2708 int perf_event__process_attr(struct perf_tool *tool __maybe_unused, in perf_event__process_attr()
2748 int perf_event__synthesize_tracing_data(struct perf_tool *tool, int fd, in perf_event__synthesize_tracing_data()
2794 int perf_event__process_tracing_data(struct perf_tool *tool __maybe_unused, in perf_event__process_tracing_data()
2834 int perf_event__synthesize_build_id(struct perf_tool *tool, in perf_event__synthesize_build_id()
2862 int perf_event__process_build_id(struct perf_tool *tool __maybe_unused, in perf_event__process_build_id()
Dmachine.h232 int __machine__synthesize_threads(struct machine *machine, struct perf_tool *tool,
Dintel-pt.c1640 struct perf_tool *tool) in intel_pt_process_event()
1701 static int intel_pt_flush(struct perf_session *session, struct perf_tool *tool) in intel_pt_flush()
1753 struct perf_tool *tool __maybe_unused) in intel_pt_process_auxtrace_event()
1794 struct perf_tool dummy_tool;
1798 static int intel_pt_event_synth(struct perf_tool *tool, in intel_pt_event_synth()
Ddata-convert-bt.c73 struct perf_tool tool;
555 static int process_sample_event(struct perf_tool *tool, in process_sample_event()
Dmachine.c1942 int __machine__synthesize_threads(struct machine *machine, struct perf_tool *tool, in __machine__synthesize_threads()
/linux-4.4.14/tools/perf/
Dbuiltin-inject.c26 struct perf_tool tool;
58 static int perf_event__repipe_synth(struct perf_tool *tool, in perf_event__repipe_synth()
67 static int perf_event__repipe_oe_synth(struct perf_tool *tool, in perf_event__repipe_oe_synth()
74 static int perf_event__repipe_op2_synth(struct perf_tool *tool, in perf_event__repipe_op2_synth()
82 static int perf_event__repipe_attr(struct perf_tool *tool, in perf_event__repipe_attr()
121 static s64 perf_event__repipe_auxtrace(struct perf_tool *tool, in perf_event__repipe_auxtrace()
163 perf_event__repipe_auxtrace(struct perf_tool *tool __maybe_unused, in perf_event__repipe_auxtrace()
173 static int perf_event__repipe(struct perf_tool *tool, in perf_event__repipe()
181 static int perf_event__drop(struct perf_tool *tool __maybe_unused, in perf_event__drop()
189 static int perf_event__drop_aux(struct perf_tool *tool, in perf_event__drop_aux()
[all …]
Dbuiltin-mem.c14 struct perf_tool tool;
61 dump_raw_samples(struct perf_tool *tool, in dump_raw_samples()
111 static int process_sample_event(struct perf_tool *tool, in process_sample_event()
Dbuiltin-record.c42 struct perf_tool tool;
67 static int process_synthesized_event(struct perf_tool *tool, in process_synthesized_event()
147 static int record__process_auxtrace(struct perf_tool *tool, in record__process_auxtrace()
333 static int process_sample_event(struct perf_tool *tool, in process_sample_event()
371 struct perf_tool *tool = data; in perf_event__synthesize_guest_os()
482 struct perf_tool *tool = &rec->tool; in __cmd_record()
Dbuiltin-annotate.c38 struct perf_tool tool;
84 static int process_sample_event(struct perf_tool *tool, in process_sample_event()
Dbuiltin-script.c699 static int process_sample_event(struct perf_tool *tool __maybe_unused, in process_sample_event()
737 struct perf_tool tool;
744 static int process_attr(struct perf_tool *tool, union perf_event *event, in process_attr()
775 static int process_comm_event(struct perf_tool *tool, in process_comm_event()
809 static int process_fork_event(struct perf_tool *tool, in process_fork_event()
840 static int process_exit_event(struct perf_tool *tool, in process_exit_event()
873 static int process_mmap_event(struct perf_tool *tool, in process_mmap_event()
904 static int process_mmap2_event(struct perf_tool *tool, in process_mmap2_event()
935 static int process_switch_event(struct perf_tool *tool, in process_switch_event()
Dbuiltin-sched.c126 struct perf_tool tool;
1329 static int process_sched_wakeup_event(struct perf_tool *tool, in process_sched_wakeup_event()
1428 static int process_sched_switch_event(struct perf_tool *tool, in process_sched_switch_event()
1454 static int process_sched_runtime_event(struct perf_tool *tool, in process_sched_runtime_event()
1467 static int perf_sched__process_fork_event(struct perf_tool *tool, in perf_sched__process_fork_event()
1484 static int process_sched_migrate_task_event(struct perf_tool *tool, in process_sched_migrate_task_event()
1497 typedef int (*tracepoint_handler)(struct perf_tool *tool,
1502 static int perf_sched__process_tracepoint_sample(struct perf_tool *tool __maybe_unused, in perf_sched__process_tracepoint_sample()
Dbuiltin-report.c45 struct perf_tool tool;
138 static int process_sample_event(struct perf_tool *tool, in process_sample_event()
193 static int process_read_event(struct perf_tool *tool, in process_read_event()
Dbuiltin-timechart.c50 struct perf_tool tool;
311 static int process_comm_event(struct perf_tool *tool, in process_comm_event()
321 static int process_fork_event(struct perf_tool *tool, in process_fork_event()
331 static int process_exit_event(struct perf_tool *tool, in process_exit_event()
554 static int process_sample_event(struct perf_tool *tool, in process_sample_event()
Dbuiltin-lock.c808 static int process_sample_event(struct perf_tool *tool __maybe_unused, in process_sample_event()
858 struct perf_tool eops = { in __cmd_report()
Dbuiltin-kvm.c626 static int process_lost_event(struct perf_tool *tool, in process_lost_event()
647 static int process_sample_event(struct perf_tool *tool, in process_sample_event()
1043 struct perf_tool eops = { in read_events()
Dbuiltin-diff.c323 static int diff__process_sample_event(struct perf_tool *tool __maybe_unused, in diff__process_sample_event()
360 static struct perf_tool tool = {
Dbuiltin-kmem.c903 static int process_sample_event(struct perf_tool *tool __maybe_unused, in process_sample_event()
931 static struct perf_tool perf_kmem = {
Dbuiltin-trace.c1401 struct perf_tool tool;
1628 static int trace__tool_process(struct perf_tool *tool, in trace__tool_process()
2292 static int trace__process_sample(struct perf_tool *tool, in trace__process_sample()
Dbuiltin-top.c704 static void perf_event__process_sample(struct perf_tool *tool, in perf_event__process_sample()
/linux-4.4.14/tools/perf/tests/
Ddwarf-unwind.c21 static int mmap_handler(struct perf_tool *tool __maybe_unused, in mmap_handler()