sample_type 560 arch/powerpc/perf/core-book3s.c event->attr.sample_type || sample_type 2088 arch/powerpc/perf/core-book3s.c if (event->attr.sample_type & sample_type 2092 arch/powerpc/perf/core-book3s.c if (event->attr.sample_type & PERF_SAMPLE_BRANCH_STACK) { sample_type 2099 arch/powerpc/perf/core-book3s.c if (event->attr.sample_type & PERF_SAMPLE_DATA_SRC && sample_type 2103 arch/powerpc/perf/core-book3s.c if (event->attr.sample_type & PERF_SAMPLE_WEIGHT && sample_type 249 arch/s390/kernel/perf_cpum_cf_diag.c attr->sample_type, atomic_read(&cf_diag_events)); sample_type 261 arch/s390/kernel/perf_cpum_cf_diag.c !(attr->sample_type & (PERF_SAMPLE_CPU | PERF_SAMPLE_RAW))) { sample_type 500 arch/s390/kernel/perf_cpum_cf_diag.c if (event->attr.sample_type & PERF_SAMPLE_CPU) sample_type 502 arch/s390/kernel/perf_cpum_cf_diag.c if (event->attr.sample_type & PERF_SAMPLE_RAW) { sample_type 513 arch/s390/kernel/perf_cpum_cf_diag.c event->attr.sample_type, raw.size, overflow); sample_type 879 arch/s390/kernel/perf_cpum_sf.c if (event->attr.sample_type & PERF_SAMPLE_TID) sample_type 616 arch/x86/events/amd/ibs.c if (event->attr.sample_type & PERF_SAMPLE_RAW) sample_type 629 arch/x86/events/amd/ibs.c if (event->attr.sample_type & PERF_SAMPLE_RAW) { sample_type 654 arch/x86/events/amd/ibs.c if (event->attr.sample_type & PERF_SAMPLE_RAW) { sample_type 3274 arch/x86/events/intel/core.c if (!(event->attr.sample_type & sample_type 3281 arch/x86/events/intel/core.c if (event->attr.sample_type & PERF_SAMPLE_CALLCHAIN) sample_type 3282 arch/x86/events/intel/core.c event->attr.sample_type |= __PERF_SAMPLE_CALLCHAIN_EARLY; sample_type 968 arch/x86/events/intel/ds.c u64 sample_type = attr->sample_type; sample_type 972 arch/x86/events/intel/ds.c if (!(sample_type & ~(PERF_SAMPLE_IP|PERF_SAMPLE_TIME)) && sample_type 976 arch/x86/events/intel/ds.c if (sample_type & PERF_PEBS_MEMINFO_TYPE) sample_type 985 arch/x86/events/intel/ds.c gprs = (sample_type & PERF_SAMPLE_REGS_INTR) && sample_type 988 arch/x86/events/intel/ds.c tsx_weight = (sample_type & PERF_SAMPLE_WEIGHT) && sample_type 995 arch/x86/events/intel/ds.c if ((sample_type & PERF_SAMPLE_REGS_INTR) && sample_type 999 arch/x86/events/intel/ds.c if (sample_type & PERF_SAMPLE_BRANCH_STACK) { sample_type 1350 arch/x86/events/intel/ds.c u64 sample_type; sample_type 1356 arch/x86/events/intel/ds.c sample_type = event->attr.sample_type; sample_type 1366 arch/x86/events/intel/ds.c if (fll && (sample_type & PERF_SAMPLE_WEIGHT)) sample_type 1372 arch/x86/events/intel/ds.c if (sample_type & PERF_SAMPLE_DATA_SRC) sample_type 1381 arch/x86/events/intel/ds.c if (sample_type & PERF_SAMPLE_CALLCHAIN) sample_type 1400 arch/x86/events/intel/ds.c if (sample_type & PERF_SAMPLE_REGS_INTR) { sample_type 1453 arch/x86/events/intel/ds.c if ((sample_type & (PERF_SAMPLE_ADDR | PERF_SAMPLE_PHYS_ADDR)) && sample_type 1459 arch/x86/events/intel/ds.c if ((sample_type & PERF_SAMPLE_WEIGHT) && !fll) sample_type 1462 arch/x86/events/intel/ds.c if (sample_type & PERF_SAMPLE_TRANSACTION) sample_type 1516 arch/x86/events/intel/ds.c u64 sample_type; sample_type 1528 arch/x86/events/intel/ds.c sample_type = event->attr.sample_type; sample_type 1542 arch/x86/events/intel/ds.c if (sample_type & PERF_SAMPLE_CALLCHAIN) sample_type 1569 arch/x86/events/intel/ds.c if (sample_type & PERF_SAMPLE_REGS_INTR) sample_type 1574 arch/x86/events/intel/ds.c if (sample_type & PERF_SAMPLE_WEIGHT) sample_type 1578 arch/x86/events/intel/ds.c if (sample_type & PERF_SAMPLE_DATA_SRC) sample_type 1581 arch/x86/events/intel/ds.c if (sample_type & (PERF_SAMPLE_ADDR | PERF_SAMPLE_PHYS_ADDR)) sample_type 1584 arch/x86/events/intel/ds.c if (sample_type & PERF_SAMPLE_TRANSACTION) sample_type 175 drivers/cpufreq/cpufreq_ondemand.c int sample_type = dbs_info->sample_type; sample_type 178 drivers/cpufreq/cpufreq_ondemand.c dbs_info->sample_type = OD_NORMAL_SAMPLE; sample_type 183 drivers/cpufreq/cpufreq_ondemand.c if (sample_type == OD_SUB_SAMPLE && policy_dbs->sample_delay_ns > 0) { sample_type 193 drivers/cpufreq/cpufreq_ondemand.c dbs_info->sample_type = OD_SUB_SAMPLE; sample_type 392 drivers/cpufreq/cpufreq_ondemand.c dbs_info->sample_type = OD_NORMAL_SAMPLE; sample_type 16 drivers/cpufreq/cpufreq_ondemand.h unsigned int sample_type:1; sample_type 1277 include/linux/perf_event.h return event->attr.sample_type & PERF_SAMPLE_BRANCH_STACK; sample_type 332 include/uapi/linux/perf_event.h __u64 sample_type; sample_type 179 include/uapi/sound/skl-tplg-interface.h __u32 sample_type; sample_type 1732 kernel/events/core.c static void __perf_event_header_size(struct perf_event *event, u64 sample_type) sample_type 1737 kernel/events/core.c if (sample_type & PERF_SAMPLE_IP) sample_type 1740 kernel/events/core.c if (sample_type & PERF_SAMPLE_ADDR) sample_type 1743 kernel/events/core.c if (sample_type & PERF_SAMPLE_PERIOD) sample_type 1746 kernel/events/core.c if (sample_type & PERF_SAMPLE_WEIGHT) sample_type 1749 kernel/events/core.c if (sample_type & PERF_SAMPLE_READ) sample_type 1752 kernel/events/core.c if (sample_type & PERF_SAMPLE_DATA_SRC) sample_type 1755 kernel/events/core.c if (sample_type & PERF_SAMPLE_TRANSACTION) sample_type 1758 kernel/events/core.c if (sample_type & PERF_SAMPLE_PHYS_ADDR) sample_type 1772 kernel/events/core.c __perf_event_header_size(event, event->attr.sample_type); sample_type 1778 kernel/events/core.c u64 sample_type = event->attr.sample_type; sample_type 1781 kernel/events/core.c if (sample_type & PERF_SAMPLE_TID) sample_type 1784 kernel/events/core.c if (sample_type & PERF_SAMPLE_TIME) sample_type 1787 kernel/events/core.c if (sample_type & PERF_SAMPLE_IDENTIFIER) sample_type 1790 kernel/events/core.c if (sample_type & PERF_SAMPLE_ID) sample_type 1793 kernel/events/core.c if (sample_type & PERF_SAMPLE_STREAM_ID) sample_type 1796 kernel/events/core.c if (sample_type & PERF_SAMPLE_CPU) sample_type 1809 kernel/events/core.c __perf_event_header_size(event, event->attr.sample_type & ~PERF_SAMPLE_READ); sample_type 4563 kernel/events/core.c if (event->attr.sample_type & PERF_SAMPLE_CALLCHAIN) sample_type 6194 kernel/events/core.c u64 sample_type = event->attr.sample_type; sample_type 6196 kernel/events/core.c data->type = sample_type; sample_type 6199 kernel/events/core.c if (sample_type & PERF_SAMPLE_TID) { sample_type 6205 kernel/events/core.c if (sample_type & PERF_SAMPLE_TIME) sample_type 6208 kernel/events/core.c if (sample_type & (PERF_SAMPLE_ID | PERF_SAMPLE_IDENTIFIER)) sample_type 6211 kernel/events/core.c if (sample_type & PERF_SAMPLE_STREAM_ID) sample_type 6214 kernel/events/core.c if (sample_type & PERF_SAMPLE_CPU) { sample_type 6231 kernel/events/core.c u64 sample_type = data->type; sample_type 6233 kernel/events/core.c if (sample_type & PERF_SAMPLE_TID) sample_type 6236 kernel/events/core.c if (sample_type & PERF_SAMPLE_TIME) sample_type 6239 kernel/events/core.c if (sample_type & PERF_SAMPLE_ID) sample_type 6242 kernel/events/core.c if (sample_type & PERF_SAMPLE_STREAM_ID) sample_type 6245 kernel/events/core.c if (sample_type & PERF_SAMPLE_CPU) sample_type 6248 kernel/events/core.c if (sample_type & PERF_SAMPLE_IDENTIFIER) sample_type 6364 kernel/events/core.c u64 sample_type = data->type; sample_type 6368 kernel/events/core.c if (sample_type & PERF_SAMPLE_IDENTIFIER) sample_type 6371 kernel/events/core.c if (sample_type & PERF_SAMPLE_IP) sample_type 6374 kernel/events/core.c if (sample_type & PERF_SAMPLE_TID) sample_type 6377 kernel/events/core.c if (sample_type & PERF_SAMPLE_TIME) sample_type 6380 kernel/events/core.c if (sample_type & PERF_SAMPLE_ADDR) sample_type 6383 kernel/events/core.c if (sample_type & PERF_SAMPLE_ID) sample_type 6386 kernel/events/core.c if (sample_type & PERF_SAMPLE_STREAM_ID) sample_type 6389 kernel/events/core.c if (sample_type & PERF_SAMPLE_CPU) sample_type 6392 kernel/events/core.c if (sample_type & PERF_SAMPLE_PERIOD) sample_type 6395 kernel/events/core.c if (sample_type & PERF_SAMPLE_READ) sample_type 6398 kernel/events/core.c if (sample_type & PERF_SAMPLE_CALLCHAIN) { sample_type 6406 kernel/events/core.c if (sample_type & PERF_SAMPLE_RAW) { sample_type 6439 kernel/events/core.c if (sample_type & PERF_SAMPLE_BRANCH_STACK) { sample_type 6457 kernel/events/core.c if (sample_type & PERF_SAMPLE_REGS_USER) { sample_type 6474 kernel/events/core.c if (sample_type & PERF_SAMPLE_STACK_USER) { sample_type 6480 kernel/events/core.c if (sample_type & PERF_SAMPLE_WEIGHT) sample_type 6483 kernel/events/core.c if (sample_type & PERF_SAMPLE_DATA_SRC) sample_type 6486 kernel/events/core.c if (sample_type & PERF_SAMPLE_TRANSACTION) sample_type 6489 kernel/events/core.c if (sample_type & PERF_SAMPLE_REGS_INTR) { sample_type 6506 kernel/events/core.c if (sample_type & PERF_SAMPLE_PHYS_ADDR) sample_type 6584 kernel/events/core.c u64 sample_type = event->attr.sample_type; sample_type 6594 kernel/events/core.c if (sample_type & PERF_SAMPLE_IP) sample_type 6597 kernel/events/core.c if (sample_type & PERF_SAMPLE_CALLCHAIN) { sample_type 6600 kernel/events/core.c if (!(sample_type & __PERF_SAMPLE_CALLCHAIN_EARLY)) sample_type 6608 kernel/events/core.c if (sample_type & PERF_SAMPLE_RAW) { sample_type 6633 kernel/events/core.c if (sample_type & PERF_SAMPLE_BRANCH_STACK) { sample_type 6642 kernel/events/core.c if (sample_type & (PERF_SAMPLE_REGS_USER | PERF_SAMPLE_STACK_USER)) sample_type 6646 kernel/events/core.c if (sample_type & PERF_SAMPLE_REGS_USER) { sample_type 6658 kernel/events/core.c if (sample_type & PERF_SAMPLE_STACK_USER) { sample_type 6683 kernel/events/core.c if (sample_type & PERF_SAMPLE_REGS_INTR) { sample_type 6698 kernel/events/core.c if (sample_type & PERF_SAMPLE_PHYS_ADDR) sample_type 8313 kernel/events/core.c if ((event->attr.sample_type & PERF_SAMPLE_PERIOD) && !event->attr.freq) { sample_type 10541 kernel/events/core.c if (attr->inherit && (attr->sample_type & PERF_SAMPLE_READ)) sample_type 10606 kernel/events/core.c if (event->attr.sample_type & PERF_SAMPLE_CALLCHAIN) { sample_type 10671 kernel/events/core.c if (attr->sample_type & ~(PERF_SAMPLE_MAX-1)) sample_type 10677 kernel/events/core.c if (attr->sample_type & PERF_SAMPLE_BRANCH_STACK) { sample_type 10711 kernel/events/core.c if (attr->sample_type & PERF_SAMPLE_REGS_USER) { sample_type 10717 kernel/events/core.c if (attr->sample_type & PERF_SAMPLE_STACK_USER) { sample_type 10735 kernel/events/core.c if (attr->sample_type & PERF_SAMPLE_REGS_INTR) sample_type 10944 kernel/events/core.c if ((attr.sample_type & PERF_SAMPLE_PHYS_ADDR) && sample_type 10949 kernel/events/core.c if (err && (attr.sample_type & PERF_SAMPLE_REGS_INTR)) sample_type 67 kernel/trace/trace_event_perf.c if (p_event->attr.sample_type & PERF_SAMPLE_STACK_USER) sample_type 72 kernel/trace/trace_event_perf.c if (!(p_event->attr.sample_type & PERF_SAMPLE_RAW)) sample_type 97 samples/bpf/bpf_load.c attr.sample_type = PERF_SAMPLE_RAW; sample_type 249 samples/bpf/trace_event_user.c .sample_type = PERF_SAMPLE_ADDR, sample_type 107 samples/bpf/tracex6_user.c .sample_type = 0, sample_type 116 samples/bpf/tracex6_user.c .sample_type = 0, sample_type 125 samples/bpf/tracex6_user.c .sample_type = 0, sample_type 135 samples/bpf/tracex6_user.c .sample_type = 0, sample_type 147 samples/bpf/tracex6_user.c .sample_type = 0, sample_type 160 samples/bpf/tracex6_user.c .sample_type = 0, sample_type 525 sound/pci/mixart/mixart.c stream_param.sample_type = ST_INTEGER_8; sample_type 529 sound/pci/mixart/mixart.c stream_param.sample_type = ST_INTEGER_16LE; sample_type 533 sound/pci/mixart/mixart.c stream_param.sample_type = ST_INTEGER_16BE; sample_type 537 sound/pci/mixart/mixart.c stream_param.sample_type = ST_INTEGER_24LE; sample_type 541 sound/pci/mixart/mixart.c stream_param.sample_type = ST_INTEGER_24BE; sample_type 545 sound/pci/mixart/mixart.c stream_param.sample_type = ST_FLOATING_POINT_32LE; sample_type 549 sound/pci/mixart/mixart.c stream_param.sample_type = ST_FLOATING_POINT_32BE; sample_type 560 sound/pci/mixart/mixart.c stream_param.sample_type, stream_param.sample_size, stream_param.sampling_freq, stream->channels); sample_type 356 sound/pci/mixart/mixart_core.h u32 sample_type; /* use enum mixart_sample_type */ sample_type 63 sound/soc/intel/skylake/skl-debug.c fmt->interleaving_style, fmt->sample_type, sample_type 459 sound/soc/intel/skylake/skl-messages.c base_cfg->audio_fmt.sample_type = format->sample_type; sample_type 676 sound/soc/intel/skylake/skl-messages.c out_fmt->sample_type = format->sample_type; sample_type 1096 sound/soc/intel/skylake/skl-messages.c pin_fmt->sample_type = format->sample_type; sample_type 76 sound/soc/intel/skylake/skl-ssp-clk.h u32 sample_type : 8; sample_type 2103 sound/soc/intel/skylake/skl-topology.c dst_fmt->sample_type = value; sample_type 2675 sound/soc/intel/skylake/skl-topology.c dst_fmt[i].fmt.sample_type = src_fmt[i].sample_type; sample_type 99 sound/soc/intel/skylake/skl-topology.h u8 sample_type; sample_type 199 sound/soc/intel/skylake/skl-topology.h u32 sample_type; sample_type 121 tools/bpf/bpftool/map_perf_ring.c .sample_type = PERF_SAMPLE_RAW | PERF_SAMPLE_TIME, sample_type 332 tools/include/uapi/linux/perf_event.h __u64 sample_type; sample_type 5436 tools/lib/bpf/libbpf.c attr.sample_type = PERF_SAMPLE_RAW; sample_type 80 tools/perf/arch/x86/tests/intel-cqm.c pe.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_READ; sample_type 281 tools/perf/arch/x86/util/perf_regs.c .sample_type = PERF_SAMPLE_REGS_INTR, sample_type 2582 tools/perf/builtin-c2c.c u64 sample_type = perf_evlist__combined_sample_type(evlist); sample_type 2585 tools/perf/builtin-c2c.c if ((sample_type & PERF_SAMPLE_REGS_USER) && sample_type 2586 tools/perf/builtin-c2c.c (sample_type & PERF_SAMPLE_STACK_USER)) { sample_type 2589 tools/perf/builtin-c2c.c } else if (sample_type & PERF_SAMPLE_BRANCH_STACK) sample_type 2591 tools/perf/builtin-c2c.c else if (sample_type & PERF_SAMPLE_CALLCHAIN) sample_type 535 tools/perf/builtin-inject.c perf_event__synthesize_sample(event_sw, evsel->core.attr.sample_type, sample_type 547 tools/perf/builtin-inject.c u64 sample_type, const char *sample_msg) sample_type 552 tools/perf/builtin-inject.c if (!(attr->sample_type & sample_type)) { sample_type 608 tools/perf/builtin-inject.c if ((evsel->core.attr.sample_type & COMPAT_MASK) == sample_type 609 tools/perf/builtin-inject.c (evsel_to_remove->core.attr.sample_type & COMPAT_MASK)) sample_type 332 tools/perf/builtin-report.c u64 sample_type = perf_evlist__combined_sample_type(session->evlist); sample_type 339 tools/perf/builtin-report.c sample_type |= PERF_SAMPLE_CALLCHAIN; sample_type 342 tools/perf/builtin-report.c sample_type |= PERF_SAMPLE_BRANCH_STACK; sample_type 344 tools/perf/builtin-report.c if (!is_pipe && !(sample_type & PERF_SAMPLE_CALLCHAIN)) { sample_type 370 tools/perf/builtin-report.c if (!(sample_type & PERF_SAMPLE_CALLCHAIN)) { sample_type 378 tools/perf/builtin-report.c !(sample_type & PERF_SAMPLE_BRANCH_STACK)) { sample_type 386 tools/perf/builtin-report.c if ((sample_type & PERF_SAMPLE_REGS_USER) && sample_type 387 tools/perf/builtin-report.c (sample_type & PERF_SAMPLE_STACK_USER)) { sample_type 390 tools/perf/builtin-report.c } else if (sample_type & PERF_SAMPLE_BRANCH_STACK) sample_type 353 tools/perf/builtin-script.c u64 sample_type, const char *sample_msg, sample_type 361 tools/perf/builtin-script.c if (attr->sample_type & sample_type) sample_type 385 tools/perf/builtin-script.c u64 sample_type, const char *sample_msg, sample_type 388 tools/perf/builtin-script.c return perf_evsel__do_check_stype(evsel, sample_type, sample_msg, field, sample_type 430 tools/perf/builtin-script.c !(evsel->core.attr.sample_type & (PERF_SAMPLE_IP|PERF_SAMPLE_ADDR))) { sample_type 442 tools/perf/builtin-script.c !(evsel->core.attr.sample_type & (PERF_SAMPLE_IP|PERF_SAMPLE_ADDR))) { sample_type 1339 tools/perf/builtin-script.c ((evsel->core.attr.sample_type & PERF_SAMPLE_ADDR) && sample_type 2079 tools/perf/builtin-script.c if (evsel->core.attr.sample_type) sample_type 3240 tools/perf/builtin-script.c u64 sample_type = perf_evlist__combined_sample_type(session->evlist); sample_type 3243 tools/perf/builtin-script.c if ((sample_type & PERF_SAMPLE_REGS_USER) && sample_type 3244 tools/perf/builtin-script.c (sample_type & PERF_SAMPLE_STACK_USER)) { sample_type 3247 tools/perf/builtin-script.c } else if (sample_type & PERF_SAMPLE_BRANCH_STACK) sample_type 560 tools/perf/builtin-timechart.c if (evsel->core.attr.sample_type & PERF_SAMPLE_TIME) { sample_type 2538 tools/perf/builtin-trace.c (evsel->core.attr.sample_type & PERF_SAMPLE_TIME)) sample_type 104 tools/perf/tests/attr.c WRITE_ASS(sample_type, "llu"); sample_type 47 tools/perf/tests/bp_account.c attr->sample_type = PERF_SAMPLE_IP; sample_type 114 tools/perf/tests/bp_signal.c pe.sample_type = PERF_SAMPLE_IP; sample_type 89 tools/perf/tests/bp_signal_overflow.c pe.sample_type = PERF_SAMPLE_IP; sample_type 55 tools/perf/tests/parse-events.c PERF_TP_SAMPLE_TYPE == evsel->core.attr.sample_type); sample_type 71 tools/perf/tests/parse-events.c PERF_TP_SAMPLE_TYPE == evsel->core.attr.sample_type); sample_type 474 tools/perf/tests/parse-events.c PERF_TP_SAMPLE_TYPE == evsel->core.attr.sample_type); sample_type 529 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong time", !(PERF_SAMPLE_TIME & evsel->core.attr.sample_type)); sample_type 542 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong time", !(PERF_SAMPLE_TIME & evsel->core.attr.sample_type)); sample_type 745 tools/perf/tests/parse-events.c PERF_TP_SAMPLE_TYPE == evsel->core.attr.sample_type); sample_type 156 tools/perf/tests/sample-parsing.c static int do_test(u64 sample_type, u64 sample_regs, u64 read_format) sample_type 162 tools/perf/tests/sample-parsing.c .sample_type = sample_type, sample_type 227 tools/perf/tests/sample-parsing.c if (sample_type & PERF_SAMPLE_REGS_USER) sample_type 230 tools/perf/tests/sample-parsing.c if (sample_type & PERF_SAMPLE_REGS_INTR) sample_type 244 tools/perf/tests/sample-parsing.c sz = perf_event__sample_event_size(&sample, sample_type, read_format); sample_type 257 tools/perf/tests/sample-parsing.c err = perf_event__synthesize_sample(event, sample_type, read_format, sample_type 261 tools/perf/tests/sample-parsing.c "perf_event__synthesize_sample", sample_type, err); sample_type 276 tools/perf/tests/sample-parsing.c evsel.sample_size = __perf_evsel__sample_size(sample_type); sample_type 281 tools/perf/tests/sample-parsing.c "perf_evsel__parse_sample", sample_type, err); sample_type 285 tools/perf/tests/sample-parsing.c if (!samples_same(&sample, &sample_out, sample_type, read_format)) { sample_type 287 tools/perf/tests/sample-parsing.c sample_type); sample_type 310 tools/perf/tests/sample-parsing.c u64 sample_type; sample_type 326 tools/perf/tests/sample-parsing.c for (sample_type = 1; sample_type != PERF_SAMPLE_MAX; sample_type 327 tools/perf/tests/sample-parsing.c sample_type <<= 1) { sample_type 329 tools/perf/tests/sample-parsing.c if (sample_type == PERF_SAMPLE_READ) { sample_type 331 tools/perf/tests/sample-parsing.c err = do_test(sample_type, 0, rf[i]); sample_type 339 tools/perf/tests/sample-parsing.c if (sample_type == PERF_SAMPLE_REGS_USER) sample_type 342 tools/perf/tests/sample-parsing.c if (sample_type == PERF_SAMPLE_REGS_INTR) sample_type 345 tools/perf/tests/sample-parsing.c err = do_test(sample_type, sample_regs, 0); sample_type 351 tools/perf/tests/sample-parsing.c sample_type = PERF_SAMPLE_MAX - 1; sample_type 354 tools/perf/tests/sample-parsing.c err = do_test(sample_type, sample_regs, rf[i]); sample_type 39 tools/perf/tests/sw-clock.c .sample_type = PERF_SAMPLE_PERIOD, sample_type 46 tools/perf/tests/wp.c attr->sample_type = PERF_SAMPLE_IP; sample_type 39 tools/perf/ui/browsers/scripts.c if (attr->sample_type & PERF_SAMPLE_BRANCH_STACK) sample_type 41 tools/perf/ui/browsers/scripts.c if (attr->sample_type & PERF_SAMPLE_REGS_INTR) sample_type 43 tools/perf/ui/browsers/scripts.c if (attr->sample_type & PERF_SAMPLE_REGS_USER) sample_type 45 tools/perf/ui/browsers/scripts.c if (attr->sample_type & PERF_SAMPLE_PHYS_ADDR) sample_type 344 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c enum cs_etm_sample_type sample_type) sample_type 360 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c packet_queue->packet_buffer[et].sample_type = sample_type; sample_type 924 tools/perf/util/cs-etm.c if (packet->sample_type == CS_ETM_DISCONTINUITY) sample_type 934 tools/perf/util/cs-etm.c if (packet->sample_type == CS_ETM_DISCONTINUITY) sample_type 1092 tools/perf/util/cs-etm.c if (packet->sample_type == CS_ETM_DISCONTINUITY) { sample_type 1284 tools/perf/util/cs-etm.c attr.sample_type = evsel->core.attr.sample_type & PERF_SAMPLE_MASK; sample_type 1285 tools/perf/util/cs-etm.c attr.sample_type |= PERF_SAMPLE_IP | PERF_SAMPLE_TID | sample_type 1288 tools/perf/util/cs-etm.c attr.sample_type &= ~(u64)PERF_SAMPLE_TIME; sample_type 1290 tools/perf/util/cs-etm.c attr.sample_type |= PERF_SAMPLE_TIME; sample_type 1309 tools/perf/util/cs-etm.c attr.sample_type |= PERF_SAMPLE_ADDR; sample_type 1314 tools/perf/util/cs-etm.c etm->branches_sample_type = attr.sample_type; sample_type 1317 tools/perf/util/cs-etm.c attr.sample_type &= ~(u64)PERF_SAMPLE_ADDR; sample_type 1321 tools/perf/util/cs-etm.c attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; sample_type 1331 tools/perf/util/cs-etm.c etm->instructions_sample_type = attr.sample_type; sample_type 1355 tools/perf/util/cs-etm.c tidq->prev_packet->sample_type == CS_ETM_RANGE && sample_type 1392 tools/perf/util/cs-etm.c if (tidq->prev_packet->sample_type == CS_ETM_DISCONTINUITY) sample_type 1396 tools/perf/util/cs-etm.c if (tidq->prev_packet->sample_type == CS_ETM_RANGE && sample_type 1433 tools/perf/util/cs-etm.c if (tidq->prev_packet->sample_type == CS_ETM_RANGE) sample_type 1447 tools/perf/util/cs-etm.c if (tidq->prev_packet->sample_type == CS_ETM_EMPTY) sample_type 1451 tools/perf/util/cs-etm.c tidq->prev_packet->sample_type == CS_ETM_RANGE) { sample_type 1472 tools/perf/util/cs-etm.c tidq->prev_packet->sample_type == CS_ETM_RANGE) { sample_type 1507 tools/perf/util/cs-etm.c tidq->prev_packet->sample_type == CS_ETM_RANGE) { sample_type 1733 tools/perf/util/cs-etm.c switch (packet->sample_type) { sample_type 1797 tools/perf/util/cs-etm.c if (prev_packet->sample_type == CS_ETM_DISCONTINUITY) sample_type 1822 tools/perf/util/cs-etm.c if (prev_packet->sample_type == CS_ETM_RANGE) sample_type 1861 tools/perf/util/cs-etm.c if (prev_packet->sample_type == CS_ETM_RANGE) sample_type 1890 tools/perf/util/cs-etm.c if (prev_packet->sample_type == CS_ETM_RANGE) sample_type 1961 tools/perf/util/cs-etm.c switch (tidq->packet->sample_type) { sample_type 2343 tools/perf/util/cs-etm.c if ((evsel->core.attr.sample_type & PERF_SAMPLE_TIME)) sample_type 123 tools/perf/util/cs-etm.h enum cs_etm_sample_type sample_type; sample_type 591 tools/perf/util/data-convert-bt.c u64 type = evsel->core.attr.sample_type; sample_type 761 tools/perf/util/data-convert-bt.c if (evsel->core.attr.sample_type & PERF_SAMPLE_CPU) sample_type 799 tools/perf/util/data-convert-bt.c unsigned long type = evsel->core.attr.sample_type; sample_type 1091 tools/perf/util/data-convert-bt.c u64 type = evsel->core.attr.sample_type; sample_type 392 tools/perf/util/db-export.c if ((evsel->core.attr.sample_type & PERF_SAMPLE_ADDR) && sample_type 1103 tools/perf/util/evlist.c evlist->combined_sample_type |= evsel->core.attr.sample_type; sample_type 1128 tools/perf/util/evlist.c u64 sample_type = first->core.attr.sample_type; sample_type 1136 tools/perf/util/evlist.c if ((sample_type & PERF_SAMPLE_READ) && sample_type 1148 tools/perf/util/evlist.c u64 sample_type; sample_type 1154 tools/perf/util/evlist.c sample_type = first->core.attr.sample_type; sample_type 1156 tools/perf/util/evlist.c if (sample_type & PERF_SAMPLE_TID) sample_type 1159 tools/perf/util/evlist.c if (sample_type & PERF_SAMPLE_TIME) sample_type 1162 tools/perf/util/evlist.c if (sample_type & PERF_SAMPLE_ID) sample_type 1165 tools/perf/util/evlist.c if (sample_type & PERF_SAMPLE_STREAM_ID) sample_type 1168 tools/perf/util/evlist.c if (sample_type & PERF_SAMPLE_CPU) sample_type 1171 tools/perf/util/evlist.c if (sample_type & PERF_SAMPLE_IDENTIFIER) sample_type 105 tools/perf/util/evsel.c int __perf_evsel__sample_size(u64 sample_type) sample_type 107 tools/perf/util/evsel.c u64 mask = sample_type & PERF_SAMPLE_MASK; sample_type 129 tools/perf/util/evsel.c static int __perf_evsel__calc_id_pos(u64 sample_type) sample_type 133 tools/perf/util/evsel.c if (sample_type & PERF_SAMPLE_IDENTIFIER) sample_type 136 tools/perf/util/evsel.c if (!(sample_type & PERF_SAMPLE_ID)) sample_type 139 tools/perf/util/evsel.c if (sample_type & PERF_SAMPLE_IP) sample_type 142 tools/perf/util/evsel.c if (sample_type & PERF_SAMPLE_TID) sample_type 145 tools/perf/util/evsel.c if (sample_type & PERF_SAMPLE_TIME) sample_type 148 tools/perf/util/evsel.c if (sample_type & PERF_SAMPLE_ADDR) sample_type 162 tools/perf/util/evsel.c static int __perf_evsel__calc_is_pos(u64 sample_type) sample_type 166 tools/perf/util/evsel.c if (sample_type & PERF_SAMPLE_IDENTIFIER) sample_type 169 tools/perf/util/evsel.c if (!(sample_type & PERF_SAMPLE_ID)) sample_type 172 tools/perf/util/evsel.c if (sample_type & PERF_SAMPLE_CPU) sample_type 175 tools/perf/util/evsel.c if (sample_type & PERF_SAMPLE_STREAM_ID) sample_type 183 tools/perf/util/evsel.c evsel->id_pos = __perf_evsel__calc_id_pos(evsel->core.attr.sample_type); sample_type 184 tools/perf/util/evsel.c evsel->is_pos = __perf_evsel__calc_is_pos(evsel->core.attr.sample_type); sample_type 190 tools/perf/util/evsel.c if (!(evsel->core.attr.sample_type & bit)) { sample_type 191 tools/perf/util/evsel.c evsel->core.attr.sample_type |= bit; sample_type 200 tools/perf/util/evsel.c if (evsel->core.attr.sample_type & bit) { sample_type 201 tools/perf/util/evsel.c evsel->core.attr.sample_type &= ~bit; sample_type 252 tools/perf/util/evsel.c evsel->sample_size = __perf_evsel__sample_size(attr->sample_type); sample_type 271 tools/perf/util/evsel.c evsel->core.attr.sample_type |= (PERF_SAMPLE_RAW | PERF_SAMPLE_TIME | sample_type 347 tools/perf/util/evsel.c .sample_type = (PERF_SAMPLE_RAW | PERF_SAMPLE_TIME | sample_type 1001 tools/perf/util/evsel.c attr->sample_type = leader->core.attr.sample_type; sample_type 1847 tools/perf/util/evsel.c u64 type = evsel->core.attr.sample_type; sample_type 1936 tools/perf/util/evsel.c u64 type = evsel->core.attr.sample_type; sample_type 2216 tools/perf/util/evsel.c u64 type = evsel->core.attr.sample_type; sample_type 181 tools/perf/util/evsel.h int __perf_evsel__sample_size(u64 sample_type); sample_type 387 tools/perf/util/evsel.h return (evsel->core.attr.sample_type & PERF_SAMPLE_CALLCHAIN) != 0; sample_type 785 tools/perf/util/intel-bts.c attr.sample_type = evsel->core.attr.sample_type & PERF_SAMPLE_MASK; sample_type 786 tools/perf/util/intel-bts.c attr.sample_type |= PERF_SAMPLE_IP | PERF_SAMPLE_TID | sample_type 788 tools/perf/util/intel-bts.c attr.sample_type &= ~(u64)PERF_SAMPLE_TIME; sample_type 789 tools/perf/util/intel-bts.c attr.sample_type &= ~(u64)PERF_SAMPLE_CPU; sample_type 805 tools/perf/util/intel-bts.c attr.sample_type |= PERF_SAMPLE_ADDR; sample_type 807 tools/perf/util/intel-bts.c id, (u64)attr.sample_type); sample_type 815 tools/perf/util/intel-bts.c bts->branches_sample_type = attr.sample_type; sample_type 822 tools/perf/util/intel-bts.c __perf_evsel__sample_size(attr.sample_type); sample_type 795 tools/perf/util/intel-pt.c if (!(evsel->core.attr.sample_type & PERF_SAMPLE_TIME)) sample_type 1707 tools/perf/util/intel-pt.c u64 sample_type = evsel->core.attr.sample_type; sample_type 1739 tools/perf/util/intel-pt.c if (sample_type & PERF_SAMPLE_TIME) { sample_type 1750 tools/perf/util/intel-pt.c if (sample_type & PERF_SAMPLE_CALLCHAIN && sample_type 1758 tools/perf/util/intel-pt.c if (sample_type & PERF_SAMPLE_REGS_INTR && sample_type 1774 tools/perf/util/intel-pt.c if (sample_type & PERF_SAMPLE_BRANCH_STACK) { sample_type 1794 tools/perf/util/intel-pt.c if (sample_type & PERF_SAMPLE_ADDR && items->has_mem_access_address) sample_type 1797 tools/perf/util/intel-pt.c if (sample_type & PERF_SAMPLE_WEIGHT) { sample_type 1810 tools/perf/util/intel-pt.c if (sample_type & PERF_SAMPLE_TRANSACTION && items->has_tsx_aux_info) { sample_type 1821 tools/perf/util/intel-pt.c return intel_pt_deliver_synth_event(pt, ptq, event, &sample, sample_type); sample_type 2703 tools/perf/util/intel-pt.c name, id, (u64)attr->sample_type); sample_type 2762 tools/perf/util/intel-pt.c attr.sample_type = evsel->core.attr.sample_type & PERF_SAMPLE_MASK; sample_type 2763 tools/perf/util/intel-pt.c attr.sample_type |= PERF_SAMPLE_IP | PERF_SAMPLE_TID | sample_type 2766 tools/perf/util/intel-pt.c attr.sample_type &= ~(u64)PERF_SAMPLE_TIME; sample_type 2768 tools/perf/util/intel-pt.c attr.sample_type |= PERF_SAMPLE_TIME; sample_type 2770 tools/perf/util/intel-pt.c attr.sample_type &= ~(u64)PERF_SAMPLE_CPU; sample_type 2786 tools/perf/util/intel-pt.c attr.sample_type |= PERF_SAMPLE_ADDR; sample_type 2791 tools/perf/util/intel-pt.c pt->branches_sample_type = attr.sample_type; sample_type 2794 tools/perf/util/intel-pt.c attr.sample_type &= ~(u64)PERF_SAMPLE_ADDR; sample_type 2798 tools/perf/util/intel-pt.c attr.sample_type |= PERF_SAMPLE_CALLCHAIN; sample_type 2800 tools/perf/util/intel-pt.c attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; sample_type 2813 tools/perf/util/intel-pt.c pt->instructions_sample_type = attr.sample_type; sample_type 2818 tools/perf/util/intel-pt.c attr.sample_type &= ~(u64)PERF_SAMPLE_PERIOD; sample_type 2827 tools/perf/util/intel-pt.c pt->transactions_sample_type = attr.sample_type; sample_type 2834 tools/perf/util/intel-pt.c attr.sample_type |= PERF_SAMPLE_RAW; sample_type 2842 tools/perf/util/intel-pt.c pt->ptwrites_sample_type = attr.sample_type; sample_type 2850 tools/perf/util/intel-pt.c pt->pwr_events_sample_type = attr.sample_type; sample_type 39 tools/perf/util/jitdump.c uint64_t sample_type; sample_type 470 tools/perf/util/jitdump.c if (jd->sample_type & PERF_SAMPLE_TID) { sample_type 474 tools/perf/util/jitdump.c if (jd->sample_type & PERF_SAMPLE_TIME) sample_type 562 tools/perf/util/jitdump.c if (jd->sample_type & PERF_SAMPLE_TID) { sample_type 566 tools/perf/util/jitdump.c if (jd->sample_type & PERF_SAMPLE_TIME) sample_type 781 tools/perf/util/jitdump.c jd.sample_type = first->core.attr.sample_type; sample_type 2488 tools/perf/util/machine.c if (!((evsel->core.attr.sample_type & PERF_SAMPLE_REGS_USER) && sample_type 2489 tools/perf/util/machine.c (evsel->core.attr.sample_type & PERF_SAMPLE_STACK_USER))) sample_type 100 tools/perf/util/perf_event_attr_fprintf.c PRINT_ATTRf(sample_type, p_sample_type); sample_type 697 tools/perf/util/python.c .sample_type = PERF_SAMPLE_PERIOD | PERF_SAMPLE_TID, sample_type 756 tools/perf/util/python.c &sample_period, &attr.sample_type, sample_type 87 tools/perf/util/record.c evsel->core.attr.sample_type |= PERF_SAMPLE_IDENTIFIER; sample_type 177 tools/perf/util/record.c if (evsel->core.attr.sample_type == first->core.attr.sample_type) sample_type 740 tools/perf/util/session.c bswap_field_64(sample_type); sample_type 1155 tools/perf/util/session.c u64 sample_type = __perf_evlist__combined_sample_type(evlist); sample_type 1163 tools/perf/util/session.c if ((sample_type & PERF_SAMPLE_CPU)) sample_type 1166 tools/perf/util/session.c if (sample_type & PERF_SAMPLE_TIME) sample_type 1223 tools/perf/util/session.c u64 sample_type; sample_type 1232 tools/perf/util/session.c sample_type = evsel->core.attr.sample_type; sample_type 1237 tools/perf/util/session.c if (sample_type & PERF_SAMPLE_BRANCH_STACK) sample_type 1240 tools/perf/util/session.c if (sample_type & PERF_SAMPLE_REGS_USER) sample_type 1243 tools/perf/util/session.c if (sample_type & PERF_SAMPLE_REGS_INTR) sample_type 1246 tools/perf/util/session.c if (sample_type & PERF_SAMPLE_STACK_USER) sample_type 1249 tools/perf/util/session.c if (sample_type & PERF_SAMPLE_WEIGHT) sample_type 1252 tools/perf/util/session.c if (sample_type & PERF_SAMPLE_DATA_SRC) sample_type 1255 tools/perf/util/session.c if (sample_type & PERF_SAMPLE_PHYS_ADDR) sample_type 1258 tools/perf/util/session.c if (sample_type & PERF_SAMPLE_TRANSACTION) sample_type 1261 tools/perf/util/session.c if (sample_type & PERF_SAMPLE_READ) sample_type 1379 tools/perf/util/session.c u64 sample_type = evsel->core.attr.sample_type; sample_type 1383 tools/perf/util/session.c if (!(sample_type & PERF_SAMPLE_READ)) sample_type 2325 tools/perf/util/session.c if (!(evsel->core.attr.sample_type & PERF_SAMPLE_CPU)) { sample_type 491 tools/perf/util/stat.c attr->sample_type = PERF_SAMPLE_IDENTIFIER; sample_type 105 tools/testing/selftests/bpf/get_cgroup_id_user.c attr.sample_type = PERF_SAMPLE_RAW; sample_type 148 tools/testing/selftests/bpf/prog_tests/send_signal.c .sample_type = PERF_SAMPLE_RAW | PERF_SAMPLE_CALLCHAIN, sample_type 33 tools/testing/selftests/bpf/prog_tests/task_fd_query_tp.c attr.sample_type = PERF_SAMPLE_RAW; sample_type 32 tools/testing/selftests/bpf/prog_tests/tp_attach_query.c attr.sample_type = PERF_SAMPLE_RAW | PERF_SAMPLE_CALLCHAIN;