Home
last modified time | relevance | path

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

123

/openbmc/linux/tools/perf/util/
H A 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…
50 int perf_event__synthesize_event_update_cpus(struct perf_tool *tool, struct evsel *evsel, perf_even…
55 int perf_event__synthesize_extra_kmaps(struct perf_tool *tool, perf_event__handler_t process, struc…
62 int perf_event__synthesize_modules(struct perf_tool *tool, perf_event__handler_t process, struct ma…
64 int perf_event__synthesize_cgroups(struct perf_tool *tool, perf_event__handler_t process, struct ma…
81 int __machine__synthesize_threads(struct machine *machine, struct perf_tool *tool,
90 int perf_event__synthesize_auxtrace_info(struct auxtrace_record *itr, struct perf_tool *tool,
99 struct perf_tool *tool __maybe_unused, in perf_event__synthesize_auxtrace_info()
[all …]
H A Devent.h265 struct perf_tool;
270 int perf_event__process_comm(struct perf_tool *tool,
274 int perf_event__process_lost(struct perf_tool *tool,
282 int perf_event__process_aux(struct perf_tool *tool,
294 int perf_event__process_switch(struct perf_tool *tool,
306 int perf_event__process_mmap(struct perf_tool *tool,
310 int perf_event__process_mmap2(struct perf_tool *tool,
314 int perf_event__process_fork(struct perf_tool *tool,
318 int perf_event__process_exit(struct perf_tool *tool,
326 int perf_event__process_bpf(struct perf_tool *tool,
[all …]
H A 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
H A Dsession.h46 struct perf_tool *tool;
64 struct perf_tool;
68 struct perf_tool *tool);
71 struct perf_tool *tool) in perf_session__new()
95 void perf_tool__fill_defaults(struct perf_tool *tool);
160 int perf_event__process_finished_round(struct perf_tool *tool,
H A Devent.c219 int perf_event__process_comm(struct perf_tool *tool __maybe_unused, in perf_event__process_comm()
235 int perf_event__process_cgroup(struct perf_tool *tool __maybe_unused, in perf_event__process_cgroup()
243 int perf_event__process_lost(struct perf_tool *tool __maybe_unused, in perf_event__process_lost()
251 int perf_event__process_aux(struct perf_tool *tool __maybe_unused, in perf_event__process_aux()
283 int perf_event__process_switch(struct perf_tool *tool __maybe_unused, in perf_event__process_switch()
299 int perf_event__process_bpf(struct perf_tool *tool __maybe_unused, in perf_event__process_bpf()
390 int perf_event__process_mmap(struct perf_tool *tool __maybe_unused, in perf_event__process_mmap()
398 int perf_event__process_mmap2(struct perf_tool *tool __maybe_unused, in perf_event__process_mmap2()
413 int perf_event__process_fork(struct perf_tool *tool __maybe_unused, in perf_event__process_fork()
421 int perf_event__process_exit(struct perf_tool *tool __maybe_unused, in perf_event__process_exit()
[all …]
H A Dauxtrace.h26 struct perf_tool;
209 struct perf_tool *tool);
212 struct perf_tool *tool);
219 struct perf_tool *tool);
509 typedef int (*process_auxtrace_t)(struct perf_tool *tool,
515 struct perf_tool *tool, process_auxtrace_t fn);
519 struct perf_tool *tool, process_auxtrace_t fn,
639 struct perf_sample *sample, struct perf_tool *tool);
642 int auxtrace__flush_events(struct perf_session *session, struct perf_tool *tool);
808 struct perf_tool *tool __maybe_unused) in auxtrace__process_event()
[all …]
H A 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()
633 int perf_event__synthesize_cgroups(struct perf_tool *tool, in perf_event__synthesize_cgroups()
750 struct perf_tool *tool, struct machine *machine, in __event__synthesize_thread()
980 struct perf_tool *tool;
1002 int perf_event__synthesize_threads(struct perf_tool *tool, in perf_event__synthesize_threads()
1333 int perf_event__synthesize_cpu_map(struct perf_tool *tool, in perf_event__synthesize_cpu_map()
[all …]
H A 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,
H A 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()
129 struct perf_tool *tool __maybe_unused) in hisi_ptt_flush()
H A Dheader.h115 struct perf_tool;
159 int perf_event__process_attr(struct perf_tool *tool, union perf_event *event,
161 int perf_event__process_event_update(struct perf_tool *tool,
H A Dintel-bts.h25 struct perf_tool;
H A Dintel-pt.h34 struct perf_tool;
H A Dtop.h21 struct perf_tool tool;
H A Dsession.c105 struct perf_tool *tool,
200 struct perf_tool *tool) in __perf_session__new()
1462 struct perf_tool *tool, in deliver_sample_value()
1494 struct perf_tool *tool, in deliver_sample_group()
1629 struct perf_tool *tool, in perf_session__deliver_event()
1662 struct perf_tool *tool = session->tool; in perf_session__process_user_event()
1749 struct perf_tool *tool = session->tool; in perf_session__deliver_synth_event()
1857 struct perf_tool *tool = session->tool; in perf_session__process_event()
2044 struct perf_tool *tool = session->tool; in __perf_session__process_pipe_events()
2458 struct perf_tool *tool = session->tool; in __perf_session__process_events()
[all …]
H A Ddata-convert-json.c35 struct perf_tool tool;
121 static void output_sample_callchain_entry(struct perf_tool *tool, in output_sample_callchain_entry()
149 static int process_sample_event(struct perf_tool *tool, in process_sample_event()
/openbmc/linux/tools/perf/tests/shell/
H A 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.deco…
/openbmc/linux/tools/perf/tests/
H A 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()
H A 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()
H A Dthread-map.c17 struct perf_tool;
63 static int process_event(struct perf_tool *tool __maybe_unused, in process_event()
H A 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()
/openbmc/linux/tools/perf/
H A Dbuiltin-inject.c81 struct perf_tool tool;
107 struct perf_tool tool;
152 static int perf_event__repipe_synth(struct perf_tool *tool, in perf_event__repipe_synth()
191 static int perf_event__repipe_attr(struct perf_tool *tool, in perf_event__repipe_attr()
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()
303 static int perf_event__drop_aux(struct perf_tool *tool, in perf_event__drop_aux()
344 typedef int (*inject_handler)(struct perf_tool *tool,
1164 static int process_build_id(struct perf_tool *tool, in process_build_id()
1573 static int host__repipe(struct perf_tool *tool, in host__repipe()
[all …]
H A Dbuiltin-mem.c30 struct perf_tool tool;
191 dump_raw_samples(struct perf_tool *tool, in dump_raw_samples()
265 static int process_sample_event(struct perf_tool *tool, in process_sample_event()
H A Dbuiltin-kwork.c781 static int process_irq_handler_entry_event(struct perf_tool *tool, in process_irq_handler_entry_event()
794 static int process_irq_handler_exit_event(struct perf_tool *tool, in process_irq_handler_exit_event()
852 static int process_softirq_raise_event(struct perf_tool *tool, in process_softirq_raise_event()
866 static int process_softirq_entry_event(struct perf_tool *tool, in process_softirq_entry_event()
880 static int process_softirq_exit_event(struct perf_tool *tool, in process_softirq_exit_event()
973 static int process_workqueue_activate_work_event(struct perf_tool *tool, in process_workqueue_activate_work_event()
987 static int process_workqueue_execute_start_event(struct perf_tool *tool, in process_workqueue_execute_start_event()
1001 static int process_workqueue_execute_end_event(struct perf_tool *tool, in process_workqueue_execute_end_event()
1553 typedef int (*tracepoint_handler)(struct perf_tool *tool,
1558 static int perf_kwork__process_tracepoint_sample(struct perf_tool *tool, in perf_kwork__process_tracepoint_sample()
H A Dbuiltin-evlist.c38 struct perf_tool tool = { in __cmd_evlist()
H A Dbuiltin-sched.c182 struct perf_tool tool;
1513 static int process_sched_wakeup_event(struct perf_tool *tool, in process_sched_wakeup_event()
1711 static int process_sched_switch_event(struct perf_tool *tool, in process_sched_switch_event()
1737 static int process_sched_runtime_event(struct perf_tool *tool, in process_sched_runtime_event()
1780 typedef int (*tracepoint_handler)(struct perf_tool *tool,
2468 static int timehist_sched_wakeup_event(struct perf_tool *tool, in timehist_sched_wakeup_event()
2552 static int timehist_migrate_task_event(struct perf_tool *tool, in timehist_migrate_task_event()
2580 static int timehist_sched_change_event(struct perf_tool *tool, in timehist_sched_change_event()
2711 static int timehist_sched_switch_event(struct perf_tool *tool, in timehist_sched_switch_event()
2720 static int process_lost(struct perf_tool *tool __maybe_unused, in process_lost()
[all …]

123