Home
last modified time | relevance | path

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

123

/Linux-v6.1/tools/perf/util/
Dsynthetic-events.h25 struct perf_tool;
43 typedef int (*perf_event__handler_t)(struct perf_tool *tool, union perf_event *event,
46 int perf_event__synthesize_attrs(struct perf_tool *tool, struct evlist *evlist, perf_event__handler…
47 int perf_event__synthesize_attr(struct perf_tool *tool, struct perf_event_attr *attr, u32 ids, u64 …
48 int perf_event__synthesize_build_id(struct perf_tool *tool, struct dso *pos, u16 misc, perf_event__…
49 int perf_event__synthesize_cpu_map(struct perf_tool *tool, const struct perf_cpu_map *cpus, perf_ev…
50 int perf_event__synthesize_event_update_cpus(struct perf_tool *tool, struct evsel *evsel, perf_even…
51 int perf_event__synthesize_event_update_name(struct perf_tool *tool, struct evsel *evsel, perf_even…
52 int perf_event__synthesize_event_update_scale(struct perf_tool *tool, struct evsel *evsel, perf_eve…
53 int perf_event__synthesize_event_update_unit(struct perf_tool *tool, struct evsel *evsel, perf_even…
[all …]
Devent.h375 struct perf_tool;
380 int perf_event__process_comm(struct perf_tool *tool,
384 int perf_event__process_lost(struct perf_tool *tool,
388 int perf_event__process_lost_samples(struct perf_tool *tool,
392 int perf_event__process_aux(struct perf_tool *tool,
396 int perf_event__process_itrace_start(struct perf_tool *tool,
400 int perf_event__process_aux_output_hw_id(struct perf_tool *tool,
404 int perf_event__process_switch(struct perf_tool *tool,
408 int perf_event__process_namespaces(struct perf_tool *tool,
412 int perf_event__process_cgroup(struct perf_tool *tool,
[all …]
Dtool.h14 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,
34 typedef int (*event_oe)(struct perf_tool *tool, union perf_event *event,
43 struct perf_tool { struct
Dsession.h44 struct perf_tool *tool;
62 struct perf_tool;
66 struct perf_tool *tool);
69 struct perf_tool *tool) in perf_session__new()
93 void perf_tool__fill_defaults(struct perf_tool *tool);
158 int perf_event__process_finished_round(struct perf_tool *tool,
Devent.c194 int perf_event__process_comm(struct perf_tool *tool __maybe_unused, in perf_event__process_comm()
202 int perf_event__process_namespaces(struct perf_tool *tool __maybe_unused, in perf_event__process_namespaces()
210 int perf_event__process_cgroup(struct perf_tool *tool __maybe_unused, in perf_event__process_cgroup()
218 int perf_event__process_lost(struct perf_tool *tool __maybe_unused, in perf_event__process_lost()
226 int perf_event__process_aux(struct perf_tool *tool __maybe_unused, in perf_event__process_aux()
234 int perf_event__process_itrace_start(struct perf_tool *tool __maybe_unused, in perf_event__process_itrace_start()
242 int perf_event__process_aux_output_hw_id(struct perf_tool *tool __maybe_unused, in perf_event__process_aux_output_hw_id()
250 int perf_event__process_lost_samples(struct perf_tool *tool __maybe_unused, in perf_event__process_lost_samples()
258 int perf_event__process_switch(struct perf_tool *tool __maybe_unused, in perf_event__process_switch()
266 int perf_event__process_ksymbol(struct perf_tool *tool __maybe_unused, in perf_event__process_ksymbol()
[all …]
Dauxtrace.h26 struct perf_tool;
205 struct perf_tool *tool);
208 struct perf_tool *tool);
215 struct perf_tool *tool);
505 typedef int (*process_auxtrace_t)(struct perf_tool *tool,
511 struct perf_tool *tool, process_auxtrace_t fn);
515 struct perf_tool *tool, process_auxtrace_t fn,
635 struct perf_sample *sample, struct perf_tool *tool);
638 int auxtrace__flush_events(struct perf_session *session, struct perf_tool *tool);
803 struct perf_tool *tool __maybe_unused) in auxtrace__process_event()
[all …]
Dsynthetic-events.c50 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()
421 int perf_event__synthesize_mmap_events(struct perf_tool *tool, in perf_event__synthesize_mmap_events()
545 static int perf_event__synthesize_cgroup(struct perf_tool *tool, in perf_event__synthesize_cgroup()
585 static int perf_event__walk_cgroup_tree(struct perf_tool *tool, in perf_event__walk_cgroup_tree()
633 int perf_event__synthesize_cgroups(struct perf_tool *tool, in perf_event__synthesize_cgroups()
660 int perf_event__synthesize_cgroups(struct perf_tool *tool __maybe_unused, in perf_event__synthesize_cgroups()
668 int perf_event__synthesize_modules(struct perf_tool *tool, perf_event__handler_t process, in perf_event__synthesize_modules()
[all …]
Dbuild-id.h21 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,
Dheader.h115 struct perf_tool;
157 int perf_event__process_attr(struct perf_tool *tool, union perf_event *event,
159 int perf_event__process_event_update(struct perf_tool *tool,
Dhisi-ptt.c87 struct perf_tool *tool __maybe_unused) in hisi_ptt_process_event()
94 struct perf_tool *tool __maybe_unused) in hisi_ptt_process_auxtrace_event()
128 struct perf_tool *tool __maybe_unused) in hisi_ptt_flush()
Dintel-bts.h25 struct perf_tool;
Dintel-pt.h34 struct perf_tool;
Dsession.c104 struct perf_tool *tool,
194 struct perf_tool *tool) in __perf_session__new()
329 static int process_event_synth_attr_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub()
338 static int process_event_synth_event_update_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_event_update_stub()
350 static int process_event_sample_stub(struct perf_tool *tool __maybe_unused, in process_event_sample_stub()
360 static int process_event_stub(struct perf_tool *tool __maybe_unused, in process_event_stub()
369 static int process_finished_round_stub(struct perf_tool *tool __maybe_unused, in process_finished_round_stub()
481 void perf_tool__fill_defaults(struct perf_tool *tool) in perf_tool__fill_defaults()
1077 int perf_event__process_finished_round(struct perf_tool *tool __maybe_unused, in perf_event__process_finished_round()
1459 struct perf_tool *tool, in deliver_sample_value()
[all …]
Ddata-convert-json.c31 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()
Dtop.h21 struct perf_tool tool;
/Linux-v6.1/tools/perf/tests/shell/
Drecord+zstd_comp_decomp.sh7 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-v6.1/tools/perf/tests/
Devent_update.c15 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()
42 struct perf_tool tool;
46 static int process_event_name(struct perf_tool *tool, in process_event_name()
60 static int process_event_cpus(struct perf_tool *tool __maybe_unused, in process_event_cpus()
Dstat.c24 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()
96 static int process_stat_round_event(struct perf_tool *tool __maybe_unused, in process_stat_round_event()
Dcpumap.c14 static int process_event_mask(struct perf_tool *tool __maybe_unused, in process_event_mask()
50 static int process_event_cpus(struct perf_tool *tool __maybe_unused, in process_event_cpus()
76 static int process_event_range_cpus(struct perf_tool *tool __maybe_unused, in process_event_range_cpus()
Dthread-map.c16 struct perf_tool;
62 static int process_event(struct perf_tool *tool __maybe_unused, in process_event()
/Linux-v6.1/tools/perf/
Dbuiltin-inject.c81 struct perf_tool tool;
107 struct perf_tool tool;
137 static int dso__inject_build_id(struct dso *dso, struct perf_tool *tool,
152 static int perf_event__repipe_synth(struct perf_tool *tool, in perf_event__repipe_synth()
161 static int perf_event__repipe_oe_synth(struct perf_tool *tool, in perf_event__repipe_oe_synth()
169 static int perf_event__drop_oe(struct perf_tool *tool __maybe_unused, in perf_event__drop_oe()
191 static int perf_event__repipe_attr(struct perf_tool *tool, in perf_event__repipe_attr()
209 static int perf_event__repipe_event_update(struct perf_tool *tool, in perf_event__repipe_event_update()
240 struct perf_tool *tool = session->tool; in perf_event__repipe_auxtrace()
287 static int perf_event__repipe(struct perf_tool *tool, in perf_event__repipe()
[all …]
Dbuiltin-mem.c30 struct perf_tool tool;
193 dump_raw_samples(struct perf_tool *tool, in dump_raw_samples()
261 static int process_sample_event(struct perf_tool *tool, in process_sample_event()
Dbuiltin-kwork.c757 static int process_irq_handler_entry_event(struct perf_tool *tool, in process_irq_handler_entry_event()
770 static int process_irq_handler_exit_event(struct perf_tool *tool, in process_irq_handler_exit_event()
828 static int process_softirq_raise_event(struct perf_tool *tool, in process_softirq_raise_event()
842 static int process_softirq_entry_event(struct perf_tool *tool, in process_softirq_entry_event()
856 static int process_softirq_exit_event(struct perf_tool *tool, in process_softirq_exit_event()
949 static int process_workqueue_activate_work_event(struct perf_tool *tool, in process_workqueue_activate_work_event()
963 static int process_workqueue_execute_start_event(struct perf_tool *tool, in process_workqueue_execute_start_event()
977 static int process_workqueue_execute_end_event(struct perf_tool *tool, in process_workqueue_execute_end_event()
1529 typedef int (*tracepoint_handler)(struct perf_tool *tool,
1534 static int perf_kwork__process_tracepoint_sample(struct perf_tool *tool, in perf_kwork__process_tracepoint_sample()
Dbuiltin-evlist.c38 struct perf_tool tool = { in __cmd_evlist()
Dbuiltin-sched.c182 struct perf_tool tool;
1506 static int process_sched_wakeup_event(struct perf_tool *tool, in process_sched_wakeup_event()
1696 static int process_sched_switch_event(struct perf_tool *tool, in process_sched_switch_event()
1722 static int process_sched_runtime_event(struct perf_tool *tool, in process_sched_runtime_event()
1735 static int perf_sched__process_fork_event(struct perf_tool *tool, in perf_sched__process_fork_event()
1752 static int process_sched_migrate_task_event(struct perf_tool *tool, in process_sched_migrate_task_event()
1765 typedef int (*tracepoint_handler)(struct perf_tool *tool,
1770 static int perf_sched__process_tracepoint_sample(struct perf_tool *tool __maybe_unused, in perf_sched__process_tracepoint_sample()
1786 static int perf_sched__process_comm(struct perf_tool *tool __maybe_unused, in perf_sched__process_comm()
2431 static int timehist_sched_wakeup_ignore(struct perf_tool *tool __maybe_unused, in timehist_sched_wakeup_ignore()
[all …]

123