arch/powerpc/perf/core-book3s.c
2275
if (event->attr.sample_type & PERF_SAMPLE_IP)
arch/powerpc/perf/core-book3s.c
2298
(event->attr.sample_type & PERF_SAMPLE_IP) &&
arch/powerpc/perf/core-book3s.c
2309
if (event->attr.sample_type & PERF_SAMPLE_DATA_SRC &&
arch/powerpc/perf/core-book3s.c
2326
if (event->attr.sample_type & PERF_SAMPLE_ADDR_TYPE)
arch/powerpc/perf/core-book3s.c
2329
if (event->attr.sample_type & PERF_SAMPLE_BRANCH_STACK) {
arch/powerpc/perf/core-book3s.c
2336
if (event->attr.sample_type & PERF_SAMPLE_DATA_SRC &&
arch/powerpc/perf/core-book3s.c
2342
if (event->attr.sample_type & PERF_SAMPLE_WEIGHT_TYPE &&
arch/powerpc/perf/core-book3s.c
2344
ppmu->get_mem_weight(&data.weight.full, event->attr.sample_type);
arch/powerpc/perf/core-book3s.c
603
event->attr.sample_type ||
arch/s390/kernel/perf_cpum_cf.c
1801
!(attr->sample_type & (PERF_SAMPLE_CPU | PERF_SAMPLE_RAW))) {
arch/s390/kernel/perf_cpum_cf.c
972
if (event->attr.sample_type & PERF_SAMPLE_CPU)
arch/s390/kernel/perf_cpum_cf.c
974
if (event->attr.sample_type & PERF_SAMPLE_RAW) {
arch/s390/kernel/perf_cpum_sf.c
831
if (event->attr.sample_type & PERF_SAMPLE_TID)
arch/s390/kernel/perf_cpum_sf.c
841
u64 sample_type = event->attr.sample_type;
arch/s390/kernel/perf_cpum_sf.c
843
return sample_type & (PERF_SAMPLE_CALLCHAIN | PERF_SAMPLE_REGS_USER |
arch/s390/kernel/perf_pai.c
402
a->sample_type |= PERF_SAMPLE_RAW;
arch/s390/kernel/perf_pai.c
617
if (event->attr.sample_type & PERF_SAMPLE_TID) {
arch/s390/kernel/perf_pai.c
621
if (event->attr.sample_type & PERF_SAMPLE_TIME)
arch/s390/kernel/perf_pai.c
623
if (event->attr.sample_type & (PERF_SAMPLE_ID | PERF_SAMPLE_IDENTIFIER))
arch/s390/kernel/perf_pai.c
625
if (event->attr.sample_type & PERF_SAMPLE_CPU) {
arch/s390/kernel/perf_pai.c
629
if (event->attr.sample_type & PERF_SAMPLE_RAW) {
arch/x86/events/amd/ibs.c
1093
static void perf_ibs_parse_ld_st_data(__u64 sample_type,
arch/x86/events/amd/ibs.c
1111
if (sample_type & PERF_SAMPLE_DATA_SRC) {
arch/x86/events/amd/ibs.c
1116
if (sample_type & PERF_SAMPLE_WEIGHT_TYPE && op_data3.dc_miss &&
arch/x86/events/amd/ibs.c
1120
if (sample_type & PERF_SAMPLE_WEIGHT_STRUCT) {
arch/x86/events/amd/ibs.c
1123
} else if (sample_type & PERF_SAMPLE_WEIGHT) {
arch/x86/events/amd/ibs.c
1129
if (sample_type & PERF_SAMPLE_ADDR && op_data3.dc_lin_addr_valid) {
arch/x86/events/amd/ibs.c
1134
if (sample_type & PERF_SAMPLE_PHYS_ADDR && op_data3.dc_phy_addr_valid) {
arch/x86/events/amd/ibs.c
1143
u64 sample_type = event->attr.sample_type;
arch/x86/events/amd/ibs.c
1146
sample_type & (PERF_SAMPLE_DATA_SRC |
arch/x86/events/amd/ibs.c
1156
if (event->attr.sample_type & PERF_SAMPLE_RAW ||
arch/x86/events/amd/ibs.c
1175
return unlikely((event->attr.sample_type & sample_type_mask) &&
arch/x86/events/amd/ibs.c
1189
return unlikely((event->attr.sample_type & PERF_SAMPLE_RAW) &&
arch/x86/events/amd/ibs.c
1305
if (event->attr.sample_type & PERF_SAMPLE_RAW) {
arch/x86/events/amd/ibs.c
1346
if ((event->attr.sample_type & PERF_SAMPLE_RAW) &&
arch/x86/events/amd/ibs.c
1351
if (event->attr.sample_type & PERF_SAMPLE_RAW) {
arch/x86/events/amd/ibs.c
1362
perf_ibs_parse_ld_st_data(event->attr.sample_type, &ibs_data, &data);
arch/x86/events/intel/core.c
4669
if (!(event->attr.sample_type & ~intel_pmu_large_pebs_flags(event)) &&
arch/x86/events/intel/core.c
4691
!(event->attr.sample_type & PERF_SAMPLE_READ))
arch/x86/events/intel/core.c
4774
if ((event->attr.sample_type & PERF_SAMPLE_READ) &&
arch/x86/events/intel/core.c
4941
(event->attr.sample_type & PERF_SAMPLE_DATA_SRC) &&
arch/x86/events/intel/core.c
5365
(event->attr.sample_type & PERF_SAMPLE_WEIGHT_TYPE) &&
arch/x86/events/intel/ds.c
1712
u64 sample_type = attr->sample_type;
arch/x86/events/intel/ds.c
1716
if (!(sample_type & ~(PERF_SAMPLE_IP|PERF_SAMPLE_TIME)) &&
arch/x86/events/intel/ds.c
1720
if (sample_type & PERF_PEBS_MEMINFO_TYPE)
arch/x86/events/intel/ds.c
1729
gprs = ((sample_type & PERF_SAMPLE_REGS_INTR) &&
arch/x86/events/intel/ds.c
1731
((sample_type & PERF_SAMPLE_REGS_USER) &&
arch/x86/events/intel/ds.c
1734
tsx_weight = (sample_type & PERF_SAMPLE_WEIGHT_TYPE) &&
arch/x86/events/intel/ds.c
1741
if ((sample_type & PERF_SAMPLE_REGS_INTR) &&
arch/x86/events/intel/ds.c
1745
if (sample_type & PERF_SAMPLE_BRANCH_STACK) {
arch/x86/events/intel/ds.c
2179
u64 sample_type;
arch/x86/events/intel/ds.c
2185
sample_type = event->attr.sample_type;
arch/x86/events/intel/ds.c
2193
if (fll && (sample_type & PERF_SAMPLE_WEIGHT_TYPE)) {
arch/x86/events/intel/ds.c
2201
if (sample_type & PERF_SAMPLE_DATA_SRC) {
arch/x86/events/intel/ds.c
2230
if (sample_type & PERF_SAMPLE_REGS_INTR) {
arch/x86/events/intel/ds.c
2283
if ((sample_type & PERF_SAMPLE_ADDR_TYPE) &&
arch/x86/events/intel/ds.c
2291
if ((sample_type & PERF_SAMPLE_WEIGHT_TYPE) && !fll) {
arch/x86/events/intel/ds.c
2295
if (sample_type & PERF_SAMPLE_TRANSACTION) {
arch/x86/events/intel/ds.c
2435
u64 sample_type, u64 ip,
arch/x86/events/intel/ds.c
2443
if (sample_type & PERF_SAMPLE_WEIGHT_STRUCT)
arch/x86/events/intel/ds.c
2450
u64 sample_type)
arch/x86/events/intel/ds.c
2457
if (sample_type & (PERF_SAMPLE_REGS_INTR | PERF_SAMPLE_REGS_USER))
arch/x86/events/intel/ds.c
2463
u64 sample_type, u64 latency,
arch/x86/events/intel/ds.c
2467
if (sample_type & PERF_SAMPLE_WEIGHT_TYPE) {
arch/x86/events/intel/ds.c
2477
if (sample_type & PERF_SAMPLE_WEIGHT)
arch/x86/events/intel/ds.c
2485
if (sample_type & PERF_SAMPLE_DATA_SRC) {
arch/x86/events/intel/ds.c
2490
if (sample_type & PERF_SAMPLE_ADDR_TYPE) {
arch/x86/events/intel/ds.c
2495
if (sample_type & PERF_SAMPLE_TRANSACTION) {
arch/x86/events/intel/ds.c
2510
u64 sample_type = event->attr.sample_type;
arch/x86/events/intel/ds.c
2534
__setup_pebs_basic_group(event, regs, data, sample_type,
arch/x86/events/intel/ds.c
2551
__setup_pebs_gpr_group(event, regs, gprs, sample_type);
arch/x86/events/intel/ds.c
2561
__setup_pebs_meminfo_group(event, data, sample_type, latency,
arch/x86/events/intel/ds.c
2628
u64 sample_type = event->attr.sample_type;
arch/x86/events/intel/ds.c
2655
if (sample_type & PERF_SAMPLE_WEIGHT_STRUCT)
arch/x86/events/intel/ds.c
2657
__setup_pebs_basic_group(event, regs, data, sample_type,
arch/x86/events/intel/ds.c
2677
sample_type);
arch/x86/events/intel/ds.c
2683
__setup_pebs_meminfo_group(event, data, sample_type,
arch/x86/kvm/vmx/pmu_intel.c
258
.sample_type = PERF_SAMPLE_BRANCH_STACK,
drivers/cpufreq/cpufreq_ondemand.c
154
int sample_type = dbs_info->sample_type;
drivers/cpufreq/cpufreq_ondemand.c
157
dbs_info->sample_type = OD_NORMAL_SAMPLE;
drivers/cpufreq/cpufreq_ondemand.c
162
if (sample_type == OD_SUB_SAMPLE && policy_dbs->sample_delay_ns > 0) {
drivers/cpufreq/cpufreq_ondemand.c
172
dbs_info->sample_type = OD_SUB_SAMPLE;
drivers/cpufreq/cpufreq_ondemand.c
367
dbs_info->sample_type = OD_NORMAL_SAMPLE;
drivers/cpufreq/cpufreq_ondemand.h
16
unsigned int sample_type:1;
drivers/net/phy/nxp-c45-tja11xx.c
1618
int silicon_version, sample_type;
drivers/net/phy/nxp-c45-tja11xx.c
1626
sample_type = FIELD_GET(TJA1120_DEV_ID3_SAMPLE_TYPE, ret);
drivers/net/phy/nxp-c45-tja11xx.c
1627
if (sample_type != DEVICE_ID3_SAMPLE_TYPE_R)
include/linux/perf_event.h
1380
if (!(event->attr.sample_type & PERF_SAMPLE_CALLCHAIN))
include/linux/perf_event.h
1400
if (!(event->attr.sample_type & PERF_SAMPLE_RAW))
include/linux/perf_event.h
1423
return event->attr.sample_type & PERF_SAMPLE_BRANCH_STACK;
include/uapi/linux/perf_event.h
415
__u64 sample_type;
kernel/bpf/stackmap.c
378
if (!(event->attr.sample_type & PERF_SAMPLE_CALLCHAIN))
kernel/bpf/stackmap.c
607
if (!(event->attr.sample_type & PERF_SAMPLE_CALLCHAIN))
kernel/events/core.c
10627
(!(event->attr.sample_type & PERF_SAMPLE_CALLCHAIN) ||
kernel/events/core.c
10891
if ((event->attr.sample_type & PERF_SAMPLE_PERIOD) && !event->attr.freq) {
kernel/events/core.c
13396
if (has_inherit_and_sample_read(attr) && !(attr->sample_type & PERF_SAMPLE_TID))
kernel/events/core.c
13476
if (event->attr.sample_type & PERF_SAMPLE_CALLCHAIN) {
kernel/events/core.c
13536
if (attr->sample_type & ~(PERF_SAMPLE_MAX-1))
kernel/events/core.c
13542
if (attr->sample_type & PERF_SAMPLE_BRANCH_STACK) {
kernel/events/core.c
13578
if (attr->sample_type & PERF_SAMPLE_REGS_USER) {
kernel/events/core.c
13584
if (attr->sample_type & PERF_SAMPLE_STACK_USER) {
kernel/events/core.c
13602
if (attr->sample_type & PERF_SAMPLE_REGS_INTR)
kernel/events/core.c
13606
if (attr->sample_type & PERF_SAMPLE_CGROUP)
kernel/events/core.c
13609
if ((attr->sample_type & PERF_SAMPLE_WEIGHT) &&
kernel/events/core.c
13610
(attr->sample_type & PERF_SAMPLE_WEIGHT_STRUCT))
kernel/events/core.c
13856
if ((attr.sample_type & PERF_SAMPLE_PHYS_ADDR)) {
kernel/events/core.c
13863
if (attr.sample_type & PERF_SAMPLE_REGS_INTR) {
kernel/events/core.c
1968
return attr->inherit && (attr->sample_type & PERF_SAMPLE_READ);
kernel/events/core.c
2050
static void __perf_event_header_size(struct perf_event *event, u64 sample_type)
kernel/events/core.c
2055
if (sample_type & PERF_SAMPLE_IP)
kernel/events/core.c
2058
if (sample_type & PERF_SAMPLE_ADDR)
kernel/events/core.c
2061
if (sample_type & PERF_SAMPLE_PERIOD)
kernel/events/core.c
2064
if (sample_type & PERF_SAMPLE_WEIGHT_TYPE)
kernel/events/core.c
2067
if (sample_type & PERF_SAMPLE_READ)
kernel/events/core.c
2070
if (sample_type & PERF_SAMPLE_DATA_SRC)
kernel/events/core.c
2073
if (sample_type & PERF_SAMPLE_TRANSACTION)
kernel/events/core.c
2076
if (sample_type & PERF_SAMPLE_PHYS_ADDR)
kernel/events/core.c
2079
if (sample_type & PERF_SAMPLE_CGROUP)
kernel/events/core.c
2082
if (sample_type & PERF_SAMPLE_DATA_PAGE_SIZE)
kernel/events/core.c
2085
if (sample_type & PERF_SAMPLE_CODE_PAGE_SIZE)
kernel/events/core.c
2100
__perf_event_header_size(event, event->attr.sample_type);
kernel/events/core.c
2106
u64 sample_type = event->attr.sample_type;
kernel/events/core.c
2109
if (sample_type & PERF_SAMPLE_TID)
kernel/events/core.c
2112
if (sample_type & PERF_SAMPLE_TIME)
kernel/events/core.c
2115
if (sample_type & PERF_SAMPLE_IDENTIFIER)
kernel/events/core.c
2118
if (sample_type & PERF_SAMPLE_ID)
kernel/events/core.c
2121
if (sample_type & PERF_SAMPLE_STREAM_ID)
kernel/events/core.c
2124
if (sample_type & PERF_SAMPLE_CPU)
kernel/events/core.c
7996
u64 sample_type)
kernel/events/core.c
7998
data->type = event->attr.sample_type;
kernel/events/core.c
8001
if (sample_type & PERF_SAMPLE_TID) {
kernel/events/core.c
8007
if (sample_type & PERF_SAMPLE_TIME)
kernel/events/core.c
8010
if (sample_type & (PERF_SAMPLE_ID | PERF_SAMPLE_IDENTIFIER))
kernel/events/core.c
8013
if (sample_type & PERF_SAMPLE_STREAM_ID)
kernel/events/core.c
8016
if (sample_type & PERF_SAMPLE_CPU) {
kernel/events/core.c
8028
__perf_event_header__init_id(data, event, event->attr.sample_type);
kernel/events/core.c
8035
u64 sample_type = data->type;
kernel/events/core.c
8037
if (sample_type & PERF_SAMPLE_TID)
kernel/events/core.c
8040
if (sample_type & PERF_SAMPLE_TIME)
kernel/events/core.c
8043
if (sample_type & PERF_SAMPLE_ID)
kernel/events/core.c
8046
if (sample_type & PERF_SAMPLE_STREAM_ID)
kernel/events/core.c
8049
if (sample_type & PERF_SAMPLE_CPU)
kernel/events/core.c
8052
if (sample_type & PERF_SAMPLE_IDENTIFIER)
kernel/events/core.c
8184
u64 sample_type = data->type;
kernel/events/core.c
8191
if (sample_type & PERF_SAMPLE_IDENTIFIER)
kernel/events/core.c
8194
if (sample_type & PERF_SAMPLE_IP)
kernel/events/core.c
8197
if (sample_type & PERF_SAMPLE_TID)
kernel/events/core.c
8200
if (sample_type & PERF_SAMPLE_TIME)
kernel/events/core.c
8203
if (sample_type & PERF_SAMPLE_ADDR)
kernel/events/core.c
8206
if (sample_type & PERF_SAMPLE_ID)
kernel/events/core.c
8209
if (sample_type & PERF_SAMPLE_STREAM_ID)
kernel/events/core.c
8212
if (sample_type & PERF_SAMPLE_CPU)
kernel/events/core.c
8215
if (sample_type & PERF_SAMPLE_PERIOD)
kernel/events/core.c
8218
if (sample_type & PERF_SAMPLE_READ)
kernel/events/core.c
8221
if (sample_type & PERF_SAMPLE_CALLCHAIN) {
kernel/events/core.c
8229
if (sample_type & PERF_SAMPLE_RAW) {
kernel/events/core.c
8262
if (sample_type & PERF_SAMPLE_BRANCH_STACK) {
kernel/events/core.c
8290
if (sample_type & PERF_SAMPLE_REGS_USER) {
kernel/events/core.c
8307
if (sample_type & PERF_SAMPLE_STACK_USER) {
kernel/events/core.c
8313
if (sample_type & PERF_SAMPLE_WEIGHT_TYPE)
kernel/events/core.c
8316
if (sample_type & PERF_SAMPLE_DATA_SRC)
kernel/events/core.c
8319
if (sample_type & PERF_SAMPLE_TRANSACTION)
kernel/events/core.c
8322
if (sample_type & PERF_SAMPLE_REGS_INTR) {
kernel/events/core.c
8339
if (sample_type & PERF_SAMPLE_PHYS_ADDR)
kernel/events/core.c
8342
if (sample_type & PERF_SAMPLE_CGROUP)
kernel/events/core.c
8345
if (sample_type & PERF_SAMPLE_DATA_PAGE_SIZE)
kernel/events/core.c
8348
if (sample_type & PERF_SAMPLE_CODE_PAGE_SIZE)
kernel/events/core.c
8351
if (sample_type & PERF_SAMPLE_AUX) {
kernel/events/core.c
8542
u64 sample_type = event->attr.sample_type;
kernel/events/core.c
8549
filtered_sample_type = sample_type;
kernel/events/core.c
8550
filtered_sample_type |= __cond_set(sample_type, PERF_SAMPLE_CODE_PAGE_SIZE,
kernel/events/core.c
8552
filtered_sample_type |= __cond_set(sample_type, PERF_SAMPLE_DATA_PAGE_SIZE |
kernel/events/core.c
8554
filtered_sample_type |= __cond_set(sample_type, PERF_SAMPLE_STACK_USER,
kernel/events/core.c
8560
data->type = event->attr.sample_type;
kernel/events/core.c
8594
if ((sample_type & ~data->sample_flags) & PERF_SAMPLE_REGS_USER) {
kernel/trace/trace_event_perf.c
71
if (p_event->attr.sample_type & PERF_SAMPLE_STACK_USER)
kernel/trace/trace_event_perf.c
76
if (!(p_event->attr.sample_type & PERF_SAMPLE_RAW))
samples/bpf/trace_event_user.c
262
.sample_type = PERF_SAMPLE_ADDR,
samples/bpf/tracex6_user.c
108
.sample_type = 0,
samples/bpf/tracex6_user.c
117
.sample_type = 0,
samples/bpf/tracex6_user.c
126
.sample_type = 0,
samples/bpf/tracex6_user.c
136
.sample_type = 0,
samples/bpf/tracex6_user.c
148
.sample_type = 0,
samples/bpf/tracex6_user.c
161
.sample_type = 0,
sound/pci/mixart/mixart.c
524
stream_param.sample_type = ST_INTEGER_8;
sound/pci/mixart/mixart.c
528
stream_param.sample_type = ST_INTEGER_16LE;
sound/pci/mixart/mixart.c
532
stream_param.sample_type = ST_INTEGER_16BE;
sound/pci/mixart/mixart.c
536
stream_param.sample_type = ST_INTEGER_24LE;
sound/pci/mixart/mixart.c
540
stream_param.sample_type = ST_INTEGER_24BE;
sound/pci/mixart/mixart.c
544
stream_param.sample_type = ST_FLOATING_POINT_32LE;
sound/pci/mixart/mixart.c
548
stream_param.sample_type = ST_FLOATING_POINT_32BE;
sound/pci/mixart/mixart.c
559
stream_param.sample_type, stream_param.sample_size, stream_param.sampling_freq, stream->channels);
sound/pci/mixart/mixart_core.h
364
u32 sample_type; /* use enum mixart_sample_type */
sound/soc/intel/avs/messages.h
714
u32 sample_type:8;
sound/soc/intel/avs/topology.c
369
audio_format->sample_type = le32_to_cpu(velem->value);
sound/soc/sof/ipc4-topology.c
1590
int sample_type;
sound/soc/sof/ipc4-topology.c
1606
sample_type = sof_ipc4_get_sample_type(sdev, params);
sound/soc/sof/ipc4-topology.c
1607
if (sample_type < 0)
sound/soc/sof/ipc4-topology.c
1608
return sample_type;
sound/soc/sof/ipc4-topology.c
1625
sample_valid_bits == valid_bits && sample_type == type)
sound/soc/sof/ipc4-topology.c
1633
params_channels(params), sample_type);
tools/bpf/bpftool/map_perf_ring.c
113
.sample_type = PERF_SAMPLE_RAW | PERF_SAMPLE_TIME,
tools/include/uapi/linux/perf_event.h
415
__u64 sample_type;
tools/lib/bpf/libbpf.c
13772
attr.sample_type = PERF_SAMPLE_RAW;
tools/lib/perf/evsel.c
562
return (evsel->attr.sample_type & PERF_SAMPLE_READ) &&
tools/lib/perf/evsel.c
563
(evsel->attr.sample_type & PERF_SAMPLE_TID) &&
tools/perf/arch/x86/tests/amd-ibs-period.c
245
attr->sample_type = PERF_SAMPLE_PERIOD;
tools/perf/arch/x86/tests/amd-ibs-period.c
260
attr->sample_type = PERF_SAMPLE_PERIOD;
tools/perf/arch/x86/tests/amd-ibs-via-core-pmu.c
34
attr.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID;
tools/perf/bench/inject-buildid.c
150
event.attr.attr.sample_type = bench_sample_type;
tools/perf/builtin-c2c.c
2919
u64 sample_type = evlist__combined_sample_type(evlist);
tools/perf/builtin-c2c.c
2922
if ((sample_type & PERF_SAMPLE_REGS_USER) &&
tools/perf/builtin-c2c.c
2923
(sample_type & PERF_SAMPLE_STACK_USER)) {
tools/perf/builtin-c2c.c
2926
} else if (sample_type & PERF_SAMPLE_BRANCH_STACK)
tools/perf/builtin-c2c.c
2928
else if (sample_type & PERF_SAMPLE_CALLCHAIN)
tools/perf/builtin-inject.c
1103
perf_event__synthesize_sample(event_sw, evsel->core.attr.sample_type,
tools/perf/builtin-inject.c
1329
attr.sample_type |= PERF_SAMPLE_IDENTIFIER;
tools/perf/builtin-inject.c
1715
ret = perf_event__synthesize_id_sample(array, evsel->core.attr.sample_type, sample);
tools/perf/builtin-inject.c
1974
static int evsel__check_stype(struct evsel *evsel, u64 sample_type, const char *sample_msg)
tools/perf/builtin-inject.c
1979
if (!(attr->sample_type & sample_type)) {
tools/perf/builtin-inject.c
2471
return (attr->sample_type & dwarf_callchain_flags) == dwarf_callchain_flags;
tools/perf/builtin-inject.c
399
u64 sample_type = evsel->core.attr.sample_type;
tools/perf/builtin-inject.c
465
sample_type &= ~(PERF_SAMPLE_STACK_USER | PERF_SAMPLE_REGS_USER);
tools/perf/builtin-inject.c
467
perf_event__synthesize_sample(event_copy, sample_type,
tools/perf/builtin-record.c
1988
evsel->core.attr.sample_type, &sample);
tools/perf/builtin-report.c
1286
u64 sample_type;
tools/perf/builtin-report.c
1297
sample_type = evlist__combined_sample_type(*pevlist);
tools/perf/builtin-report.c
1299
callchain_param_setup(sample_type, perf_session__e_machine(session, /*e_flags=*/NULL));
tools/perf/builtin-report.c
374
u64 sample_type = evlist__combined_sample_type(session->evlist);
tools/perf/builtin-report.c
383
sample_type |= PERF_SAMPLE_CALLCHAIN;
tools/perf/builtin-report.c
387
sample_type |= PERF_SAMPLE_BRANCH_STACK;
tools/perf/builtin-report.c
389
if (!is_pipe && !(sample_type & PERF_SAMPLE_CALLCHAIN)) {
tools/perf/builtin-report.c
415
if (!(sample_type & PERF_SAMPLE_CALLCHAIN)) {
tools/perf/builtin-report.c
423
!(sample_type & PERF_SAMPLE_BRANCH_STACK)) {
tools/perf/builtin-report.c
438
!(sample_type & PERF_SAMPLE_DATA_SRC)) {
tools/perf/builtin-report.c
439
evsel->core.attr.sample_type |= PERF_SAMPLE_DATA_SRC;
tools/perf/builtin-report.c
440
sample_type |= PERF_SAMPLE_DATA_SRC;
tools/perf/builtin-report.c
444
if (!is_pipe && !(sample_type & PERF_SAMPLE_DATA_SRC)) {
tools/perf/builtin-report.c
451
callchain_param_setup(sample_type, perf_session__e_machine(session, /*e_flags=*/NULL));
tools/perf/builtin-script.c
1702
((evsel->core.attr.sample_type & PERF_SAMPLE_ADDR) &&
tools/perf/builtin-script.c
2707
if ((evsel->core.attr.sample_type & PERF_SAMPLE_ADDR) &&
tools/perf/builtin-script.c
2822
u64 sample_type;
tools/perf/builtin-script.c
2852
if (evsel->core.attr.sample_type) {
tools/perf/builtin-script.c
2862
sample_type = evlist__combined_sample_type(evlist);
tools/perf/builtin-script.c
2864
callchain_param_setup(sample_type, e_machine);
tools/perf/builtin-script.c
2868
(sample_type & PERF_SAMPLE_CALLCHAIN ||
tools/perf/builtin-script.c
2869
sample_type & PERF_SAMPLE_BRANCH_STACK ||
tools/perf/builtin-script.c
2870
(sample_type & PERF_SAMPLE_REGS_USER &&
tools/perf/builtin-script.c
2871
sample_type & PERF_SAMPLE_STACK_USER))) {
tools/perf/builtin-script.c
3837
u64 sample_type = evlist__combined_sample_type(session->evlist);
tools/perf/builtin-script.c
3839
callchain_param_setup(sample_type, perf_session__e_machine(session, /*e_flags=*/NULL));
tools/perf/builtin-script.c
439
static int evsel__do_check_stype(struct evsel *evsel, u64 sample_type, const char *sample_msg,
tools/perf/builtin-script.c
446
if (attr->sample_type & sample_type)
tools/perf/builtin-script.c
469
static int evsel__check_stype(struct evsel *evsel, u64 sample_type, const char *sample_msg,
tools/perf/builtin-script.c
472
return evsel__do_check_stype(evsel, sample_type, sample_msg, field, false);
tools/perf/builtin-script.c
510
!(evsel->core.attr.sample_type & (PERF_SAMPLE_IP|PERF_SAMPLE_ADDR))) {
tools/perf/builtin-script.c
522
!(evsel->core.attr.sample_type & (PERF_SAMPLE_IP|PERF_SAMPLE_ADDR))) {
tools/perf/builtin-stat.c
734
attr->sample_type = PERF_SAMPLE_IDENTIFIER;
tools/perf/builtin-timechart.c
582
if (evsel->core.attr.sample_type & PERF_SAMPLE_TIME) {
tools/perf/builtin-trace.c
3457
(evsel->core.attr.sample_type & PERF_SAMPLE_TIME))
tools/perf/tests/bp_account.c
57
attr->sample_type = PERF_SAMPLE_IP;
tools/perf/tests/bp_signal.c
118
pe.sample_type = PERF_SAMPLE_IP;
tools/perf/tests/bp_signal_overflow.c
95
pe.sample_type = PERF_SAMPLE_IP;
tools/perf/tests/dlfilter-test.c
111
static int write_attr(struct test_data *td, u64 sample_type, u64 *id)
tools/perf/tests/dlfilter-test.c
117
.sample_type = sample_type,
tools/perf/tests/dlfilter-test.c
172
static int write_sample(struct test_data *td, u64 sample_type, u64 id, pid_t pid, pid_t tid)
tools/perf/tests/dlfilter-test.c
191
event->header.size = perf_event__sample_event_size(&sample, sample_type, 0);
tools/perf/tests/dlfilter-test.c
192
err = perf_event__synthesize_sample(event, sample_type, 0, &sample);
tools/perf/tests/dlfilter-test.c
322
u64 sample_type = TEST_SAMPLE_TYPE;
tools/perf/tests/dlfilter-test.c
367
err = write_attr(td, sample_type, &id);
tools/perf/tests/dlfilter-test.c
380
if (write_sample(td, sample_type, id, pid, tid) != TEST_OK) {
tools/perf/tests/parse-events.c
1035
evsel->core.attr.sample_type == PERF_TP_SAMPLE_TYPE,
tools/perf/tests/parse-events.c
116
PERF_TP_SAMPLE_TYPE == evsel->core.attr.sample_type, evsel);
tools/perf/tests/parse-events.c
133
PERF_TP_SAMPLE_TYPE == evsel->core.attr.sample_type,
tools/perf/tests/parse-events.c
683
TEST_ASSERT_EVSEL("wrong sample_type", PERF_TP_SAMPLE_TYPE == evsel->core.attr.sample_type,
tools/perf/tests/parse-events.c
741
TEST_ASSERT_EVSEL("wrong time", !(PERF_SAMPLE_TIME & evsel->core.attr.sample_type), evsel);
tools/perf/tests/parse-events.c
753
TEST_ASSERT_EVSEL("wrong time", !(PERF_SAMPLE_TIME & evsel->core.attr.sample_type), evsel);
tools/perf/tests/sample-parsing.c
206
static int do_test(u64 sample_type, u64 sample_regs, u64 read_format)
tools/perf/tests/sample-parsing.c
212
.sample_type = sample_type,
tools/perf/tests/sample-parsing.c
292
if (sample_type & PERF_SAMPLE_REGS_USER)
tools/perf/tests/sample-parsing.c
295
if (sample_type & PERF_SAMPLE_REGS_INTR)
tools/perf/tests/sample-parsing.c
298
if (sample_type & PERF_SAMPLE_BRANCH_STACK)
tools/perf/tests/sample-parsing.c
313
sz = perf_event__sample_event_size(&sample, sample_type, read_format);
tools/perf/tests/sample-parsing.c
326
err = perf_event__synthesize_sample(event, sample_type, read_format,
tools/perf/tests/sample-parsing.c
330
"perf_event__synthesize_sample", sample_type, err);
tools/perf/tests/sample-parsing.c
345
evsel.sample_size = __evsel__sample_size(sample_type);
tools/perf/tests/sample-parsing.c
350
"evsel__parse_sample", sample_type, err);
tools/perf/tests/sample-parsing.c
354
if (!samples_same(&sample, &sample_out, sample_type, read_format, evsel.needs_swap)) {
tools/perf/tests/sample-parsing.c
356
sample_type);
tools/perf/tests/sample-parsing.c
360
if (sample_type == PERF_SAMPLE_BRANCH_STACK) {
tools/perf/tests/sample-parsing.c
362
evsel.sample_size = __evsel__sample_size(sample_type);
tools/perf/tests/sample-parsing.c
366
"evsel__parse_sample", sample_type, err);
tools/perf/tests/sample-parsing.c
370
if (!samples_same(&sample, &sample_out_endian, sample_type, read_format, evsel.needs_swap)) {
tools/perf/tests/sample-parsing.c
372
sample_type);
tools/perf/tests/sample-parsing.c
398
u64 sample_type;
tools/perf/tests/sample-parsing.c
414
for (sample_type = 1; sample_type != PERF_SAMPLE_MAX;
tools/perf/tests/sample-parsing.c
415
sample_type <<= 1) {
tools/perf/tests/sample-parsing.c
417
if (sample_type == PERF_SAMPLE_READ) {
tools/perf/tests/sample-parsing.c
419
err = do_test(sample_type, 0, rf[i]);
tools/perf/tests/sample-parsing.c
427
if (sample_type == PERF_SAMPLE_REGS_USER)
tools/perf/tests/sample-parsing.c
430
if (sample_type == PERF_SAMPLE_REGS_INTR)
tools/perf/tests/sample-parsing.c
433
err = do_test(sample_type, sample_regs, 0);
tools/perf/tests/sample-parsing.c
443
sample_type = (PERF_SAMPLE_MAX - 1) & ~PERF_SAMPLE_WEIGHT;
tools/perf/tests/sample-parsing.c
446
err = do_test(sample_type, sample_regs, rf[i]);
tools/perf/tests/sample-parsing.c
450
sample_type = (PERF_SAMPLE_MAX - 1) & ~PERF_SAMPLE_WEIGHT_STRUCT;
tools/perf/tests/sample-parsing.c
452
err = do_test(sample_type, sample_regs, rf[i]);
tools/perf/tests/sw-clock.c
42
.sample_type = PERF_SAMPLE_PERIOD,
tools/perf/tests/wp.c
54
attr->sample_type = PERF_SAMPLE_IP;
tools/perf/ui/browsers/scripts.c
41
if (attr->sample_type & PERF_SAMPLE_BRANCH_STACK)
tools/perf/ui/browsers/scripts.c
43
if (attr->sample_type & PERF_SAMPLE_REGS_INTR)
tools/perf/ui/browsers/scripts.c
45
if (attr->sample_type & PERF_SAMPLE_REGS_USER)
tools/perf/ui/browsers/scripts.c
47
if (attr->sample_type & PERF_SAMPLE_PHYS_ADDR)
tools/perf/util/arm-spe.c
1285
if ((evsel->core.attr.sample_type & PERF_SAMPLE_TIME))
tools/perf/util/arm-spe.c
1717
attr.sample_type = evsel->core.attr.sample_type &
tools/perf/util/arm-spe.c
1719
attr.sample_type |= PERF_SAMPLE_IP | PERF_SAMPLE_TID |
tools/perf/util/arm-spe.c
1723
attr.sample_type &= ~(u64)PERF_SAMPLE_TIME;
tools/perf/util/arm-spe.c
1725
attr.sample_type |= PERF_SAMPLE_TIME;
tools/perf/util/arm-spe.c
1727
spe->sample_type = attr.sample_type;
tools/perf/util/arm-spe.c
1805
attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
tools/perf/util/arm-spe.c
486
ret = arm_spe__inject_event(event, sample, spe->sample_type);
tools/perf/util/arm-spe.c
74
u64 sample_type;
tools/perf/util/bpf-filter.c
126
(evsel->core.attr.sample_type & (1 << (expr->term - PBF_TERM_SAMPLE_START))))
tools/perf/util/bpf_off_cpu.c
323
u64 sample_type, val, sid = 0;
tools/perf/util/bpf_off_cpu.c
343
sample_type = evsel->core.attr.sample_type;
tools/perf/util/bpf_off_cpu.c
345
if (sample_type & ~OFFCPU_SAMPLE_TYPES) {
tools/perf/util/bpf_off_cpu.c
347
(unsigned long long)sample_type);
tools/perf/util/bpf_off_cpu.c
351
if (sample_type & (PERF_SAMPLE_ID | PERF_SAMPLE_IDENTIFIER)) {
tools/perf/util/bpf_off_cpu.c
366
if (sample_type & PERF_SAMPLE_IDENTIFIER)
tools/perf/util/bpf_off_cpu.c
368
if (sample_type & PERF_SAMPLE_IP)
tools/perf/util/bpf_off_cpu.c
370
if (sample_type & PERF_SAMPLE_TID)
tools/perf/util/bpf_off_cpu.c
372
if (sample_type & PERF_SAMPLE_TIME)
tools/perf/util/bpf_off_cpu.c
374
if (sample_type & PERF_SAMPLE_CPU)
tools/perf/util/bpf_off_cpu.c
376
if (sample_type & PERF_SAMPLE_PERIOD)
tools/perf/util/bpf_off_cpu.c
378
if (sample_type & PERF_SAMPLE_RAW) {
tools/perf/util/bpf_off_cpu.c
411
if (sample_type & PERF_SAMPLE_CGROUP)
tools/perf/util/callchain.c
1684
void callchain_param_setup(u64 sample_type, uint16_t e_machine)
tools/perf/util/callchain.c
1687
if ((sample_type & PERF_SAMPLE_REGS_USER) &&
tools/perf/util/callchain.c
1688
(sample_type & PERF_SAMPLE_STACK_USER)) {
tools/perf/util/callchain.c
1691
} else if (sample_type & PERF_SAMPLE_BRANCH_STACK)
tools/perf/util/callchain.h
306
void callchain_param_setup(u64 sample_type, uint16_t e_machine);
tools/perf/util/cs-etm-decoder/cs-etm-decoder.c
394
enum cs_etm_sample_type sample_type)
tools/perf/util/cs-etm-decoder/cs-etm-decoder.c
410
packet_queue->packet_buffer[et].sample_type = sample_type;
tools/perf/util/cs-etm.c
1356
if (packet->sample_type == CS_ETM_DISCONTINUITY ||
tools/perf/util/cs-etm.c
1357
packet->sample_type == CS_ETM_EXCEPTION)
tools/perf/util/cs-etm.c
1367
if (packet->sample_type == CS_ETM_DISCONTINUITY)
tools/perf/util/cs-etm.c
1520
if (packet->sample_type == CS_ETM_DISCONTINUITY) {
tools/perf/util/cs-etm.c
1711
attr.sample_type = evsel->core.attr.sample_type & PERF_SAMPLE_MASK;
tools/perf/util/cs-etm.c
1712
attr.sample_type |= PERF_SAMPLE_IP | PERF_SAMPLE_TID |
tools/perf/util/cs-etm.c
1715
attr.sample_type &= ~(u64)PERF_SAMPLE_TIME;
tools/perf/util/cs-etm.c
1717
attr.sample_type |= PERF_SAMPLE_TIME;
tools/perf/util/cs-etm.c
1733
attr.sample_type |= PERF_SAMPLE_ADDR;
tools/perf/util/cs-etm.c
1737
etm->branches_sample_type = attr.sample_type;
tools/perf/util/cs-etm.c
1740
attr.sample_type &= ~(u64)PERF_SAMPLE_ADDR;
tools/perf/util/cs-etm.c
1744
attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
tools/perf/util/cs-etm.c
1760
etm->instructions_sample_type = attr.sample_type;
tools/perf/util/cs-etm.c
1786
tidq->prev_packet->sample_type == CS_ETM_RANGE &&
tools/perf/util/cs-etm.c
1877
if (tidq->prev_packet->sample_type == CS_ETM_DISCONTINUITY)
tools/perf/util/cs-etm.c
1881
if (tidq->prev_packet->sample_type == CS_ETM_RANGE &&
tools/perf/util/cs-etm.c
1910
if (tidq->prev_packet->sample_type == CS_ETM_RANGE)
tools/perf/util/cs-etm.c
1923
if (tidq->prev_packet->sample_type == CS_ETM_EMPTY)
tools/perf/util/cs-etm.c
1928
tidq->prev_packet->sample_type == CS_ETM_RANGE) {
tools/perf/util/cs-etm.c
1954
tidq->prev_packet->sample_type == CS_ETM_RANGE) {
tools/perf/util/cs-etm.c
1986
tidq->prev_packet->sample_type == CS_ETM_RANGE) {
tools/perf/util/cs-etm.c
2217
switch (packet->sample_type) {
tools/perf/util/cs-etm.c
2281
if (prev_packet->sample_type == CS_ETM_DISCONTINUITY)
tools/perf/util/cs-etm.c
2306
if (prev_packet->sample_type == CS_ETM_RANGE)
tools/perf/util/cs-etm.c
2345
if (prev_packet->sample_type == CS_ETM_RANGE)
tools/perf/util/cs-etm.c
2374
if (prev_packet->sample_type == CS_ETM_RANGE)
tools/perf/util/cs-etm.c
2445
switch (tidq->packet->sample_type) {
tools/perf/util/cs-etm.h
173
enum cs_etm_sample_type sample_type;
tools/perf/util/data-convert-bt.c
1114
u64 type = evsel->core.attr.sample_type;
tools/perf/util/data-convert-bt.c
608
u64 type = evsel->core.attr.sample_type;
tools/perf/util/data-convert-bt.c
778
if (evsel->core.attr.sample_type & PERF_SAMPLE_CPU)
tools/perf/util/data-convert-bt.c
816
unsigned long type = evsel->core.attr.sample_type;
tools/perf/util/data-convert-json.c
168
u64 sample_type = __evlist__combined_sample_type(evsel->evlist);
tools/perf/util/data-convert-json.c
195
if ((sample_type & PERF_SAMPLE_CPU))
tools/perf/util/dlfilter.c
563
(evsel->core.attr.sample_type & PERF_SAMPLE_ADDR) &&
tools/perf/util/evlist.c
1249
evlist->combined_sample_type |= evsel->core.attr.sample_type;
tools/perf/util/evlist.c
1340
u64 sample_type = first->core.attr.sample_type;
tools/perf/util/evlist.c
1350
if ((sample_type & PERF_SAMPLE_READ) &&
tools/perf/util/evsel.c
1114
u64 type = evsel->core.attr.sample_type;
tools/perf/util/evsel.c
1145
prev_type = evsel_prev->core.attr.sample_type;
tools/perf/util/evsel.c
1462
evsel->core.attr.sample_type & PERF_SAMPLE_RAW;
tools/perf/util/evsel.c
150
WRITE_ASS(sample_type, "llu");
tools/perf/util/evsel.c
1743
evsel->core.attr.sample_type &= OFFCPU_SAMPLE_TYPES;
tools/perf/util/evsel.c
2329
(evsel->core.attr.sample_type & PERF_SAMPLE_READ))
tools/perf/util/evsel.c
2471
.sample_type = PERF_SAMPLE_BRANCH_STACK,
tools/perf/util/evsel.c
256
int __evsel__sample_size(u64 sample_type)
tools/perf/util/evsel.c
258
u64 mask = sample_type & PERF_SAMPLE_MASK;
tools/perf/util/evsel.c
2610
attr.sample_type = PERF_SAMPLE_READ | PERF_SAMPLE_TID;
tools/perf/util/evsel.c
2616
attr.sample_type = 0;
tools/perf/util/evsel.c
2625
attr.sample_type = PERF_SAMPLE_WEIGHT_STRUCT;
tools/perf/util/evsel.c
2630
attr.sample_type = 0;
tools/perf/util/evsel.c
2632
attr.sample_type = PERF_SAMPLE_CODE_PAGE_SIZE;
tools/perf/util/evsel.c
2637
attr.sample_type = 0;
tools/perf/util/evsel.c
2639
attr.sample_type = PERF_SAMPLE_DATA_PAGE_SIZE;
tools/perf/util/evsel.c
2644
attr.sample_type = 0;
tools/perf/util/evsel.c
2725
(evsel->core.attr.sample_type & PERF_SAMPLE_READ) &&
tools/perf/util/evsel.c
2737
if ((evsel->core.attr.sample_type & PERF_SAMPLE_WEIGHT_STRUCT) &&
tools/perf/util/evsel.c
280
static int __perf_evsel__calc_id_pos(u64 sample_type)
tools/perf/util/evsel.c
284
if (sample_type & PERF_SAMPLE_IDENTIFIER)
tools/perf/util/evsel.c
287
if (!(sample_type & PERF_SAMPLE_ID))
tools/perf/util/evsel.c
290
if (sample_type & PERF_SAMPLE_IP)
tools/perf/util/evsel.c
293
if (sample_type & PERF_SAMPLE_TID)
tools/perf/util/evsel.c
296
if (sample_type & PERF_SAMPLE_TIME)
tools/perf/util/evsel.c
299
if (sample_type & PERF_SAMPLE_ADDR)
tools/perf/util/evsel.c
3004
u64 type = evsel->core.attr.sample_type;
tools/perf/util/evsel.c
313
static int __perf_evsel__calc_is_pos(u64 sample_type)
tools/perf/util/evsel.c
317
if (sample_type & PERF_SAMPLE_IDENTIFIER)
tools/perf/util/evsel.c
320
if (!(sample_type & PERF_SAMPLE_ID))
tools/perf/util/evsel.c
3207
u64 type = evsel->core.attr.sample_type;
tools/perf/util/evsel.c
323
if (sample_type & PERF_SAMPLE_CPU)
tools/perf/util/evsel.c
326
if (sample_type & PERF_SAMPLE_STREAM_ID)
tools/perf/util/evsel.c
334
evsel->id_pos = __perf_evsel__calc_id_pos(evsel->core.attr.sample_type);
tools/perf/util/evsel.c
335
evsel->is_pos = __perf_evsel__calc_is_pos(evsel->core.attr.sample_type);
tools/perf/util/evsel.c
341
if (!(evsel->core.attr.sample_type & bit)) {
tools/perf/util/evsel.c
342
evsel->core.attr.sample_type |= bit;
tools/perf/util/evsel.c
351
if (evsel->core.attr.sample_type & bit) {
tools/perf/util/evsel.c
352
evsel->core.attr.sample_type &= ~bit;
tools/perf/util/evsel.c
3594
u64 type = evsel->core.attr.sample_type;
tools/perf/util/evsel.c
3636
u64 sample_type = evsel->core.attr.sample_type;
tools/perf/util/evsel.c
3639
if (sample_type & PERF_SAMPLE_TID)
tools/perf/util/evsel.c
3642
if (sample_type & PERF_SAMPLE_TIME)
tools/perf/util/evsel.c
3645
if (sample_type & PERF_SAMPLE_ID)
tools/perf/util/evsel.c
3648
if (sample_type & PERF_SAMPLE_STREAM_ID)
tools/perf/util/evsel.c
3651
if (sample_type & PERF_SAMPLE_CPU)
tools/perf/util/evsel.c
3654
if (sample_type & PERF_SAMPLE_IDENTIFIER)
tools/perf/util/evsel.c
403
evsel->sample_size = __evsel__sample_size(attr->sample_type);
tools/perf/util/evsel.c
4042
if (evsel->core.attr.sample_type & PERF_SAMPLE_BRANCH_STACK)
tools/perf/util/evsel.c
4083
if (evsel->core.attr.sample_type & PERF_SAMPLE_CODE_PAGE_SIZE && perf_missing_features.code_page_size)
tools/perf/util/evsel.c
4085
if (evsel->core.attr.sample_type & PERF_SAMPLE_DATA_PAGE_SIZE && perf_missing_features.data_page_size)
tools/perf/util/evsel.c
423
if (evsel__is_bpf_output(evsel) && !attr->sample_type) {
tools/perf/util/evsel.c
424
evsel->core.attr.sample_type = (PERF_SAMPLE_RAW | PERF_SAMPLE_TIME |
tools/perf/util/evsel.c
585
.sample_type = (PERF_SAMPLE_RAW | PERF_SAMPLE_TIME |
tools/perf/util/evsel.h
293
int __evsel__sample_size(u64 sample_type);
tools/perf/util/evsel.h
527
return evsel->core.attr.sample_type & PERF_SAMPLE_CALLCHAIN ||
tools/perf/util/evsel.h
537
return evsel->core.attr.sample_type & PERF_SAMPLE_BRANCH_STACK ||
tools/perf/util/header.c
2060
if (attr->sample_type & ~(PERF_SAMPLE_MAX-1)) {
tools/perf/util/header.c
2063
attr->sample_type);
tools/perf/util/header.c
2074
if ((attr->sample_type & PERF_SAMPLE_BRANCH_STACK) &&
tools/perf/util/intel-bts.c
767
attr.sample_type = evsel->core.attr.sample_type & PERF_SAMPLE_MASK;
tools/perf/util/intel-bts.c
768
attr.sample_type |= PERF_SAMPLE_IP | PERF_SAMPLE_TID |
tools/perf/util/intel-bts.c
770
attr.sample_type &= ~(u64)PERF_SAMPLE_TIME;
tools/perf/util/intel-bts.c
771
attr.sample_type &= ~(u64)PERF_SAMPLE_CPU;
tools/perf/util/intel-bts.c
785
attr.sample_type |= PERF_SAMPLE_ADDR;
tools/perf/util/intel-bts.c
787
id, (u64)attr.sample_type);
tools/perf/util/intel-bts.c
795
bts->branches_sample_type = attr.sample_type;
tools/perf/util/intel-bts.c
802
__evsel__sample_size(attr.sample_type);
tools/perf/util/intel-pt.c
1121
if (!(evsel->core.attr.sample_type & PERF_SAMPLE_TIME))
tools/perf/util/intel-pt.c
1183
if ((evsel->core.attr.sample_type & PERF_SAMPLE_AUX) &&
tools/perf/util/intel-pt.c
1226
if (!(evsel->core.attr.sample_type & PERF_SAMPLE_CALLCHAIN))
tools/perf/util/intel-pt.c
1264
if (!(evsel->core.attr.sample_type & PERF_SAMPLE_BRANCH_STACK))
tools/perf/util/intel-pt.c
2422
u64 sample_type = evsel->core.attr.sample_type;
tools/perf/util/intel-pt.c
2453
if (sample_type & PERF_SAMPLE_TIME) {
tools/perf/util/intel-pt.c
2464
if (sample_type & PERF_SAMPLE_CALLCHAIN &&
tools/perf/util/intel-pt.c
2472
if (sample_type & PERF_SAMPLE_REGS_INTR &&
tools/perf/util/intel-pt.c
2489
if (sample_type & PERF_SAMPLE_BRANCH_STACK) {
tools/perf/util/intel-pt.c
2504
if (sample_type & PERF_SAMPLE_ADDR && items->has_mem_access_address)
tools/perf/util/intel-pt.c
2507
if (sample_type & PERF_SAMPLE_WEIGHT_TYPE) {
tools/perf/util/intel-pt.c
2537
if (sample_type & PERF_SAMPLE_DATA_SRC) {
tools/perf/util/intel-pt.c
2549
if (sample_type & PERF_SAMPLE_TRANSACTION && items->has_tsx_aux_info) {
tools/perf/util/intel-pt.c
2560
ret = intel_pt_deliver_synth_event(pt, event, &sample, sample_type);
tools/perf/util/intel-pt.c
3918
name, id, (u64)attr->sample_type);
tools/perf/util/intel-pt.c
3973
attr.sample_type = evsel->core.attr.sample_type & PERF_SAMPLE_MASK;
tools/perf/util/intel-pt.c
3974
attr.sample_type |= PERF_SAMPLE_IP | PERF_SAMPLE_TID |
tools/perf/util/intel-pt.c
3977
attr.sample_type &= ~(u64)PERF_SAMPLE_TIME;
tools/perf/util/intel-pt.c
3979
attr.sample_type |= PERF_SAMPLE_TIME;
tools/perf/util/intel-pt.c
3981
attr.sample_type &= ~(u64)PERF_SAMPLE_CPU;
tools/perf/util/intel-pt.c
3995
attr.sample_type |= PERF_SAMPLE_ADDR;
tools/perf/util/intel-pt.c
4000
pt->branches_sample_type = attr.sample_type;
tools/perf/util/intel-pt.c
4003
attr.sample_type &= ~(u64)PERF_SAMPLE_ADDR;
tools/perf/util/intel-pt.c
4007
attr.sample_type |= PERF_SAMPLE_CALLCHAIN;
tools/perf/util/intel-pt.c
4009
attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
tools/perf/util/intel-pt.c
4029
pt->instructions_sample_type = attr.sample_type;
tools/perf/util/intel-pt.c
4045
pt->cycles_sample_type = attr.sample_type;
tools/perf/util/intel-pt.c
4050
attr.sample_type &= ~(u64)PERF_SAMPLE_PERIOD;
tools/perf/util/intel-pt.c
4059
pt->transactions_sample_type = attr.sample_type;
tools/perf/util/intel-pt.c
4066
attr.sample_type |= PERF_SAMPLE_RAW;
tools/perf/util/intel-pt.c
4074
pt->ptwrites_sample_type = attr.sample_type;
tools/perf/util/intel-pt.c
4082
pt->pwr_events_sample_type = attr.sample_type;
tools/perf/util/intel-pt.c
4140
pt->evt_sample_type = attr.sample_type;
tools/perf/util/intel-pt.c
4151
pt->iflag_chg_sample_type = attr.sample_type;
tools/perf/util/jitdump.c
42
uint64_t sample_type;
tools/perf/util/jitdump.c
510
if (jd->sample_type & PERF_SAMPLE_TID) {
tools/perf/util/jitdump.c
514
if (jd->sample_type & PERF_SAMPLE_TIME)
tools/perf/util/jitdump.c
621
if (jd->sample_type & PERF_SAMPLE_TID) {
tools/perf/util/jitdump.c
625
if (jd->sample_type & PERF_SAMPLE_TIME)
tools/perf/util/jitdump.c
902
jd.sample_type = first->core.attr.sample_type;
tools/perf/util/machine.c
2994
if (!((evsel->core.attr.sample_type & PERF_SAMPLE_REGS_USER) &&
tools/perf/util/machine.c
2995
(evsel->core.attr.sample_type & PERF_SAMPLE_STACK_USER)))
tools/perf/util/perf-regs-arch/perf_regs_aarch64.c
112
.sample_type = PERF_SAMPLE_REGS_USER,
tools/perf/util/perf-regs-arch/perf_regs_powerpc.c
139
.sample_type = PERF_SAMPLE_REGS_INTR,
tools/perf/util/perf-regs-arch/perf_regs_x86.c
243
.sample_type = PERF_SAMPLE_REGS_INTR,
tools/perf/util/perf_api_probe.c
95
evsel->core.attr.sample_type |= PERF_SAMPLE_IDENTIFIER;
tools/perf/util/perf_event_attr_fprintf.c
306
PRINT_ATTRf(sample_type, p_sample_type);
tools/perf/util/powerpc-vpadtl.c
654
attr.sample_type = evsel->core.attr.sample_type;
tools/perf/util/python.c
1013
&sample_period, &attr.sample_type,
tools/perf/util/python.c
1241
evsel_attr_member_def(sample_type, T_ULONGLONG, "attribute sample_type."),
tools/perf/util/python.c
954
.sample_type = PERF_SAMPLE_PERIOD | PERF_SAMPLE_TID,
tools/perf/util/record.c
129
if (evsel->core.attr.sample_type == first->core.attr.sample_type)
tools/perf/util/record.c
91
attr->sample_type = read_sampler->core.attr.sample_type |
tools/perf/util/record.c
92
leader->core.attr.sample_type;
tools/perf/util/session.c
1035
u64 sample_type = __evlist__combined_sample_type(evlist);
tools/perf/util/session.c
1043
if ((sample_type & PERF_SAMPLE_CPU))
tools/perf/util/session.c
1046
if (sample_type & PERF_SAMPLE_TIME)
tools/perf/util/session.c
1116
u64 sample_type;
tools/perf/util/session.c
1124
sample_type = evsel->core.attr.sample_type;
tools/perf/util/session.c
1126
if (sample_type & (PERF_SAMPLE_REGS_USER | PERF_SAMPLE_REGS_INTR)) {
tools/perf/util/session.c
1142
if (sample_type & PERF_SAMPLE_REGS_USER)
tools/perf/util/session.c
1145
if (sample_type & PERF_SAMPLE_REGS_INTR)
tools/perf/util/session.c
1148
if (sample_type & PERF_SAMPLE_STACK_USER)
tools/perf/util/session.c
1151
if (sample_type & PERF_SAMPLE_WEIGHT_TYPE) {
tools/perf/util/session.c
1153
if (sample_type & PERF_SAMPLE_WEIGHT_STRUCT) {
tools/perf/util/session.c
1160
if (sample_type & PERF_SAMPLE_DATA_SRC)
tools/perf/util/session.c
1163
if (sample_type & PERF_SAMPLE_PHYS_ADDR)
tools/perf/util/session.c
1166
if (sample_type & PERF_SAMPLE_DATA_PAGE_SIZE)
tools/perf/util/session.c
1169
if (sample_type & PERF_SAMPLE_CODE_PAGE_SIZE)
tools/perf/util/session.c
1172
if (sample_type & PERF_SAMPLE_TRANSACTION)
tools/perf/util/session.c
1175
if (sample_type & PERF_SAMPLE_READ)
tools/perf/util/session.c
1319
u64 sample_type = evsel->core.attr.sample_type;
tools/perf/util/session.c
1324
if (!(sample_type & PERF_SAMPLE_READ))
tools/perf/util/session.c
2781
if (!(evsel->core.attr.sample_type & PERF_SAMPLE_CPU)) {
tools/perf/util/session.c
509
bswap_field_64(sample_type);
tools/perf/util/synthetic-events.c
2283
ret = perf_event__synthesize_id_sample(array, evsel->core.attr.sample_type, sample);
tools/perf/util/synthetic-events.c
2342
ret = perf_event__synthesize_id_sample(array, evsel->core.attr.sample_type, sample);
tools/power/x86/turbostat/turbostat.c
2573
attr.sample_type = PERF_SAMPLE_IDENTIFIER;
tools/testing/selftests/bpf/benchs/bench_ringbufs.c
457
attr.sample_type = PERF_SAMPLE_RAW;
tools/testing/selftests/bpf/prog_tests/get_branch_snapshot.c
42
attr.sample_type = PERF_SAMPLE_BRANCH_STACK;
tools/testing/selftests/bpf/prog_tests/get_stackid_cannot_attach.c
13
.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_BRANCH_STACK,
tools/testing/selftests/bpf/prog_tests/get_stackid_cannot_attach.c
55
attr.sample_type |= PERF_SAMPLE_CALLCHAIN;
tools/testing/selftests/bpf/prog_tests/perf_branches.c
126
attr.sample_type = PERF_SAMPLE_BRANCH_STACK;
tools/testing/selftests/bpf/prog_tests/perf_event_stackmap.c
60
.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_BRANCH_STACK |
tools/testing/selftests/bpf/prog_tests/perf_skip.c
67
attr.sample_type = PERF_SAMPLE_IP;
tools/testing/selftests/bpf/prog_tests/task_fd_query_tp.c
38
attr.sample_type = PERF_SAMPLE_RAW;
tools/testing/selftests/bpf/prog_tests/tp_attach_query.c
37
attr.sample_type = PERF_SAMPLE_RAW | PERF_SAMPLE_CALLCHAIN;
tools/testing/selftests/powerpc/pmu/event.c
39
e->attr.sample_type = PERF_SAMPLE_REGS_INTR;
tools/testing/selftests/powerpc/pmu/sampling_tests/bhrb_filter_map_test.c
59
event.attr.sample_type = PERF_SAMPLE_BRANCH_STACK;
tools/testing/selftests/powerpc/pmu/sampling_tests/bhrb_no_crash_wo_pmu_test.c
41
event.attr.sample_type = PERF_SAMPLE_BRANCH_STACK;
tools/testing/selftests/powerpc/pmu/sampling_tests/intr_regs_no_crash_wo_pmu_test.c
40
event.attr.sample_type = PERF_SAMPLE_REGS_INTR;
tools/testing/selftests/powerpc/pmu/sampling_tests/misc.c
115
event.attr.sample_type = PERF_SAMPLE_REGS_INTR;
tools/testing/selftests/powerpc/pmu/sampling_tests/misc.c
277
u64 type = event->attr.sample_type;
tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_bhrb_any_test.c
36
event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_bhrb_cond_test.c
40
event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_bhrb_disable_test.c
37
event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_bhrb_ind_call_test.c
40
event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
tools/testing/selftests/resctrl/resctrl_val.c
56
imc_counters_config[i].pe.sample_type = PERF_SAMPLE_IDENTIFIER;
tools/testing/selftests/user_events/perf_test.c
162
pe.sample_type = PERF_SAMPLE_RAW;
tools/testing/selftests/user_events/perf_test.c
224
pe.sample_type = PERF_SAMPLE_RAW;