/linux/tools/perf/tests/ |
H A D | hists_filter.c | 16 struct sample { struct 26 static struct sample fake_samples[] = { argument 54 struct perf_sample sample = { .period = 100, }; in add_hist_entries() local
|
H A D | hists_link.c | 17 struct sample { struct 26 static struct sample fake_common_samples[] = { argument 71 struct perf_sample sample = { .period = 1, .weight = 1, }; in add_hist_entries() local
|
H A D | hists_output.c | 17 struct sample { struct 27 static struct sample fake_samples[] = { argument 54 struct perf_sample sample = { .period = 100, }; in add_hist_entries() local
|
H A D | hists_cumulate.c | 17 struct sample { struct 26 static struct sample fake_samples[] = { argument 84 struct perf_sample sample = { .period = 1000, }; in add_hist_entries() local
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_ringbuf_map_key.c | 10 struct sample { struct 24 __type(key, struct sample); argument 38 struct sample *sample, sample_copy; in test_ringbuf_mem_map_key() local
|
H A D | test_ringbuf_multi.c | 9 struct sample { struct 10 int pid; 11 int seq; 12 long value; 13 char comm[16]; 60 struct sample *sample; in test_ringbuf() local
|
H A D | test_ringbuf.c | 10 struct sample { struct 11 int pid; 12 int seq; 13 long value; 14 char comm[16]; 43 struct sample *sample; in test_ringbuf() local
|
H A D | test_ringbuf_n.c | 14 struct sample { struct 31 struct sample *sample; in test_ringbuf_n() argument
|
H A D | test_user_ringbuf.h | 28 struct sample { struct 29 int pid; 30 int seq; 31 long value; 32 char comm[16];
|
H A D | user_ringbuf_fail.c | 10 struct sample { struct 32 const struct sample *sample; in bad_access1() argument 55 const struct sample *sample; in bad_access2() local
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | ringbuf_multi.c | 9 struct sample { struct 19 struct sample *s = data; in process_sample() argument
|
H A D | ringbuf.c | 25 struct sample { struct 46 struct sample *s = data; in process_sample() argument
|
/linux/tools/perf/arch/x86/util/ |
H A D | kvm-stat.c | 30 static void mmio_event_get_key(struct evsel *evsel, struct perf_sample *sample, in mmio_event_get_key() 42 struct perf_sample *sample, struct event_key *key) in mmio_event_begin() 58 static bool mmio_event_end(struct evsel *evsel, struct perf_sample *sample, in mmio_event_end() 93 struct perf_sample *sample, in ioport_event_get_key() 101 struct perf_sample *sample, in ioport_event_begin() 137 struct perf_sample *sample, in msr_event_get_key() 145 struct perf_sample *sample, in msr_event_begin()
|
/linux/tools/perf/ |
H A D | builtin-kwork.c | 241 struct perf_sample *sample) in atom_new() 396 struct perf_sample *sample) in profile_update_timespan() 421 struct perf_sample *sample) in profile_event_match() 452 struct perf_sample *sample, in work_push_atom() 511 struct perf_sample *sample, in work_pop_atom() 581 struct perf_sample *sample) in report_update_exit_event() 603 struct perf_sample *sample, in report_entry_event() 614 struct perf_sample *sample, in report_exit_event() 636 struct perf_sample *sample) in latency_update_entry_event() 658 struct perf_sample *sample, in latency_raise_event() [all …]
|
H A D | builtin-timechart.c | 286 struct cpu_sample *sample; in pid_put_sample() local 493 struct perf_sample *sample, in cat_backtrace() 576 struct perf_sample *sample, in process_sample_event() 601 struct perf_sample *sample, in process_sample_cpu_idle() 617 struct perf_sample *sample, in process_sample_cpu_frequency() 630 struct perf_sample *sample, in process_sample_sched_wakeup() 644 struct perf_sample *sample, in process_sample_sched_switch() 660 struct perf_sample *sample, in process_sample_power_start() 673 struct perf_sample *sample, in process_sample_power_end() 683 struct perf_sample *sample, in process_sample_power_frequency() [all …]
|
H A D | builtin-script.c | 795 static int perf_sample__fprintf_iregs(struct perf_sample *sample, in perf_sample__fprintf_iregs() 805 static int perf_sample__fprintf_uregs(struct perf_sample *sample, in perf_sample__fprintf_uregs() 816 struct perf_sample *sample, in perf_sample__fprintf_start() 976 static int perf_sample__fprintf_brstack(struct perf_sample *sample, in perf_sample__fprintf_brstack() 1015 static int perf_sample__fprintf_brstacksym(struct perf_sample *sample, in perf_sample__fprintf_brstacksym() 1053 static int perf_sample__fprintf_brstackoff(struct perf_sample *sample, in perf_sample__fprintf_brstackoff() 1351 static int perf_sample__fprintf_brstackinsn(struct perf_sample *sample, in perf_sample__fprintf_brstackinsn() 1513 static int perf_sample__fprintf_addr(struct perf_sample *sample, in perf_sample__fprintf_addr() 1541 static const char *resolve_branch_sym(struct perf_sample *sample, in resolve_branch_sym() 1570 static int perf_sample__fprintf_callindent(struct perf_sample *sample, in perf_sample__fprintf_callindent() [all …]
|
H A D | builtin-inject.c | 48 struct perf_sample sample; member 329 struct perf_sample *sample, in perf_event__drop_aux() 343 struct perf_sample *sample) in perf_inject__cut_auxtrace_sample() 376 struct perf_sample *sample, in perf_event__repipe_sample() 468 struct perf_sample *sample, in perf_event__repipe_common_mmap() 573 struct perf_sample *sample, in perf_event__repipe_mmap() 587 struct perf_sample *sample, in perf_event__repipe_mmap2() 614 struct perf_sample *sample, in perf_event__repipe_fork() 627 struct perf_sample *sample, in perf_event__repipe_comm() 640 struct perf_sample *sample, in perf_event__repipe_namespaces() [all …]
|
H A D | builtin-lock.c | 557 struct perf_sample *sample) in get_key_by_aggr_mode() 567 struct perf_sample *sample) in report_lock_acquire_event() 642 struct perf_sample *sample) in report_lock_acquired_event() 708 struct perf_sample *sample) in report_lock_contended_event() 766 struct perf_sample *sample) in report_lock_release_event() 844 static int lock_contention_caller(struct evsel *evsel, struct perf_sample *sample, in lock_contention_caller() 899 static u64 callchain_id(struct evsel *evsel, struct perf_sample *sample) in callchain_id() 945 static u64 *get_callstack(struct perf_sample *sample, int max_stack) in get_callstack() 967 struct perf_sample *sample) in report_lock_contention_begin_event() 1131 struct perf_sample *sample) in report_lock_contention_end_event() [all …]
|
/linux/tools/perf/util/ |
H A D | event.c | 226 struct perf_sample *sample, in perf_event__process_comm() 234 struct perf_sample *sample, in perf_event__process_namespaces() 242 struct perf_sample *sample, in perf_event__process_cgroup() 250 struct perf_sample *sample, in perf_event__process_lost() 282 struct perf_sample *sample, in perf_event__process_lost_samples() 306 struct perf_sample *sample, in perf_event__process_bpf() 314 struct perf_sample *sample, in perf_event__process_text_poke() 397 struct perf_sample *sample, in perf_event__process_mmap() 405 struct perf_sample *sample, in perf_event__process_mmap2() 420 struct perf_sample *sample, in perf_event__process_fork() [all …]
|
H A D | amd-sample-raw.c | 235 static void amd_dump_ibs_op(struct perf_sample *sample) in amd_dump_ibs_op() 266 static void amd_dump_ibs_fetch(struct perf_sample *sample) in amd_dump_ibs_fetch() 283 static bool is_valid_ibs_fetch_sample(struct perf_sample *sample) in is_valid_ibs_fetch_sample() 294 static bool is_valid_ibs_op_sample(struct perf_sample *sample) in is_valid_ibs_op_sample() 310 struct perf_sample *sample) in evlist__amd_sample_raw()
|
H A D | intel-pt.c | 291 struct perf_sample *sample) in intel_pt_dump_sample() 1238 struct perf_sample *sample) in intel_pt_add_callchain() 1276 struct perf_sample *sample) in intel_pt_add_br_stack() 1689 struct perf_sample *sample) in intel_pt_prep_a_sample() 1715 struct perf_sample *sample) in intel_pt_prep_b_sample() 1732 struct perf_sample *sample, u64 type) in intel_pt_inject_event() 1740 struct perf_sample *sample, u64 type) in intel_pt_opt_inject() 1750 struct perf_sample *sample, u64 type) in intel_pt_deliver_synth_event() 1769 struct perf_sample sample; in intel_pt_synth_branch_sample() local 1822 struct perf_sample *sample) in intel_pt_prep_sample() [all …]
|
/linux/tools/perf/arch/s390/util/ |
H A D | kvm-stat.c | 27 struct perf_sample *sample, in event_icpt_insn_get_key() 38 struct perf_sample *sample, in event_sigp_get_key() 46 struct perf_sample *sample, in event_diag_get_key() 54 struct perf_sample *sample, in event_icpt_prog_get_key()
|
/linux/tools/testing/selftests/timers/ |
H A D | freq-step.c | 32 struct sample { struct 48 static double get_sample(struct sample *sample) in get_sample() 206 struct sample sample; in init_test() local
|
/linux/tools/perf/scripts/python/ |
H A D | intel-pt-events.py | 231 def common_start_str(comm, sample): argument 243 def print_common_start(comm, sample, name): argument 253 def print_instructions_start(comm, sample): argument 266 def print_common_ip(param_dict, sample, symbol, dso): argument 299 def print_srccode(comm, param_dict, sample, symbol, dso, with_insn): argument
|
/linux/drivers/media/rc/ |
H A D | bpf-lirc.c | 20 BPF_CALL_1(bpf_rc_repeat, u32*, sample) in BPF_CALL_1() argument 38 BPF_CALL_4(bpf_rc_keydown, u32*, sample, u32, protocol, u64, scancode, in BPF_CALL_4() argument 60 BPF_CALL_3(bpf_rc_pointer_rel, u32*, sample, s32, rel_x, s32, rel_y) in BPF_CALL_3() argument 213 void lirc_bpf_run(struct rc_dev *rcdev, u32 sample) in lirc_bpf_run()
|