/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 | 276 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, 289 int perf_event__process_lost_samples(const struct perf_tool *tool, 293 int perf_event__process_aux(const struct perf_tool *tool, 297 int perf_event__process_itrace_start(const struct perf_tool *tool, 301 int perf_event__process_aux_output_hw_id(const struct perf_tool *tool, 305 int perf_event__process_switch(const struct perf_tool *tool, 309 int perf_event__process_namespaces(const struct perf_tool *tool, 313 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 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,
|
H A D | event.c | 224 int perf_event__process_comm(const struct perf_tool *tool __maybe_unused, in perf_event__process_comm() 232 int perf_event__process_namespaces(const struct perf_tool *tool __maybe_unused, in perf_event__process_namespaces() 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() 264 int perf_event__process_itrace_start(const struct perf_tool *tool __maybe_unused, in perf_event__process_itrace_start() 272 int perf_event__process_aux_output_hw_id(const struct perf_tool *tool __maybe_unused, in perf_event__process_aux_output_hw_id() 280 int perf_event__process_lost_samples(const struct perf_tool *tool __maybe_unused, in perf_event__process_lost_samples() 288 int perf_event__process_switch(const struct perf_tool *tool __maybe_unused, in perf_event__process_switch() 296 int perf_event__process_ksymbol(const struct perf_tool *tool __maybe_unused, in perf_event__process_ksymbol() [all …]
|
H A D | tool.c | 91 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()
|
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() 208 int perf_event__process_finished_round(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 | auxtrace.h | 27 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 …]
|
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 | 19 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,
|
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 | 46 const struct perf_tool *tool, 140 struct perf_tool *tool, in __perf_session__new() 780 int perf_event__process_finished_round(const struct perf_tool *tool __maybe_unused, in perf_event__process_finished_round() 1186 const struct perf_tool *tool, in deliver_sample_value() 1224 const struct perf_tool *tool, in deliver_sample_group() 1248 static int evlist__deliver_sample(struct evlist *evlist, const struct perf_tool *tool, in evlist__deliver_sample() 1275 const struct perf_tool *tool, u64 file_offset, in machines__deliver_event() 1364 const struct perf_tool *tool, in perf_session__deliver_event() 1402 const struct perf_tool *tool = session->tool; in perf_session__process_user_event() 1515 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…
|
H A D | stat+event_uniquifying.sh | 8 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"
|
/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; 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 | 32 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()
|
H A D | builtin-script.c | 145 struct perf_tool tool; 2403 static int process_sample_event(const struct perf_tool *tool, in process_sample_event() 2490 static int process_attr(const struct perf_tool *tool, union perf_event *event, in process_attr() 2556 static int print_event_with_time(const struct perf_tool *tool, in print_event_with_time() 2592 static int print_event(const struct perf_tool *tool, union perf_event *event, in print_event() 2599 static int process_comm_event(const struct perf_tool *tool, in process_comm_event() 2611 static int process_namespaces_event(const struct perf_tool *tool, in process_namespaces_event() 2623 static int process_cgroup_event(const struct perf_tool *tool, in process_cgroup_event() 2635 static int process_fork_event(const struct perf_tool *tool, in process_fork_event() 2647 static int process_exit_event(const struct perf_tool *tool, in process_exit_event() [all …]
|
H A D | builtin-sched.c | 166 struct perf_tool tool; 1514 static int process_sched_wakeup_event(const struct perf_tool *tool, in process_sched_wakeup_event() 1527 static int process_sched_wakeup_ignore(const struct perf_tool *tool __maybe_unused, in process_sched_wakeup_ignore() 1797 static int process_sched_switch_event(const struct perf_tool *tool, in process_sched_switch_event() 1823 static int process_sched_runtime_event(const struct perf_tool *tool, in process_sched_runtime_event() 1836 static int perf_sched__process_fork_event(const struct perf_tool *tool, in perf_sched__process_fork_event() 1853 static int process_sched_migrate_task_event(const struct perf_tool *tool, in process_sched_migrate_task_event() 1866 typedef int (*tracepoint_handler)(const struct perf_tool *tool, 1871 static int perf_sched__process_tracepoint_sample(const struct perf_tool *tool __maybe_unused, in perf_sched__process_tracepoint_sample() 1887 static int perf_sched__process_comm(const struct perf_tool *tool __maybe_unused, in perf_sched__process_comm() [all …]
|
/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()
|