Home
last modified time | relevance | path

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

123

/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…
102 int __machine__synthesize_threads(struct machine *machine, const struct perf_tool *tool,
111 int perf_event__synthesize_auxtrace_info(struct auxtrace_record *itr, const struct perf_tool *tool,
120 const struct perf_tool *tool __maybe_unused, in perf_event__synthesize_auxtrace_info()
[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
93 void perf_tool__init(struct perf_tool *tool, bool ordered_events); argument
95 bool perf_tool__compressed_is_stub(const struct perf_tool *tool);
97 int process_event_sample_stub(const struct perf_tool *tool,
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 …]
A Dsession.h79 const struct perf_tool *tool;
106 struct perf_tool;
109 struct perf_tool *tool,
114 struct perf_tool *tool) in perf_session__new()
208 int perf_event__process_finished_round(const struct perf_tool *tool,
A Dtool.c91 static int process_event_synth_attr_stub(const struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub()
100 static int process_event_synth_event_update_stub(const struct perf_tool *tool __maybe_unused, in process_event_synth_event_update_stub()
112 int process_event_sample_stub(const struct perf_tool *tool __maybe_unused, in process_event_sample_stub()
122 static int process_event_stub(const struct perf_tool *tool __maybe_unused, in process_event_stub()
131 static int process_finished_round_stub(const struct perf_tool *tool __maybe_unused, in process_finished_round_stub()
253 void perf_tool__init(struct perf_tool *tool, bool ordered_events) in perf_tool__init()
312 bool perf_tool__compressed_is_stub(const struct perf_tool *tool) in perf_tool__compressed_is_stub()
A Devent.c224 int perf_event__process_comm(const struct perf_tool *tool __maybe_unused, in perf_event__process_comm()
240 int perf_event__process_cgroup(const struct perf_tool *tool __maybe_unused, in perf_event__process_cgroup()
248 int perf_event__process_lost(const struct perf_tool *tool __maybe_unused, in perf_event__process_lost()
256 int perf_event__process_aux(const struct perf_tool *tool __maybe_unused, in perf_event__process_aux()
288 int perf_event__process_switch(const struct perf_tool *tool __maybe_unused, in perf_event__process_switch()
304 int perf_event__process_bpf(const struct perf_tool *tool __maybe_unused, in perf_event__process_bpf()
395 int perf_event__process_mmap(const struct perf_tool *tool __maybe_unused, in perf_event__process_mmap()
403 int perf_event__process_mmap2(const struct perf_tool *tool __maybe_unused, in perf_event__process_mmap2()
418 int perf_event__process_fork(const struct perf_tool *tool __maybe_unused, in perf_event__process_fork()
426 int perf_event__process_exit(const struct perf_tool *tool __maybe_unused, in perf_event__process_exit()
[all …]
A Dauxtrace.h27 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 struct perf_env *env, const struct perf_tool *tool,
521 const struct perf_tool *tool, process_auxtrace_t fn,
642 struct perf_sample *sample, const struct perf_tool *tool);
645 int auxtrace__flush_events(struct perf_session *session, const struct perf_tool *tool);
814 const struct perf_tool *tool __maybe_unused) in auxtrace__process_event()
[all …]
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()
640 int perf_event__synthesize_cgroups(const struct perf_tool *tool, in perf_event__synthesize_cgroups()
676 const struct perf_tool *tool;
773 const struct perf_tool *tool, struct machine *machine, in __event__synthesize_thread()
1004 const struct perf_tool *tool;
1026 int perf_event__synthesize_threads(const struct perf_tool *tool, in perf_event__synthesize_threads()
1357 int perf_event__synthesize_cpu_map(const struct perf_tool *tool, in perf_event__synthesize_cpu_map()
[all …]
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 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,
A Dintel-bts.h25 struct perf_tool;
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-pt.h34 struct perf_tool;
A Dtop.h21 struct perf_tool 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()
/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…
A Dstat+event_uniquifying.sh8 perf_tool=perf
48 if ! ${perf_tool} list pmu | grep -q ${pmu}; then
58 done < <(${perf_tool} list -v ${event} | grep ${pmu})
60 perf_command="${perf_tool} stat -e $event -A -o ${stat_output} -- true"
/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()
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()
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()
/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,
840 const struct perf_tool *tool, in mark_dso_hit()
902 const struct perf_tool *tool;
1344 static int process_build_id(const struct perf_tool *tool, in process_build_id()
[all …]
A Dbuiltin-evlist.c38 struct perf_tool tool; in __cmd_evlist()
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()
/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