PERF_SAMPLE_WEIGHT_STRUCT
if (sample_type & PERF_SAMPLE_WEIGHT_STRUCT) {
if (sample_type & PERF_SAMPLE_WEIGHT_STRUCT)
if (sample_type & PERF_SAMPLE_WEIGHT_STRUCT)
#define PERF_SAMPLE_WEIGHT_TYPE (PERF_SAMPLE_WEIGHT | PERF_SAMPLE_WEIGHT_STRUCT)
(attr->sample_type & PERF_SAMPLE_WEIGHT_STRUCT))
#define PERF_SAMPLE_WEIGHT_TYPE (PERF_SAMPLE_WEIGHT | PERF_SAMPLE_WEIGHT_STRUCT)
evsel__check_stype(evsel, PERF_SAMPLE_WEIGHT_STRUCT, "WEIGHT_STRUCT", PERF_OUTPUT_INS_LAT))
evsel__check_stype(evsel, PERF_SAMPLE_WEIGHT_STRUCT, "WEIGHT_STRUCT", PERF_OUTPUT_RETIRE_LAT))
if (type & PERF_SAMPLE_WEIGHT_STRUCT) {
if (PERF_SAMPLE_MAX > PERF_SAMPLE_WEIGHT_STRUCT << 1) {
sample_type = (PERF_SAMPLE_MAX - 1) & ~PERF_SAMPLE_WEIGHT_STRUCT;
attr.sample_type = PERF_SAMPLE_WEIGHT_STRUCT;
if ((evsel->core.attr.sample_type & PERF_SAMPLE_WEIGHT_STRUCT) &&
if (type & PERF_SAMPLE_WEIGHT_STRUCT) {
if (sample_type & PERF_SAMPLE_WEIGHT_STRUCT) {
if (type & PERF_SAMPLE_WEIGHT_STRUCT) {