| /linux/tools/bpf/bpftool/ |
| H A D | map_perf_ring.c | 77 if (e->header.type == PERF_RECORD_SAMPLE) { in print_bpf_output() 93 if (e->header.type == PERF_RECORD_SAMPLE) { in print_bpf_output()
|
| /linux/tools/testing/selftests/user_events/ |
| H A D | perf_test.c | 203 ASSERT_EQ(PERF_RECORD_SAMPLE, *val); in TEST_F() 262 ASSERT_EQ(PERF_RECORD_SAMPLE, *val); in TEST_F()
|
| /linux/tools/perf/tests/ |
| H A D | sw-clock.c | 109 if (event->header.type != PERF_RECORD_SAMPLE) in __test__sw_clock_freq()
|
| H A D | openat-syscall-tp-fields.c | 108 if (type != PERF_RECORD_SAMPLE) { in test__syscall_openat_tp_fields()
|
| H A D | backward-ring-buffer.c | 46 case PERF_RECORD_SAMPLE: in count_samples()
|
| H A D | perf-record.c | 293 case PERF_RECORD_SAMPLE: in test__PERF_RECORD()
|
| H A D | mmap-basic.c | 134 if (event->header.type != PERF_RECORD_SAMPLE) { in test__basic_mmap()
|
| H A D | sample-parsing.c | 353 event->header.type = PERF_RECORD_SAMPLE; in do_test()
|
| H A D | dlfilter-test.c | 189 event->header.type = PERF_RECORD_SAMPLE; in write_sample()
|
| H A D | switch-tracking.c | 187 if (event->header.type == PERF_RECORD_SAMPLE) in process_event()
|
| H A D | code-reading.c | 567 if (event->header.type == PERF_RECORD_SAMPLE) in process_event()
|
| /linux/tools/testing/selftests/bpf/benchs/ |
| H A D | bench_ringbufs.c | 435 case PERF_RECORD_SAMPLE: in perfbuf_libbpf_consumer() 561 if (ehdr->type == PERF_RECORD_SAMPLE)
|
| /linux/tools/perf/ |
| H A D | builtin-top.c | 1136 if (event->header.type != PERF_RECORD_SAMPLE) in should_drop() 1173 if (event->header.type == PERF_RECORD_SAMPLE) { in deliver_event() 1207 if (event->header.type == PERF_RECORD_SAMPLE) in deliver_event() 1213 if (event->header.type == PERF_RECORD_SAMPLE) { in deliver_event() 1472 * ring buffer just for metadata events, while PERF_RECORD_SAMPLE in cmd_top()
|
| /linux/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
| H A D | misc.c | 215 * PERF_RECORD_SAMPLE: in __event_read_samples() 243 if (header->type == PERF_RECORD_SAMPLE) { in __event_read_samples() 291 * PERF_RECORD_SAMPLE and PERF_SAMPLE_BRANCH_STACK: in get_intr_regs()
|
| /linux/tools/perf/util/ |
| H A D | session.c | 1180 [PERF_RECORD_SAMPLE] = perf_event__all64_swap, in dump_deferred_callchain() 1494 if (event->header.type != PERF_RECORD_SAMPLE && in machines__deliver_event() 1552 if (event->header.type == PERF_RECORD_SAMPLE && evlist__trace_event_sample_raw(evlist)) in perf_session__deliver_event() 1983 case PERF_RECORD_SAMPLE: in perf_session__warn_about_errors() 2179 * data: PERF_RECORD_SAMPLE always has it when PERF_SAMPLE_CPU in prefetch_event() 2185 (event->header.type == PERF_RECORD_SAMPLE || in prefetch_event() 2597 * PERF_RECORD_SAMPLE is omitted: all64_swap is bounded by in __perf_session__process_dir_events() 3020 (double) (stats->nr_events[PERF_RECORD_SAMPLE] + stats->total_lost_samples); in perf_session__e_machine() 3023 stats->nr_events[PERF_RECORD_SAMPLE] + stats->total_lost_samples, in perf_session__e_machine() 3078 stats->nr_events[PERF_RECORD_SAMPLE]); [all...] |
| H A D | amd-sample-raw.c | 372 /* AMD vendor specific raw sample function. Check for PERF_RECORD_SAMPLE events in evlist__has_amd_ibs() 381 if (event->header.type != PERF_RECORD_SAMPLE || !sample->raw_size) in evlist__has_amd_ibs()
|
| H A D | s390-sample-raw.c | 322 /* S390 specific trace event function. Check for PERF_RECORD_SAMPLE events 339 if (event->header.type != PERF_RECORD_SAMPLE) in evlist__s390_sample_raw()
|
| H A D | s390-cpumsf.c | 533 event.sample.header.type = PERF_RECORD_SAMPLE; in s390_cpumsf_make_event() 935 if (event->header.type == PERF_RECORD_SAMPLE && in s390_cpumsf_process_event()
|
| H A D | bpf_off_cpu.c | 331 .type = PERF_RECORD_SAMPLE, in off_cpu_write()
|
| H A D | powerpc-vpadtl.c | 200 event.sample.header.type = PERF_RECORD_SAMPLE; in powerpc_vpadtl_sample()
|
| /linux/tools/include/uapi/linux/ |
| H A D | perf_event.h | 1059 PERF_RECORD_SAMPLE = 9, enumerator
|
| /linux/tools/perf/bench/ |
| H A D | inject-buildid.c | 229 event.header.type = PERF_RECORD_SAMPLE; in synthesize_sample()
|
| /linux/include/uapi/linux/ |
| H A D | perf_event.h | 1100 PERF_RECORD_SAMPLE = 9, enumerator
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-amd-ibs.txt | 130 /* Look for PERF_RECORD_SAMPLE */
|
| /linux/tools/perf/arch/x86/tests/ |
| H A D | amd-ibs-period.c | 197 * PERF_RECORD_SAMPLE: in rb_drain_samples() 207 if (hdr.type == PERF_RECORD_SAMPLE) { in rb_drain_samples()
|