Home
last modified time | relevance | path

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

12

/tools/perf/util/
Dtool.h11 struct perf_tool;
14 typedef int (*event_sample)(struct perf_tool *tool, union perf_event *event,
18 typedef int (*event_op)(struct perf_tool *tool, union perf_event *event,
21 typedef int (*event_attr_op)(struct perf_tool *tool,
25 typedef int (*event_op2)(struct perf_tool *tool, union perf_event *event,
28 struct perf_tool { struct
Devent.h261 struct perf_tool;
264 typedef int (*perf_event__handler_t)(struct perf_tool *tool,
269 int perf_event__synthesize_thread_map(struct perf_tool *tool,
273 int perf_event__synthesize_threads(struct perf_tool *tool,
276 int perf_event__synthesize_kernel_mmap(struct perf_tool *tool,
280 int perf_event__synthesize_modules(struct perf_tool *tool,
284 int perf_event__process_comm(struct perf_tool *tool,
288 int perf_event__process_lost(struct perf_tool *tool,
292 int perf_event__process_mmap(struct perf_tool *tool,
296 int perf_event__process_mmap2(struct perf_tool *tool,
[all …]
Dheader.h129 int perf_event__synthesize_attr(struct perf_tool *tool,
132 int perf_event__synthesize_attrs(struct perf_tool *tool,
135 int perf_event__process_attr(struct perf_tool *tool, union perf_event *event,
138 int perf_event__synthesize_tracing_data(struct perf_tool *tool,
141 int perf_event__process_tracing_data(struct perf_tool *tool,
145 int perf_event__synthesize_build_id(struct perf_tool *tool,
149 int perf_event__process_build_id(struct perf_tool *tool,
Dsession.h39 struct perf_tool;
42 bool repipe, struct perf_tool *tool);
54 struct perf_tool *tool);
56 struct perf_tool *tool);
59 struct perf_tool *tool, struct perf_sample *sample,
62 void perf_tool__fill_defaults(struct perf_tool *tool);
67 struct perf_tool *tool, u64 file_offset);
Dbuild-id.h9 extern struct perf_tool build_id__mark_dso_hit_ops;
15 int build_id__mark_dso_hit(struct perf_tool *tool, union perf_event *event,
Dbuild-id.c19 int build_id__mark_dso_hit(struct perf_tool *tool __maybe_unused, in build_id__mark_dso_hit()
45 static int perf_event__exit_del_thread(struct perf_tool *tool __maybe_unused, in perf_event__exit_del_thread()
67 struct perf_tool build_id__mark_dso_hit_ops = {
Devent.c97 static pid_t perf_event__synthesize_comm(struct perf_tool *tool, in perf_event__synthesize_comm()
134 static int perf_event__synthesize_fork(struct perf_tool *tool, in perf_event__synthesize_fork()
156 int perf_event__synthesize_mmap_events(struct perf_tool *tool, in perf_event__synthesize_mmap_events()
268 int perf_event__synthesize_modules(struct perf_tool *tool, in perf_event__synthesize_modules()
329 struct perf_tool *tool, in __event__synthesize_thread()
393 int perf_event__synthesize_thread_map(struct perf_tool *tool, in perf_event__synthesize_thread_map()
461 int perf_event__synthesize_threads(struct perf_tool *tool, in perf_event__synthesize_threads()
551 int perf_event__synthesize_kernel_mmap(struct perf_tool *tool, in perf_event__synthesize_kernel_mmap()
620 int perf_event__process_comm(struct perf_tool *tool __maybe_unused, in perf_event__process_comm()
628 int perf_event__process_lost(struct perf_tool *tool __maybe_unused, in perf_event__process_lost()
[all …]
Dsession.c90 bool repipe, struct perf_tool *tool) in perf_session__new()
179 static int process_event_synth_tracing_data_stub(struct perf_tool *tool in process_event_synth_tracing_data_stub()
190 static int process_event_synth_attr_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub()
199 static int process_event_sample_stub(struct perf_tool *tool __maybe_unused, in process_event_sample_stub()
209 static int process_event_stub(struct perf_tool *tool __maybe_unused, in process_event_stub()
218 static int process_finished_round_stub(struct perf_tool *tool __maybe_unused, in process_finished_round_stub()
227 static int process_finished_round(struct perf_tool *tool,
231 void perf_tool__fill_defaults(struct perf_tool *tool) in perf_tool__fill_defaults()
505 static int process_finished_round(struct perf_tool *tool, in process_finished_round()
513 struct perf_tool *tool, struct perf_sample *sample, in perf_session_queue_event()
[all …]
Dtop.h15 struct perf_tool tool;
Dordered-events.h43 int ordered_events__flush(struct perf_session *s, struct perf_tool *tool,
Dtrace-event.h10 struct perf_tool;
Dkvm-stat.h73 struct perf_tool tool;
Dordered-events.c157 struct perf_tool *tool) in __ordered_events__flush()
207 int ordered_events__flush(struct perf_session *s, struct perf_tool *tool, in ordered_events__flush()
Dmachine.h209 int __machine__synthesize_threads(struct machine *machine, struct perf_tool *tool,
Dheader.c2911 int perf_event__synthesize_attr(struct perf_tool *tool, in perf_event__synthesize_attr()
2945 int perf_event__synthesize_attrs(struct perf_tool *tool, in perf_event__synthesize_attrs()
2964 int perf_event__process_attr(struct perf_tool *tool __maybe_unused, in perf_event__process_attr()
3004 int perf_event__synthesize_tracing_data(struct perf_tool *tool, int fd, in perf_event__synthesize_tracing_data()
3050 int perf_event__process_tracing_data(struct perf_tool *tool __maybe_unused, in perf_event__process_tracing_data()
3090 int perf_event__synthesize_build_id(struct perf_tool *tool, in perf_event__synthesize_build_id()
3118 int perf_event__process_build_id(struct perf_tool *tool __maybe_unused, in perf_event__process_build_id()
/tools/perf/
Dbuiltin-inject.c25 struct perf_tool tool;
41 static int perf_event__repipe_synth(struct perf_tool *tool, in perf_event__repipe_synth()
56 static int perf_event__repipe_op2_synth(struct perf_tool *tool, in perf_event__repipe_op2_synth()
64 static int perf_event__repipe_attr(struct perf_tool *tool, in perf_event__repipe_attr()
82 static int perf_event__repipe(struct perf_tool *tool, in perf_event__repipe()
90 typedef int (*inject_handler)(struct perf_tool *tool,
96 static int perf_event__repipe_sample(struct perf_tool *tool, in perf_event__repipe_sample()
112 static int perf_event__repipe_mmap(struct perf_tool *tool, in perf_event__repipe_mmap()
125 static int perf_event__repipe_mmap2(struct perf_tool *tool, in perf_event__repipe_mmap2()
138 static int perf_event__repipe_fork(struct perf_tool *tool, in perf_event__repipe_fork()
[all …]
Dbuiltin-mem.c16 struct perf_tool tool;
57 dump_raw_samples(struct perf_tool *tool, in dump_raw_samples()
106 static int process_sample_event(struct perf_tool *tool, in process_sample_event()
Dbuiltin-annotate.c38 struct perf_tool tool;
79 static int process_sample_event(struct perf_tool *tool, in process_sample_event()
Dbuiltin-record.c37 struct perf_tool tool;
61 static int process_synthesized_event(struct perf_tool *tool, in process_synthesized_event()
211 struct perf_tool *tool = data; in perf_event__synthesize_guest_os()
309 struct perf_tool *tool = &rec->tool; in __cmd_record()
Dbuiltin-script.c547 static int process_sample_event(struct perf_tool *tool __maybe_unused, in process_sample_event()
592 struct perf_tool tool;
598 static int process_attr(struct perf_tool *tool, union perf_event *event, in process_attr()
626 static int process_comm_event(struct perf_tool *tool, in process_comm_event()
660 static int process_fork_event(struct perf_tool *tool, in process_fork_event()
690 static int process_exit_event(struct perf_tool *tool, in process_exit_event()
721 static int process_mmap_event(struct perf_tool *tool, in process_mmap_event()
752 static int process_mmap2_event(struct perf_tool *tool, in process_mmap2_event()
Dbuiltin-sched.c124 struct perf_tool tool;
1257 static int process_sched_wakeup_event(struct perf_tool *tool, in process_sched_wakeup_event()
1352 static int process_sched_switch_event(struct perf_tool *tool, in process_sched_switch_event()
1378 static int process_sched_runtime_event(struct perf_tool *tool, in process_sched_runtime_event()
1391 static int perf_sched__process_fork_event(struct perf_tool *tool, in perf_sched__process_fork_event()
1408 static int process_sched_migrate_task_event(struct perf_tool *tool, in process_sched_migrate_task_event()
1421 typedef int (*tracepoint_handler)(struct perf_tool *tool,
1426 static int perf_sched__process_tracepoint_sample(struct perf_tool *tool __maybe_unused, in perf_sched__process_tracepoint_sample()
Dbuiltin-report.c43 struct perf_tool tool;
144 static int process_sample_event(struct perf_tool *tool, in process_sample_event()
190 static int process_read_event(struct perf_tool *tool, in process_read_event()
Dbuiltin-kmem.c231 static int process_sample_event(struct perf_tool *tool __maybe_unused, in process_sample_event()
256 static struct perf_tool perf_kmem = {
Dbuiltin-timechart.c50 struct perf_tool tool;
310 static int process_comm_event(struct perf_tool *tool, in process_comm_event()
320 static int process_fork_event(struct perf_tool *tool, in process_fork_event()
330 static int process_exit_event(struct perf_tool *tool, in process_exit_event()
552 static int process_sample_event(struct perf_tool *tool, in process_sample_event()
/tools/perf/tests/
Ddwarf-unwind.c14 static int mmap_handler(struct perf_tool *tool __maybe_unused, in mmap_handler()

12