Home
last modified time | relevance | path

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

123

/linux-6.15/tools/perf/util/
H A Dsynthetic-events.h26 struct perf_tool;
44 typedef int (*perf_event__handler_t)(const struct perf_tool *tool, union perf_event *event,
47 int perf_event__synthesize_attrs(const struct perf_tool *tool, struct evlist *evlist, perf_event__h…
49 int perf_event__synthesize_build_id(const struct perf_tool *tool,
57 int perf_event__synthesize_mmap2_build_id(const struct perf_tool *tool,
81 int perf_event__synthesize_modules(const struct perf_tool *tool, perf_event__handler_t process, str…
83 int perf_event__synthesize_cgroups(const struct perf_tool *tool, perf_event__handler_t process, str…
100 int __machine__synthesize_threads(struct machine *machine, const struct perf_tool *tool,
109 int perf_event__synthesize_auxtrace_info(struct auxtrace_record *itr, const struct perf_tool *tool,
118 const struct perf_tool *tool __maybe_unused, in perf_event__synthesize_auxtrace_info()
[all …]
H A Devent.h276 struct perf_tool;
281 int perf_event__process_comm(const struct perf_tool *tool,
285 int perf_event__process_lost(const struct perf_tool *tool,
293 int perf_event__process_aux(const struct perf_tool *tool,
305 int perf_event__process_switch(const struct perf_tool *tool,
317 int perf_event__process_mmap(const struct perf_tool *tool,
321 int perf_event__process_mmap2(const struct perf_tool *tool,
325 int perf_event__process_fork(const struct perf_tool *tool,
329 int perf_event__process_exit(const struct perf_tool *tool,
341 int perf_event__process_bpf(const struct perf_tool *tool,
[all …]
H A Dtool.h14 struct perf_tool;
18 typedef int (*event_sample)(const struct perf_tool *tool, union perf_event *event,
22 typedef int (*event_op)(const struct perf_tool *tool, union perf_event *event,
25 typedef int (*event_attr_op)(const struct perf_tool *tool,
34 typedef int (*event_oe)(const struct perf_tool *tool, union perf_event *event,
43 struct perf_tool { struct
92 void perf_tool__init(struct perf_tool *tool, bool ordered_events); argument
94 bool perf_tool__compressed_is_stub(const struct perf_tool *tool);
96 int process_event_sample_stub(const struct perf_tool *tool,
H A Dsession.h79 const struct perf_tool *tool;
106 struct perf_tool;
109 struct perf_tool *tool,
113 struct perf_tool *tool) in perf_session__new()
207 int perf_event__process_finished_round(const struct perf_tool *tool,
H A Devent.c219 int perf_event__process_comm(const struct perf_tool *tool __maybe_unused, in perf_event__process_comm()
235 int perf_event__process_cgroup(const struct perf_tool *tool __maybe_unused, in perf_event__process_cgroup()
243 int perf_event__process_lost(const struct perf_tool *tool __maybe_unused, in perf_event__process_lost()
251 int perf_event__process_aux(const struct perf_tool *tool __maybe_unused, in perf_event__process_aux()
283 int perf_event__process_switch(const struct perf_tool *tool __maybe_unused, in perf_event__process_switch()
299 int perf_event__process_bpf(const struct perf_tool *tool __maybe_unused, in perf_event__process_bpf()
390 int perf_event__process_mmap(const struct perf_tool *tool __maybe_unused, in perf_event__process_mmap()
398 int perf_event__process_mmap2(const struct perf_tool *tool __maybe_unused, in perf_event__process_mmap2()
413 int perf_event__process_fork(const struct perf_tool *tool __maybe_unused, in perf_event__process_fork()
421 int perf_event__process_exit(const struct perf_tool *tool __maybe_unused, in perf_event__process_exit()
[all …]
H A Dtool.c81 static int process_event_synth_attr_stub(const struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub()
90 static int process_event_synth_event_update_stub(const struct perf_tool *tool __maybe_unused, in process_event_synth_event_update_stub()
102 int process_event_sample_stub(const struct perf_tool *tool __maybe_unused, in process_event_sample_stub()
112 static int process_event_stub(const struct perf_tool *tool __maybe_unused, in process_event_stub()
121 static int process_finished_round_stub(const struct perf_tool *tool __maybe_unused, in process_finished_round_stub()
233 void perf_tool__init(struct perf_tool *tool, bool ordered_events) in perf_tool__init()
291 bool perf_tool__compressed_is_stub(const struct perf_tool *tool) in perf_tool__compressed_is_stub()
H A Dsynthetic-events.c51 int perf_tool__process_synth_event(const struct perf_tool *tool, in perf_tool__process_synth_event()
191 pid_t perf_event__synthesize_comm(const struct perf_tool *tool, in perf_event__synthesize_comm()
222 int perf_event__synthesize_namespaces(const struct perf_tool *tool, in perf_event__synthesize_namespaces()
261 static int perf_event__synthesize_fork(const struct perf_tool *tool, in perf_event__synthesize_fork()
634 int perf_event__synthesize_cgroups(const struct perf_tool *tool, in perf_event__synthesize_cgroups()
670 const struct perf_tool *tool;
767 const struct perf_tool *tool, struct machine *machine, in __event__synthesize_thread()
998 const struct perf_tool *tool;
1020 int perf_event__synthesize_threads(const struct perf_tool *tool, in perf_event__synthesize_threads()
1351 int perf_event__synthesize_cpu_map(const struct perf_tool *tool, in perf_event__synthesize_cpu_map()
[all …]
H A Dauxtrace.h26 struct perf_tool;
210 const struct perf_tool *tool);
213 const struct perf_tool *tool);
220 const struct perf_tool *tool);
509 typedef int (*process_auxtrace_t)(const struct perf_tool *tool,
515 const struct perf_tool *tool, process_auxtrace_t fn);
519 const struct perf_tool *tool, process_auxtrace_t fn,
640 struct perf_sample *sample, const struct perf_tool *tool);
643 int auxtrace__flush_events(struct perf_session *session, const struct perf_tool *tool);
812 const struct perf_tool *tool __maybe_unused) in auxtrace__process_event()
[all …]
H A Dheader.h19 struct perf_tool;
173 int perf_event__process_attr(const struct perf_tool *tool, union perf_event *event,
175 int perf_event__process_event_update(const struct perf_tool *tool,
H A Dhisi-ptt.c82 const struct perf_tool *tool __maybe_unused) in hisi_ptt_process_event()
89 const struct perf_tool *tool __maybe_unused) in hisi_ptt_process_auxtrace_event()
126 const struct perf_tool *tool __maybe_unused) in hisi_ptt_flush()
H A Dbuild-id.h36 int build_id__mark_dso_hit(const struct perf_tool *tool, union perf_event *event,
40 int perf_event__inject_buildid(const struct perf_tool *tool, union perf_event *event,
H A Dintel-bts.h25 struct perf_tool;
H A Dintel-pt.h34 struct perf_tool;
H A Ddata-convert-json.c35 struct perf_tool tool;
121 static void output_sample_callchain_entry(const struct perf_tool *tool, in output_sample_callchain_entry()
149 static int process_sample_event(const struct perf_tool *tool, in process_sample_event()
H A Dtop.h21 struct perf_tool tool;
H A Dsession.c45 const struct perf_tool *tool,
139 struct perf_tool *tool, in __perf_session__new()
1181 const struct perf_tool *tool, in deliver_sample_value()
1219 const struct perf_tool *tool, in deliver_sample_group()
1359 const struct perf_tool *tool, in perf_session__deliver_event()
1397 const struct perf_tool *tool = session->tool; in perf_session__process_user_event()
1504 const struct perf_tool *tool = session->tool; in perf_session__deliver_synth_event()
1636 const struct perf_tool *tool = session->tool; in perf_session__process_event()
1823 const struct perf_tool *tool = session->tool; in __perf_session__process_pipe_events()
2253 const struct perf_tool *tool = session->tool; in __perf_session__process_events()
[all …]
/linux-6.15/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…
/linux-6.15/tools/perf/tests/
H A Devent_update.c15 static int process_event_unit(const struct perf_tool *tool __maybe_unused, in process_event_unit()
28 static int process_event_scale(const struct perf_tool *tool __maybe_unused, in process_event_scale()
42 struct perf_tool tool;
46 static int process_event_name(const struct perf_tool *tool, in process_event_name()
60 static int process_event_cpus(const struct perf_tool *tool __maybe_unused, in process_event_cpus()
H A Dstat.c24 static int process_stat_config_event(const struct perf_tool *tool __maybe_unused, in process_stat_config_event()
67 static int process_stat_event(const struct perf_tool *tool __maybe_unused, in process_stat_event()
98 static int process_stat_round_event(const struct perf_tool *tool __maybe_unused, in process_stat_round_event()
H A Dthread-map.c17 struct perf_tool;
63 static int process_event(const struct perf_tool *tool __maybe_unused, in process_event()
H A Dcpumap.c14 static int process_event_mask(const struct perf_tool *tool __maybe_unused, in process_event_mask()
50 static int process_event_cpus(const struct perf_tool *tool __maybe_unused, in process_event_cpus()
76 static int process_event_range_cpus(const struct perf_tool *tool __maybe_unused, in process_event_range_cpus()
/linux-6.15/tools/perf/
H A Dbuiltin-inject.c81 struct perf_tool tool;
115 struct perf_tool tool;
144 static int tool__inject_build_id(const struct perf_tool *tool,
264 const struct perf_tool *tool = session->tool; in perf_event__repipe_auxtrace()
311 static int perf_event__repipe(const struct perf_tool *tool, in perf_event__repipe()
327 static int perf_event__drop_aux(const struct perf_tool *tool, in perf_event__drop_aux()
368 typedef int (*inject_handler)(const struct perf_tool *tool,
834 const struct perf_tool *tool, in mark_dso_hit()
896 const struct perf_tool *tool;
1338 static int process_build_id(const struct perf_tool *tool, in process_build_id()
[all …]
H A Dbuiltin-mem.c32 struct perf_tool tool;
180 dump_raw_samples(const struct perf_tool *tool, in dump_raw_samples()
254 static int process_sample_event(const struct perf_tool *tool, in process_sample_event()
H A Dbuiltin-evlist.c38 struct perf_tool tool; in __cmd_evlist()
/linux-6.15/tools/perf/arch/x86/util/
H A Devent.c18 const struct perf_tool *tool;
68 int perf_event__synthesize_extra_kmaps(const struct perf_tool *tool, in perf_event__synthesize_extra_kmaps()

123