Home
last modified time | relevance | path

Searched defs:sample (Results 1 – 25 of 88) sorted by relevance

1234

/tools/perf/tests/
Dhists_filter.c15 struct sample { struct
25 static struct sample fake_samples[] = { argument
53 struct perf_sample sample = { .period = 100, }; in add_hist_entries() local
Dhists_link.c15 struct sample { struct
24 static struct sample fake_common_samples[] = { argument
69 struct perf_sample sample = { .period = 1, .weight = 1, }; in add_hist_entries() local
Dhists_output.c17 struct sample { struct
27 static struct sample fake_samples[] = { argument
54 struct perf_sample sample = { .period = 100, }; in add_hist_entries() local
Dhists_cumulate.c17 struct sample { struct
26 static struct sample fake_samples[] = { argument
84 struct perf_sample sample = { .period = 1000, }; in add_hist_entries() local
/tools/testing/selftests/bpf/progs/
Dtest_ringbuf_multi.c9 struct sample { struct
10 int pid;
11 int seq;
12 long value;
13 char comm[16];
48 struct sample *sample; in test_ringbuf() local
Dtest_ringbuf.c9 struct sample { struct
10 int pid;
11 int seq;
12 long value;
13 char comm[16];
43 struct sample *sample; in test_ringbuf() local
/tools/testing/selftests/bpf/prog_tests/
Dringbuf_multi.c9 struct sample { struct
19 struct sample *s = data; in process_sample() argument
Dringbuf.c21 struct sample { struct
42 struct sample *s = data; in process_sample() argument
/tools/perf/arch/s390/util/
Dkvm-stat.c28 struct perf_sample *sample, in event_icpt_insn_get_key()
39 struct perf_sample *sample, in event_sigp_get_key()
47 struct perf_sample *sample, in event_diag_get_key()
55 struct perf_sample *sample, in event_icpt_prog_get_key()
/tools/perf/arch/x86/util/
Dkvm-stat.c31 static void mmio_event_get_key(struct evsel *evsel, struct perf_sample *sample, in mmio_event_get_key()
43 struct perf_sample *sample, struct event_key *key) in mmio_event_begin()
59 static bool mmio_event_end(struct evsel *evsel, struct perf_sample *sample, in mmio_event_end()
94 struct perf_sample *sample, in ioport_event_get_key()
102 struct perf_sample *sample, in ioport_event_begin()
/tools/perf/util/
Devent.c194 struct perf_sample *sample, in perf_event__process_comm()
202 struct perf_sample *sample, in perf_event__process_namespaces()
210 struct perf_sample *sample, in perf_event__process_cgroup()
218 struct perf_sample *sample, in perf_event__process_lost()
242 struct perf_sample *sample, in perf_event__process_lost_samples()
266 struct perf_sample *sample, in perf_event__process_bpf()
274 struct perf_sample *sample, in perf_event__process_text_poke()
338 struct perf_sample *sample, in perf_event__process_mmap()
346 struct perf_sample *sample, in perf_event__process_mmap2()
361 struct perf_sample *sample, in perf_event__process_fork()
[all …]
Ds390-sample-raw.c46 static bool s390_cpumcfdg_testctr(struct perf_sample *sample) in s390_cpumcfdg_testctr()
156 static void s390_cpumcfdg_dump(struct perf_sample *sample) in s390_cpumcfdg_dump()
201 struct perf_sample *sample) in perf_evlist__s390_sample_raw()
Dintel-pt.c243 struct perf_sample *sample) in intel_pt_dump_sample()
946 struct perf_sample *sample) in intel_pt_add_callchain()
984 struct perf_sample *sample) in intel_pt_add_br_stack()
1297 struct perf_sample *sample) in intel_pt_prep_a_sample()
1312 struct perf_sample *sample) in intel_pt_prep_b_sample()
1329 struct perf_sample *sample, u64 type) in intel_pt_inject_event()
1337 struct perf_sample *sample, u64 type) in intel_pt_opt_inject()
1347 struct perf_sample *sample, u64 type) in intel_pt_deliver_synth_event()
1366 struct perf_sample sample = { .ip = 0, }; in intel_pt_synth_branch_sample() local
1415 struct perf_sample *sample) in intel_pt_prep_sample()
[all …]
Dsession.c1055 static void callchain__lbr_callstack_printf(struct perf_sample *sample) in callchain__lbr_callstack_printf()
1104 struct perf_sample *sample) in callchain__printf()
1119 static void branch_stack__printf(struct perf_sample *sample, bool callstack) in branch_stack__printf()
1185 static void regs_user__printf(struct perf_sample *sample) in regs_user__printf()
1193 static void regs_intr__printf(struct perf_sample *sample) in regs_intr__printf()
1209 struct perf_sample *sample) in perf_evlist__print_tstamp()
1226 static void sample_read__printf(struct perf_sample *sample, u64 read_format) in sample_read__printf()
1257 u64 file_offset, struct perf_sample *sample) in dump_event()
1277 struct perf_sample *sample) in dump_sample()
1349 struct perf_sample *sample) in machines__find_for_cpumode()
[all …]
/tools/perf/
Dbuiltin-inject.c228 struct perf_sample *sample, in perf_event__drop_aux()
242 struct perf_sample *sample) in perf_inject__cut_auxtrace_sample()
269 struct perf_sample *sample, in perf_event__repipe_sample()
291 struct perf_sample *sample, in perf_event__repipe_mmap()
305 struct perf_sample *sample, in perf_event__jit_repipe_mmap()
373 struct perf_sample *sample, in perf_event__repipe_buildid_mmap()
392 struct perf_sample *sample, in perf_event__repipe_mmap2()
406 struct perf_sample *sample, in perf_event__jit_repipe_mmap2()
430 struct perf_sample *sample, in perf_event__repipe_buildid_mmap2()
458 struct perf_sample *sample, in perf_event__repipe_fork()
[all …]
Dbuiltin-timechart.c273 struct cpu_sample *sample; in pid_put_sample() local
474 struct perf_sample *sample, in cat_backtrace()
554 struct perf_sample *sample, in process_sample_event()
579 struct perf_sample *sample, in process_sample_cpu_idle()
595 struct perf_sample *sample, in process_sample_cpu_frequency()
608 struct perf_sample *sample, in process_sample_sched_wakeup()
622 struct perf_sample *sample, in process_sample_sched_switch()
638 struct perf_sample *sample, in process_sample_power_start()
651 struct perf_sample *sample, in process_sample_power_end()
661 struct perf_sample *sample, in process_sample_power_frequency()
[all …]
Dbuiltin-script.c677 static int perf_sample__fprintf_iregs(struct perf_sample *sample, in perf_sample__fprintf_iregs()
684 static int perf_sample__fprintf_uregs(struct perf_sample *sample, in perf_sample__fprintf_uregs()
692 struct perf_sample *sample, in perf_sample__fprintf_start()
816 static int perf_sample__fprintf_brstack(struct perf_sample *sample, in perf_sample__fprintf_brstack()
864 static int perf_sample__fprintf_brstacksym(struct perf_sample *sample, in perf_sample__fprintf_brstacksym()
910 static int perf_sample__fprintf_brstackoff(struct perf_sample *sample, in perf_sample__fprintf_brstackoff()
1136 static int perf_sample__fprintf_brstackinsn(struct perf_sample *sample, in perf_sample__fprintf_brstackinsn()
1277 static int perf_sample__fprintf_addr(struct perf_sample *sample, in perf_sample__fprintf_addr()
1306 static const char *resolve_branch_sym(struct perf_sample *sample, in resolve_branch_sym()
1335 static int perf_sample__fprintf_callindent(struct perf_sample *sample, in perf_sample__fprintf_callindent()
[all …]
Dbuiltin-annotate.c130 struct perf_sample *sample) in process_branch_stack()
162 struct perf_sample *sample = iter->sample; in hist_iter__branch_callback() local
179 struct perf_sample *sample, in process_branch_callback()
215 static int evsel__add_sample(struct evsel *evsel, struct perf_sample *sample, in evsel__add_sample()
261 struct perf_sample *sample, in process_sample_event()
Dbuiltin-lock.c401 struct perf_sample *sample) in report_lock_acquire_event()
473 struct perf_sample *sample) in report_lock_acquired_event()
536 struct perf_sample *sample) in report_lock_contended_event()
591 struct perf_sample *sample) in report_lock_release_event()
660 static int evsel__process_lock_acquire(struct evsel *evsel, struct perf_sample *sample) in evsel__process_lock_acquire()
667 static int evsel__process_lock_acquired(struct evsel *evsel, struct perf_sample *sample) in evsel__process_lock_acquired()
674 static int evsel__process_lock_contended(struct evsel *evsel, struct perf_sample *sample) in evsel__process_lock_contended()
681 static int evsel__process_lock_release(struct evsel *evsel, struct perf_sample *sample) in evsel__process_lock_release()
811 struct perf_sample *sample, in process_sample_event()
/tools/testing/selftests/timers/
Dfreq-step.c32 struct sample { struct
48 static double get_sample(struct sample *sample) in get_sample()
206 struct sample sample; in init_test() local
/tools/perf/arch/arm/tests/
Ddwarf-unwind.c13 static int sample_ustack(struct perf_sample *sample, in sample_ustack()
45 int test__arch_unwind_sample(struct perf_sample *sample, in test__arch_unwind_sample()
/tools/perf/arch/x86/tests/
Ddwarf-unwind.c14 static int sample_ustack(struct perf_sample *sample, in sample_ustack()
53 int test__arch_unwind_sample(struct perf_sample *sample, in test__arch_unwind_sample()
/tools/perf/arch/arm64/tests/
Ddwarf-unwind.c13 static int sample_ustack(struct perf_sample *sample, in sample_ustack()
45 int test__arch_unwind_sample(struct perf_sample *sample, in test__arch_unwind_sample()
/tools/perf/arch/powerpc/tests/
Ddwarf-unwind.c14 static int sample_ustack(struct perf_sample *sample, in sample_ustack()
46 int test__arch_unwind_sample(struct perf_sample *sample, in test__arch_unwind_sample()
/tools/perf/scripts/python/
Dintel-pt-events.py80 def print_common_start(comm, sample, name): argument
89 def print_common_ip(sample, symbol, dso): argument

1234