Lines Matching defs:sample_type

1847 static void __perf_event_header_size(struct perf_event *event, u64 sample_type)
1852 if (sample_type & PERF_SAMPLE_IP)
1855 if (sample_type & PERF_SAMPLE_ADDR)
1858 if (sample_type & PERF_SAMPLE_PERIOD)
1861 if (sample_type & PERF_SAMPLE_WEIGHT_TYPE)
1864 if (sample_type & PERF_SAMPLE_READ)
1867 if (sample_type & PERF_SAMPLE_DATA_SRC)
1870 if (sample_type & PERF_SAMPLE_TRANSACTION)
1873 if (sample_type & PERF_SAMPLE_PHYS_ADDR)
1876 if (sample_type & PERF_SAMPLE_CGROUP)
1879 if (sample_type & PERF_SAMPLE_DATA_PAGE_SIZE)
1882 if (sample_type & PERF_SAMPLE_CODE_PAGE_SIZE)
1897 __perf_event_header_size(event, event->attr.sample_type);
1903 u64 sample_type = event->attr.sample_type;
1906 if (sample_type & PERF_SAMPLE_TID)
1909 if (sample_type & PERF_SAMPLE_TIME)
1912 if (sample_type & PERF_SAMPLE_IDENTIFIER)
1915 if (sample_type & PERF_SAMPLE_ID)
1918 if (sample_type & PERF_SAMPLE_STREAM_ID)
1921 if (sample_type & PERF_SAMPLE_CPU)
5233 if (event->attr.sample_type & PERF_SAMPLE_CALLCHAIN)
7138 u64 sample_type)
7140 data->type = event->attr.sample_type;
7143 if (sample_type & PERF_SAMPLE_TID) {
7149 if (sample_type & PERF_SAMPLE_TIME)
7152 if (sample_type & (PERF_SAMPLE_ID | PERF_SAMPLE_IDENTIFIER))
7155 if (sample_type & PERF_SAMPLE_STREAM_ID)
7158 if (sample_type & PERF_SAMPLE_CPU) {
7170 __perf_event_header__init_id(data, event, event->attr.sample_type);
7177 u64 sample_type = data->type;
7179 if (sample_type & PERF_SAMPLE_TID)
7182 if (sample_type & PERF_SAMPLE_TIME)
7185 if (sample_type & PERF_SAMPLE_ID)
7188 if (sample_type & PERF_SAMPLE_STREAM_ID)
7191 if (sample_type & PERF_SAMPLE_CPU)
7194 if (sample_type & PERF_SAMPLE_IDENTIFIER)
7325 u64 sample_type = data->type;
7329 if (sample_type & PERF_SAMPLE_IDENTIFIER)
7332 if (sample_type & PERF_SAMPLE_IP)
7335 if (sample_type & PERF_SAMPLE_TID)
7338 if (sample_type & PERF_SAMPLE_TIME)
7341 if (sample_type & PERF_SAMPLE_ADDR)
7344 if (sample_type & PERF_SAMPLE_ID)
7347 if (sample_type & PERF_SAMPLE_STREAM_ID)
7350 if (sample_type & PERF_SAMPLE_CPU)
7353 if (sample_type & PERF_SAMPLE_PERIOD)
7356 if (sample_type & PERF_SAMPLE_READ)
7359 if (sample_type & PERF_SAMPLE_CALLCHAIN) {
7367 if (sample_type & PERF_SAMPLE_RAW) {
7400 if (sample_type & PERF_SAMPLE_BRANCH_STACK) {
7428 if (sample_type & PERF_SAMPLE_REGS_USER) {
7445 if (sample_type & PERF_SAMPLE_STACK_USER) {
7451 if (sample_type & PERF_SAMPLE_WEIGHT_TYPE)
7454 if (sample_type & PERF_SAMPLE_DATA_SRC)
7457 if (sample_type & PERF_SAMPLE_TRANSACTION)
7460 if (sample_type & PERF_SAMPLE_REGS_INTR) {
7477 if (sample_type & PERF_SAMPLE_PHYS_ADDR)
7480 if (sample_type & PERF_SAMPLE_CGROUP)
7483 if (sample_type & PERF_SAMPLE_DATA_PAGE_SIZE)
7486 if (sample_type & PERF_SAMPLE_CODE_PAGE_SIZE)
7489 if (sample_type & PERF_SAMPLE_AUX) {
7666 u64 sample_type = event->attr.sample_type;
7673 filtered_sample_type = sample_type;
7674 filtered_sample_type |= __cond_set(sample_type, PERF_SAMPLE_CODE_PAGE_SIZE,
7676 filtered_sample_type |= __cond_set(sample_type, PERF_SAMPLE_DATA_PAGE_SIZE |
7678 filtered_sample_type |= __cond_set(sample_type, PERF_SAMPLE_STACK_USER,
7684 data->type = event->attr.sample_type;
7718 if ((sample_type & ~data->sample_flags) & PERF_SAMPLE_REGS_USER) {
9602 (!(event->attr.sample_type & PERF_SAMPLE_CALLCHAIN) ||
9826 if ((event->attr.sample_type & PERF_SAMPLE_PERIOD) && !event->attr.freq) {
12027 if (attr->inherit && (attr->sample_type & PERF_SAMPLE_READ))
12093 if (event->attr.sample_type & PERF_SAMPLE_CALLCHAIN) {
12111 if (event->attr.sample_type & PERF_SAMPLE_CALLCHAIN)
12165 if (attr->sample_type & ~(PERF_SAMPLE_MAX-1))
12171 if (attr->sample_type & PERF_SAMPLE_BRANCH_STACK) {
12207 if (attr->sample_type & PERF_SAMPLE_REGS_USER) {
12213 if (attr->sample_type & PERF_SAMPLE_STACK_USER) {
12231 if (attr->sample_type & PERF_SAMPLE_REGS_INTR)
12235 if (attr->sample_type & PERF_SAMPLE_CGROUP)
12238 if ((attr->sample_type & PERF_SAMPLE_WEIGHT) &&
12239 (attr->sample_type & PERF_SAMPLE_WEIGHT_STRUCT))
12483 if ((attr.sample_type & PERF_SAMPLE_PHYS_ADDR)) {
12490 if (attr.sample_type & PERF_SAMPLE_REGS_INTR) {