/linux/tools/perf/util/ |
H A D | synthetic-events.h | 26 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… 48 int perf_event__synthesize_attr(const struct perf_tool *tool, struct perf_event_attr *attr, u32 ids… 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, 68 int perf_event__synthesize_cpu_map(const struct perf_tool *tool, const struct perf_cpu_map *cpus, p… 69 int perf_event__synthesize_event_update_cpus(const struct perf_tool *tool, struct evsel *evsel, per… 70 int perf_event__synthesize_event_update_name(const struct perf_tool *tool, struct evsel *evsel, per… 71 int perf_event__synthesize_event_update_scale(const struct perf_tool *tool, struct evsel *evsel, pe… [all …]
|
H A D | event.h | 265 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, 278 int perf_event__process_lost_samples(const struct perf_tool *tool, 282 int perf_event__process_aux(const struct perf_tool *tool, 286 int perf_event__process_itrace_start(const struct perf_tool *tool, 290 int perf_event__process_aux_output_hw_id(const struct perf_tool *tool, 294 int perf_event__process_switch(const struct perf_tool *tool, 298 int perf_event__process_namespaces(const struct perf_tool *tool, 302 int perf_event__process_cgroup(const struct perf_tool *tool, [all …]
|
H A D | tool.h | 14 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 D | session.h | 79 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,
|
H A D | event.c | 219 int perf_event__process_comm(const struct perf_tool *tool __maybe_unused, in perf_event__process_comm() 227 int perf_event__process_namespaces(const struct perf_tool *tool __maybe_unused, in perf_event__process_namespaces() 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() 259 int perf_event__process_itrace_start(const struct perf_tool *tool __maybe_unused, in perf_event__process_itrace_start() 267 int perf_event__process_aux_output_hw_id(const struct perf_tool *tool __maybe_unused, in perf_event__process_aux_output_hw_id() 275 int perf_event__process_lost_samples(const struct perf_tool *tool __maybe_unused, in perf_event__process_lost_samples() 283 int perf_event__process_switch(const struct perf_tool *tool __maybe_unused, in perf_event__process_switch() 291 int perf_event__process_ksymbol(const struct perf_tool *tool __maybe_unused, in perf_event__process_ksymbol() [all …]
|
H A D | tool.c | 81 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 D | synthetic-events.c | 50 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() 421 int perf_event__synthesize_mmap_events(const struct perf_tool *tool, in perf_event__synthesize_mmap_events() 545 static int perf_event__synthesize_cgroup(const struct perf_tool *tool, in perf_event__synthesize_cgroup() 585 static int perf_event__walk_cgroup_tree(const struct perf_tool *tool, in perf_event__walk_cgroup_tree() 633 int perf_event__synthesize_cgroups(const struct perf_tool *tool, in perf_event__synthesize_cgroups() 660 int perf_event__synthesize_cgroups(const struct perf_tool *tool __maybe_unused, in perf_event__synthesize_cgroups() 669 const struct perf_tool *tool; [all …]
|
H A D | auxtrace.h | 26 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 …]
|
H A D | hisi-ptt.c | 82 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 D | header.h | 129 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,
|
H A D | build-id.h | 36 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 D | intel-bts.h | 25 struct perf_tool;
|
H A D | intel-pt.h | 34 struct perf_tool;
|
H A D | data-convert-json.c | 35 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 D | top.h | 21 struct perf_tool tool;
|
H A D | session.c | 44 const struct perf_tool *tool, 138 struct perf_tool *tool, in __perf_session__new() 774 int perf_event__process_finished_round(const struct perf_tool *tool __maybe_unused, in perf_event__process_finished_round() 1170 const struct perf_tool *tool, in deliver_sample_value() 1202 const struct perf_tool *tool, in deliver_sample_group() 1224 static int evlist__deliver_sample(struct evlist *evlist, const struct perf_tool *tool, in evlist__deliver_sample() 1249 const struct perf_tool *tool, u64 file_offset, in machines__deliver_event() 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() [all …]
|
/linux/tools/perf/tests/shell/ |
H A D | record+zstd_comp_decomp.sh | 7 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/ |
H A D | event_update.c | 15 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 D | stat.c | 24 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()
|
H A D | thread-map.c | 17 struct perf_tool; 63 static int process_event(const struct perf_tool *tool __maybe_unused, in process_event()
|
H A D | cpumap.c | 14 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/ |
H A D | builtin-inject.c | 81 struct perf_tool tool; 115 struct perf_tool tool; 144 static int tool__inject_build_id(const struct perf_tool *tool, 151 static int tool__inject_mmap2_build_id(const struct perf_tool *tool, 174 static int perf_event__repipe_synth(const struct perf_tool *tool, in perf_event__repipe_synth() 184 static int perf_event__repipe_oe_synth(const struct perf_tool *tool, in perf_event__repipe_oe_synth() 192 static int perf_event__drop_oe(const struct perf_tool *tool __maybe_unused, in perf_event__drop_oe() 214 static int perf_event__repipe_attr(const struct perf_tool *tool, in perf_event__repipe_attr() 233 static int perf_event__repipe_event_update(const struct perf_tool *tool, in perf_event__repipe_event_update() 264 const struct perf_tool *tool = session->tool; in perf_event__repipe_auxtrace() [all …]
|
H A D | builtin-mem.c | 31 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()
|
H A D | builtin-evlist.c | 38 struct perf_tool tool; in __cmd_evlist()
|
/linux/tools/perf/arch/x86/util/ |
H A D | event.c | 18 const struct perf_tool *tool; 68 int perf_event__synthesize_extra_kmaps(const struct perf_tool *tool, in perf_event__synthesize_extra_kmaps()
|