| /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 | 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, 29 typedef int (*event_op2)(const struct perf_tool *tool, struct perf_session *session, 31 typedef s64 (*event_op3)(const struct perf_tool *tool, struct perf_session *session, 33 typedef int (*event_op4)(const struct perf_tool *tool, struct perf_session *session, 36 typedef int (*event_oe)(const struct perf_tool *tool, union perf_event *event, 45 struct perf_tool { struct 99 void perf_tool__init(struct perf_tool *tool, bool ordered_events); argument [all …]
|
| H A D | tool.c | 16 static int perf_session__process_compressed_event(const struct perf_tool *tool __maybe_unused, in perf_session__process_compressed_event() 83 static int process_event_synth_tracing_data_stub(const struct perf_tool *tool __maybe_unused, in process_event_synth_tracing_data_stub() 91 static int process_event_synth_attr_stub(const struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub() 99 static int process_event_synth_event_update_stub(const struct perf_tool *tool __maybe_unused, in process_event_synth_event_update_stub() 110 int process_event_sample_stub(const struct perf_tool *tool __maybe_unused, in process_event_sample_stub() 120 static int process_event_stub(const struct perf_tool *tool __maybe_unused, in process_event_stub() 129 static int process_finished_round_stub(const struct perf_tool *tool __maybe_unused, in process_finished_round_stub() 152 static s64 process_event_auxtrace_stub(const struct perf_tool *tool __maybe_unused, in process_event_auxtrace_stub() 162 static int process_event_op2_stub(const struct perf_tool *tool __maybe_unused, in process_event_op2_stub() 172 int process_event_thread_map_stub(const struct perf_tool *tool __maybe_unused, in process_event_thread_map_stub() [all …]
|
| H A D | event.h | 296 struct perf_tool; 301 int perf_event__process_comm(const struct perf_tool *tool, 305 int perf_event__process_lost(const struct perf_tool *tool, 309 int perf_event__process_lost_samples(const struct perf_tool *tool, 313 int perf_event__process_aux(const struct perf_tool *tool, 317 int perf_event__process_itrace_start(const struct perf_tool *tool, 321 int perf_event__process_aux_output_hw_id(const struct perf_tool *tool, 325 int perf_event__process_switch(const struct perf_tool *tool, 329 int perf_event__process_namespaces(const struct perf_tool *tool, 333 int perf_event__process_cgroup(const struct perf_tool *tool, [all …]
|
| H A D | auxtrace.h | 22 struct perf_tool; 207 const struct perf_tool *tool); 210 const struct perf_tool *tool); 217 const struct perf_tool *tool); 504 typedef int (*process_auxtrace_t)(const struct perf_tool *tool, 510 struct perf_env *env, const struct perf_tool *tool, 515 const struct perf_tool *tool, process_auxtrace_t fn, 611 int perf_event__process_auxtrace_info(const struct perf_tool *tool, 614 s64 perf_event__process_auxtrace(const struct perf_tool *tool, 617 int perf_event__process_auxtrace_error(const struct perf_tool *tool, [all …]
|
| H A D | session.h | 79 const struct perf_tool *tool; 106 struct perf_tool; 109 struct perf_tool *tool, 114 struct perf_tool *tool) in perf_session__new() 205 int perf_event__process_id_index(const struct perf_tool *tool, 209 int perf_event__process_finished_round(const struct perf_tool *tool,
|
| H A D | event.c | 227 int perf_event__process_comm(const struct perf_tool *tool __maybe_unused, in perf_event__process_comm() 235 int perf_event__process_namespaces(const struct perf_tool *tool __maybe_unused, in perf_event__process_namespaces() 243 int perf_event__process_cgroup(const struct perf_tool *tool __maybe_unused, in perf_event__process_cgroup() 251 int perf_event__process_lost(const struct perf_tool *tool __maybe_unused, in perf_event__process_lost() 259 int perf_event__process_aux(const struct perf_tool *tool __maybe_unused, in perf_event__process_aux() 267 int perf_event__process_itrace_start(const struct perf_tool *tool __maybe_unused, in perf_event__process_itrace_start() 275 int perf_event__process_aux_output_hw_id(const struct perf_tool *tool __maybe_unused, in perf_event__process_aux_output_hw_id() 283 int perf_event__process_lost_samples(const struct perf_tool *tool __maybe_unused, in perf_event__process_lost_samples() 291 int perf_event__process_switch(const struct perf_tool *tool __maybe_unused, in perf_event__process_switch() 299 int perf_event__process_ksymbol(const struct perf_tool *tool __maybe_unused, in perf_event__process_ksymbol() [all …]
|
| H A D | header.h | 19 struct perf_tool; 175 int perf_event__process_attr(const struct perf_tool *tool, union perf_event *event, 177 int perf_event__process_event_update(const struct perf_tool *tool, 183 int perf_event__process_tracing_data(const struct perf_tool *tool, 187 int perf_event__process_build_id(const struct perf_tool *tool,
|
| H A D | synthetic-events.c | 51 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() 428 int perf_event__synthesize_mmap_events(const struct perf_tool *tool, in perf_event__synthesize_mmap_events() 552 static int perf_event__synthesize_cgroup(const struct perf_tool *tool, in perf_event__synthesize_cgroup() 592 static int perf_event__walk_cgroup_tree(const struct perf_tool *tool, in perf_event__walk_cgroup_tree() 640 int perf_event__synthesize_cgroups(const struct perf_tool *tool, in perf_event__synthesize_cgroups() 667 int perf_event__synthesize_cgroups(const struct perf_tool *tool __maybe_unused, in perf_event__synthesize_cgroups() 676 const struct perf_tool *tool; [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 | 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 | data-convert-json.c | 36 struct perf_tool tool; 131 static void output_sample_callchain_entry(const struct perf_tool *tool, in output_sample_callchain_entry() 159 static int process_sample_event(const struct perf_tool *tool, in process_sample_event() 329 static int process_feature_event(const struct perf_tool *tool __maybe_unused, in process_feature_event()
|
| H A D | stat.h | 191 struct perf_tool; 196 int perf_event__process_stat_event(const struct perf_tool *tool,
|
| H A D | intel-bts.h | 25 struct perf_tool;
|
| H A D | session.c | 47 const struct perf_tool *tool, 141 struct perf_tool *tool, in __perf_session__new() 798 int perf_event__process_finished_round(const struct perf_tool *tool __maybe_unused, in perf_event__process_finished_round() 1252 const struct perf_tool *tool, in deliver_sample_value() 1290 const struct perf_tool *tool, in deliver_sample_group() 1314 static int evlist__deliver_sample(struct evlist *evlist, const struct perf_tool *tool, in evlist__deliver_sample() 1352 const struct perf_tool *tool, in evlist__deliver_deferred_callchain() 1406 const struct perf_tool *tool) in session__flush_deferred_samples() 1441 const struct perf_tool *tool, u64 file_offset, in machines__deliver_event() 1550 const struct perf_tool *tool, in perf_session__deliver_event() [all …]
|
| H A D | intel-pt.h | 34 struct perf_tool;
|
| H A D | top.h | 21 struct perf_tool tool;
|
| /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 | thread-map.c | 17 struct perf_tool; 63 static int process_event(const struct perf_tool *tool __maybe_unused, in process_event()
|
| /linux/tools/perf/ |
| H A D | builtin-inject.c | 81 struct perf_tool tool; 115 struct perf_tool tool; 146 static int tool__inject_build_id(const struct perf_tool *tool, 153 static int tool__inject_mmap2_build_id(const struct perf_tool *tool, 176 static int perf_event__repipe_synth(const struct perf_tool *tool, in perf_event__repipe_synth() 186 static int perf_event__repipe_oe_synth(const struct perf_tool *tool, in perf_event__repipe_oe_synth() 194 static int perf_event__drop_oe(const struct perf_tool *tool __maybe_unused, in perf_event__drop_oe() 202 static int perf_event__repipe_op2_synth(const struct perf_tool *tool, in perf_event__repipe_op2_synth() 209 static int perf_event__repipe_op4_synth(const struct perf_tool *tool, in perf_event__repipe_op4_synth() 218 static int perf_event__repipe_attr(const struct perf_tool *tool, in perf_event__repipe_attr() [all …]
|
| H A D | builtin-evlist.c | 22 static int process_header_feature(const struct perf_tool *tool __maybe_unused, in process_header_feature() 39 struct perf_tool tool; in __cmd_evlist()
|
| H A D | builtin-script.c | 145 struct perf_tool tool; 2640 static int process_sample_event(const struct perf_tool *tool, in process_sample_event() 2724 static int process_deferred_sample_event(const struct perf_tool *tool, in process_deferred_sample_event() 2815 static int process_attr(const struct perf_tool *tool, union perf_event *event, in process_attr() 2883 static int print_event_with_time(const struct perf_tool *tool, in print_event_with_time() 2919 static int print_event(const struct perf_tool *tool, union perf_event *event, in print_event() 2926 static int process_comm_event(const struct perf_tool *tool, in process_comm_event() 2938 static int process_namespaces_event(const struct perf_tool *tool, in process_namespaces_event() 2950 static int process_cgroup_event(const struct perf_tool *tool, in process_cgroup_event() 2962 static int process_fork_event(const struct perf_tool *tool, in process_fork_event() [all …]
|
| H A D | builtin-mem.c | 33 struct perf_tool tool; 181 dump_raw_samples(const struct perf_tool *tool, in dump_raw_samples() 255 static int process_sample_event(const struct perf_tool *tool, in process_sample_event()
|
| /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()
|