Home
last modified time | relevance | path

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

123

/linux/tools/perf/util/
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 …]
A Devent.h265 struct perf_tool;
270 int perf_event__process_comm(const struct perf_tool *tool,
274 int perf_event__process_lost(const struct perf_tool *tool,
282 int perf_event__process_aux(const struct perf_tool *tool,
294 int perf_event__process_switch(const struct perf_tool *tool,
306 int perf_event__process_mmap(const struct perf_tool *tool,
310 int perf_event__process_mmap2(const struct perf_tool *tool,
314 int perf_event__process_fork(const struct perf_tool *tool,
318 int perf_event__process_exit(const struct perf_tool *tool,
330 int perf_event__process_bpf(const struct perf_tool *tool,
[all …]
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,
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()
206 int perf_event__process_finished_round(const struct perf_tool *tool,
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 …]
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()
A Dsynthetic-events.c50 int perf_tool__process_synth_event(const struct perf_tool *tool, in perf_tool__process_synth_event()
190 pid_t perf_event__synthesize_comm(const struct perf_tool *tool, in perf_event__synthesize_comm()
221 int perf_event__synthesize_namespaces(const struct perf_tool *tool, in perf_event__synthesize_namespaces()
260 static int perf_event__synthesize_fork(const struct perf_tool *tool, in perf_event__synthesize_fork()
633 int perf_event__synthesize_cgroups(const struct perf_tool *tool, in perf_event__synthesize_cgroups()
669 const struct perf_tool *tool;
766 const struct perf_tool *tool, struct machine *machine, in __event__synthesize_thread()
996 const struct perf_tool *tool;
1018 int perf_event__synthesize_threads(const struct perf_tool *tool, in perf_event__synthesize_threads()
1349 int perf_event__synthesize_cpu_map(const struct perf_tool *tool, in perf_event__synthesize_cpu_map()
[all …]
A Dauxtrace.h26 struct perf_tool;
211 const struct perf_tool *tool);
214 const struct perf_tool *tool);
221 const struct perf_tool *tool);
510 typedef int (*process_auxtrace_t)(const struct perf_tool *tool,
516 const struct perf_tool *tool, process_auxtrace_t fn);
520 const struct perf_tool *tool, process_auxtrace_t fn,
641 struct perf_sample *sample, const struct perf_tool *tool);
644 int auxtrace__flush_events(struct perf_session *session, const struct perf_tool *tool);
811 const struct perf_tool *tool __maybe_unused) in auxtrace__process_event()
[all …]
A Dheader.h129 struct perf_tool;
174 int perf_event__process_attr(const struct perf_tool *tool, union perf_event *event,
176 int perf_event__process_event_update(const struct perf_tool *tool,
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()
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,
A Dintel-bts.h25 struct perf_tool;
A Dintel-pt.h34 struct perf_tool;
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()
A Dtop.h21 struct perf_tool tool;
A Dsession.c44 const struct perf_tool *tool,
138 struct perf_tool *tool, in __perf_session__new()
1170 const struct perf_tool *tool, in deliver_sample_value()
1202 const struct perf_tool *tool, in deliver_sample_group()
1338 const struct perf_tool *tool, in perf_session__deliver_event()
1371 const struct perf_tool *tool = session->tool; in perf_session__process_user_event()
1457 const struct perf_tool *tool = session->tool; in perf_session__deliver_synth_event()
1589 const struct perf_tool *tool = session->tool; in perf_session__process_event()
1776 const struct perf_tool *tool = session->tool; in __perf_session__process_pipe_events()
2206 const struct perf_tool *tool = session->tool; in __perf_session__process_events()
[all …]
/linux/tools/perf/tests/shell/
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/tools/perf/tests/
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()
A Dstat.c24 static int process_stat_config_event(const struct perf_tool *tool __maybe_unused, in process_stat_config_event()
65 static int process_stat_event(const struct perf_tool *tool __maybe_unused, in process_stat_event()
96 static int process_stat_round_event(const struct perf_tool *tool __maybe_unused, in process_stat_round_event()
A Dthread-map.c17 struct perf_tool;
63 static int process_event(const struct perf_tool *tool __maybe_unused, in process_event()
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/tools/perf/
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 …]
A Dbuiltin-mem.c31 struct perf_tool tool;
177 dump_raw_samples(const struct perf_tool *tool, in dump_raw_samples()
251 static int process_sample_event(const struct perf_tool *tool, in process_sample_event()
A Dbuiltin-evlist.c38 struct perf_tool tool; in __cmd_evlist()
/linux/tools/perf/arch/x86/util/
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()

Completed in 51 milliseconds

123