Home
last modified time | relevance | path

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

123

/Linux-v5.4/tools/perf/util/
Dsynthetic-events.h23 struct perf_tool;
29 typedef int (*perf_event__handler_t)(struct perf_tool *tool, union perf_event *event,
32 int perf_event__synthesize_attrs(struct perf_tool *tool, struct evlist *evlist, perf_event__handler…
33 int perf_event__synthesize_attr(struct perf_tool *tool, struct perf_event_attr *attr, u32 ids, u64 …
34 int perf_event__synthesize_build_id(struct perf_tool *tool, struct dso *pos, u16 misc, perf_event__…
35 int perf_event__synthesize_cpu_map(struct perf_tool *tool, struct perf_cpu_map *cpus, perf_event__h…
36 int perf_event__synthesize_event_update_cpus(struct perf_tool *tool, struct evsel *evsel, perf_even…
37 int perf_event__synthesize_event_update_name(struct perf_tool *tool, struct evsel *evsel, perf_even…
38 int perf_event__synthesize_event_update_scale(struct perf_tool *tool, struct evsel *evsel, perf_eve…
39 int perf_event__synthesize_event_update_unit(struct perf_tool *tool, struct evsel *evsel, perf_even…
[all …]
Devent.h285 struct perf_tool;
290 int perf_event__process_comm(struct perf_tool *tool,
294 int perf_event__process_lost(struct perf_tool *tool,
298 int perf_event__process_lost_samples(struct perf_tool *tool,
302 int perf_event__process_aux(struct perf_tool *tool,
306 int perf_event__process_itrace_start(struct perf_tool *tool,
310 int perf_event__process_switch(struct perf_tool *tool,
314 int perf_event__process_namespaces(struct perf_tool *tool,
318 int perf_event__process_mmap(struct perf_tool *tool,
322 int perf_event__process_mmap2(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,
33 typedef int (*event_oe)(struct perf_tool *tool, union perf_event *event,
42 struct perf_tool { struct
Devent.c183 int perf_event__process_comm(struct perf_tool *tool __maybe_unused, in perf_event__process_comm()
191 int perf_event__process_namespaces(struct perf_tool *tool __maybe_unused, in perf_event__process_namespaces()
199 int perf_event__process_lost(struct perf_tool *tool __maybe_unused, in perf_event__process_lost()
207 int perf_event__process_aux(struct perf_tool *tool __maybe_unused, in perf_event__process_aux()
215 int perf_event__process_itrace_start(struct perf_tool *tool __maybe_unused, in perf_event__process_itrace_start()
223 int perf_event__process_lost_samples(struct perf_tool *tool __maybe_unused, in perf_event__process_lost_samples()
231 int perf_event__process_switch(struct perf_tool *tool __maybe_unused, in perf_event__process_switch()
239 int perf_event__process_ksymbol(struct perf_tool *tool __maybe_unused, in perf_event__process_ksymbol()
247 int perf_event__process_bpf(struct perf_tool *tool __maybe_unused, in perf_event__process_bpf()
311 int perf_event__process_mmap(struct perf_tool *tool __maybe_unused, in perf_event__process_mmap()
[all …]
Dauxtrace.h24 struct perf_tool;
152 struct perf_tool *tool);
155 struct perf_tool *tool);
157 struct perf_tool *tool);
447 typedef int (*process_auxtrace_t)(struct perf_tool *tool,
453 struct perf_tool *tool, process_auxtrace_t fn);
457 struct perf_tool *tool, process_auxtrace_t fn,
551 struct perf_sample *sample, struct perf_tool *tool);
552 int auxtrace__flush_events(struct perf_session *session, struct perf_tool *tool);
654 struct perf_tool *tool __maybe_unused) in auxtrace__process_event()
[all …]
Dsynthetic-events.c48 int perf_tool__process_synth_event(struct perf_tool *tool, in perf_tool__process_synth_event()
175 pid_t perf_event__synthesize_comm(struct perf_tool *tool, in perf_event__synthesize_comm()
204 int perf_event__synthesize_namespaces(struct perf_tool *tool, in perf_event__synthesize_namespaces()
243 static int perf_event__synthesize_fork(struct perf_tool *tool, in perf_event__synthesize_fork()
276 int perf_event__synthesize_mmap_events(struct perf_tool *tool, in perf_event__synthesize_mmap_events()
416 int perf_event__synthesize_modules(struct perf_tool *tool, perf_event__handler_t process, in perf_event__synthesize_modules()
474 struct perf_tool *tool, struct machine *machine, bool mmap_data) in __event__synthesize_thread()
559 int perf_event__synthesize_thread_map(struct perf_tool *tool, in perf_event__synthesize_thread_map()
636 static int __perf_event__synthesize_threads(struct perf_tool *tool, in __perf_event__synthesize_threads()
699 struct perf_tool *tool;
[all …]
Dsession.h38 struct perf_tool *tool;
55 struct perf_tool;
58 bool repipe, struct perf_tool *tool);
73 void perf_tool__fill_defaults(struct perf_tool *tool);
Dheader.h115 struct perf_tool;
140 int perf_event__process_attr(struct perf_tool *tool, union perf_event *event,
142 int perf_event__process_event_update(struct perf_tool *tool,
Dbuild-id.h13 extern struct perf_tool build_id__mark_dso_hit_ops;
26 int build_id__mark_dso_hit(struct perf_tool *tool, union perf_event *event,
Darm-spe.c98 struct perf_tool *tool __maybe_unused) in arm_spe_process_event()
105 struct perf_tool *tool __maybe_unused) in arm_spe_process_auxtrace_event()
140 struct perf_tool *tool __maybe_unused) in arm_spe_flush()
Dsession.c101 struct perf_tool *tool,
188 bool repipe, struct perf_tool *tool) in perf_session__new()
313 static int process_event_synth_attr_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub()
322 static int process_event_synth_event_update_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_event_update_stub()
334 static int process_event_sample_stub(struct perf_tool *tool __maybe_unused, in process_event_sample_stub()
344 static int process_event_stub(struct perf_tool *tool __maybe_unused, in process_event_stub()
353 static int process_finished_round_stub(struct perf_tool *tool __maybe_unused, in process_finished_round_stub()
361 static int process_finished_round(struct perf_tool *tool,
458 void perf_tool__fill_defaults(struct perf_tool *tool) in perf_tool__fill_defaults()
986 static int process_finished_round(struct perf_tool *tool __maybe_unused, in process_finished_round()
[all …]
Dintel-bts.h25 struct perf_tool;
Dintel-pt.h34 struct perf_tool;
Dtop.h20 struct perf_tool tool;
Dintel-bts.c594 struct perf_tool *tool) in intel_bts_process_event()
637 struct perf_tool *tool __maybe_unused) in intel_bts_process_auxtrace_event()
678 struct perf_tool *tool __maybe_unused) in intel_bts_flush()
732 struct perf_tool dummy_tool;
736 static int intel_bts_event_synth(struct perf_tool *tool, in intel_bts_event_synth()
/Linux-v5.4/tools/perf/tests/shell/
Drecord+zstd_comp_decomp.sh7 perf_tool=perf
10 $perf_tool record -h 2>&1 | grep -q '\-z, \-\-compression\-level'
15 $perf_tool record -o $trace_file -g -z -F 5000 -- \
21 $perf_tool report -i $trace_file --header --stats | \
26 $perf_tool inject -i $trace_file -o $trace_file.decomp &&
27 $perf_tool report -i $trace_file --stdio | head -n -3 > $trace_file.comp.output &&
28 $perf_tool report -i $trace_file.decomp --stdio | head -n -3 > $trace_file.decomp.output &&
/Linux-v5.4/tools/perf/
Dbuiltin-inject.c35 struct perf_tool tool;
68 static int perf_event__repipe_synth(struct perf_tool *tool, in perf_event__repipe_synth()
77 static int perf_event__repipe_oe_synth(struct perf_tool *tool, in perf_event__repipe_oe_synth()
85 static int perf_event__drop_oe(struct perf_tool *tool __maybe_unused, in perf_event__drop_oe()
99 static int perf_event__repipe_attr(struct perf_tool *tool, in perf_event__repipe_attr()
141 struct perf_tool *tool = session->tool; in perf_event__repipe_auxtrace()
188 static int perf_event__repipe(struct perf_tool *tool, in perf_event__repipe()
196 static int perf_event__drop(struct perf_tool *tool __maybe_unused, in perf_event__drop()
204 static int perf_event__drop_aux(struct perf_tool *tool, in perf_event__drop_aux()
217 typedef int (*inject_handler)(struct perf_tool *tool,
[all …]
Dbuiltin-mem.c26 struct perf_tool tool;
153 dump_raw_samples(struct perf_tool *tool, in dump_raw_samples()
233 static int process_sample_event(struct perf_tool *tool, in process_sample_event()
Dbuiltin-sched.c177 struct perf_tool tool;
1478 static int process_sched_wakeup_event(struct perf_tool *tool, in process_sched_wakeup_event()
1663 static int process_sched_switch_event(struct perf_tool *tool, in process_sched_switch_event()
1689 static int process_sched_runtime_event(struct perf_tool *tool, in process_sched_runtime_event()
1702 static int perf_sched__process_fork_event(struct perf_tool *tool, in perf_sched__process_fork_event()
1719 static int process_sched_migrate_task_event(struct perf_tool *tool, in process_sched_migrate_task_event()
1732 typedef int (*tracepoint_handler)(struct perf_tool *tool,
1737 static int perf_sched__process_tracepoint_sample(struct perf_tool *tool __maybe_unused, in perf_sched__process_tracepoint_sample()
1753 static int perf_sched__process_comm(struct perf_tool *tool __maybe_unused, in perf_sched__process_comm()
2396 static int timehist_sched_wakeup_event(struct perf_tool *tool, in timehist_sched_wakeup_event()
[all …]
/Linux-v5.4/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()
45 struct perf_tool tool;
49 static int process_event_name(struct perf_tool *tool, in process_event_name()
63 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()
64 static int process_stat_event(struct perf_tool *tool __maybe_unused, in process_stat_event()
94 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()
48 static int process_event_cpus(struct perf_tool *tool __maybe_unused, in process_event_cpus()
Dthread-map.c16 struct perf_tool;
62 static int process_event(struct perf_tool *tool __maybe_unused, in process_event()
/Linux-v5.4/tools/perf/arch/x86/util/
Dtsc.c54 struct perf_tool *tool, in perf_event__synth_time_conv()
Devent.c15 int perf_event__synthesize_extra_kmaps(struct perf_tool *tool, in perf_event__synthesize_extra_kmaps()

123