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

123

/linux-master/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_t process);
47 int perf_event__synthesize_attr(struct perf_tool *tool, struct perf_event_attr *attr, u32 ids, u64 *id, perf_event__handler_t process);
48 int perf_event__synthesize_build_id(struct perf_tool *tool, struct dso *pos, u16 misc, perf_event__handler_t process, struct machine *machine);
49 int perf_event__synthesize_cpu_map(struct perf_tool *tool, const struct perf_cpu_map *cpus, perf_event__handler_t process, struct machine *machine);
50 int perf_event__synthesize_event_update_cpus(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process);
51 int perf_event__synthesize_event_update_name(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process);
52 int perf_event__synthesize_event_update_scale(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process);
53 int perf_event__synthesize_event_update_unit(struct perf_tool *too
[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 Dintel-bts.h25 struct perf_tool;
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,
278 int perf_event__process_lost_samples(struct perf_tool *tool,
282 int perf_event__process_aux(struct perf_tool *tool,
286 int perf_event__process_itrace_start(struct perf_tool *tool,
290 int perf_event__process_aux_output_hw_id(struct perf_tool *tool,
294 int perf_event__process_switch(struct perf_tool *tool,
298 int perf_event__process_namespaces(struct perf_tool *tool,
302 int perf_event__process_cgroup(struct perf_tool *too
[all...]
H A Dintel-pt.h34 struct perf_tool;
H A Dsession.h46 struct perf_tool *tool;
64 struct perf_tool;
68 struct perf_tool *tool);
71 struct perf_tool *tool)
95 void perf_tool__fill_defaults(struct perf_tool *tool);
162 int perf_event__process_finished_round(struct perf_tool *tool,
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 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 Dhisi-ptt.c87 struct perf_tool *tool __maybe_unused)
94 struct perf_tool *tool __maybe_unused)
131 struct perf_tool *tool __maybe_unused)
H A Dauxtrace.h26 struct perf_tool;
211 struct perf_tool *tool);
214 struct perf_tool *tool);
221 struct perf_tool *tool);
511 typedef int (*process_auxtrace_t)(struct perf_tool *tool,
517 struct perf_tool *tool, process_auxtrace_t fn);
521 struct perf_tool *tool, process_auxtrace_t fn,
641 struct perf_sample *sample, struct perf_tool *tool);
644 int auxtrace__flush_events(struct perf_session *session, struct perf_tool *tool);
811 struct perf_tool *too
[all...]
H A Devent.c219 int perf_event__process_comm(struct perf_tool *tool __maybe_unused,
227 int perf_event__process_namespaces(struct perf_tool *tool __maybe_unused,
235 int perf_event__process_cgroup(struct perf_tool *tool __maybe_unused,
243 int perf_event__process_lost(struct perf_tool *tool __maybe_unused,
251 int perf_event__process_aux(struct perf_tool *tool __maybe_unused,
259 int perf_event__process_itrace_start(struct perf_tool *tool __maybe_unused,
267 int perf_event__process_aux_output_hw_id(struct perf_tool *tool __maybe_unused,
275 int perf_event__process_lost_samples(struct perf_tool *tool __maybe_unused,
283 int perf_event__process_switch(struct perf_tool *tool __maybe_unused,
291 int perf_event__process_ksymbol(struct perf_tool *too
[all...]
H A Dtop.h21 struct perf_tool tool;
H A Dsynthetic-events.c50 int perf_tool__process_synth_event(struct perf_tool *tool,
190 pid_t perf_event__synthesize_comm(struct perf_tool *tool,
221 int perf_event__synthesize_namespaces(struct perf_tool *tool,
260 static int perf_event__synthesize_fork(struct perf_tool *tool,
421 int perf_event__synthesize_mmap_events(struct perf_tool *tool,
545 static int perf_event__synthesize_cgroup(struct perf_tool *tool,
585 static int perf_event__walk_cgroup_tree(struct perf_tool *tool,
633 int perf_event__synthesize_cgroups(struct perf_tool *tool,
660 int perf_event__synthesize_cgroups(struct perf_tool *tool __maybe_unused,
669 struct perf_tool *too
[all...]
H A Dkvm-stat.h81 struct perf_tool tool;
H A Ddata-convert-json.c35 struct perf_tool tool;
121 static void output_sample_callchain_entry(struct perf_tool *tool,
149 static int process_sample_event(struct perf_tool *tool,
H A Dtsc.c75 struct perf_tool *tool,
/linux-master/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.decomp.output" &&
/linux-master/tools/perf/tests/
H A Devent_update.c15 static int process_event_unit(struct perf_tool *tool __maybe_unused,
28 static int process_event_scale(struct perf_tool *tool __maybe_unused,
42 struct perf_tool tool;
46 static int process_event_name(struct perf_tool *tool,
60 static int process_event_cpus(struct perf_tool *tool __maybe_unused,
H A Dstat.c24 static int process_stat_config_event(struct perf_tool *tool __maybe_unused,
65 static int process_stat_event(struct perf_tool *tool __maybe_unused,
96 static int process_stat_round_event(struct perf_tool *tool __maybe_unused,
H A Dthread-map.c17 struct perf_tool;
63 static int process_event(struct perf_tool *tool __maybe_unused,
H A Dcpumap.c14 static int process_event_mask(struct perf_tool *tool __maybe_unused,
50 static int process_event_cpus(struct perf_tool *tool __maybe_unused,
76 static int process_event_range_cpus(struct perf_tool *tool __maybe_unused,
/linux-master/tools/perf/arch/x86/util/
H A Devent.c18 struct perf_tool *tool;
68 int perf_event__synthesize_extra_kmaps(struct perf_tool *tool,
/linux-master/tools/perf/
H A Dbuiltin-evlist.c38 struct perf_tool tool = {
H A Dbuiltin-inject.c81 struct perf_tool tool;
107 struct perf_tool tool;
137 static int dso__inject_build_id(struct dso *dso, struct perf_tool *tool,
152 static int perf_event__repipe_synth(struct perf_tool *tool,
161 static int perf_event__repipe_oe_synth(struct perf_tool *tool,
169 static int perf_event__drop_oe(struct perf_tool *tool __maybe_unused,
191 static int perf_event__repipe_attr(struct perf_tool *tool,
209 static int perf_event__repipe_event_update(struct perf_tool *tool,
240 struct perf_tool *tool = session->tool;
287 static int perf_event__repipe(struct perf_tool *too
[all...]
H A Dbuiltin-mem.c30 struct perf_tool tool;
191 dump_raw_samples(struct perf_tool *tool,
265 static int process_sample_event(struct perf_tool *tool,

Completed in 323 milliseconds

123