/linux-6.6.21/tools/perf/util/ |
D | bpf-filter.c | 62 if (evsel->core.attr.sample_type & expr->sample_flags) in check_sample_flags() 75 info = get_sample_info(expr->sample_flags); in check_sample_flags() 78 evsel__name(evsel), expr->sample_flags); in check_sample_flags() 108 .flags = expr->sample_flags, in perf_bpf_filter__prepare() 125 .flags = group->sample_flags, in perf_bpf_filter__prepare() 176 struct perf_bpf_filter_expr *perf_bpf_filter_expr__new(unsigned long sample_flags, int part, in perf_bpf_filter_expr__new() argument 184 expr->sample_flags = sample_flags; in perf_bpf_filter_expr__new()
|
D | bpf-filter.h | 14 unsigned long sample_flags; member 21 struct perf_bpf_filter_expr *perf_bpf_filter_expr__new(unsigned long sample_flags, int part,
|
D | intel-bts.c | 77 u32 sample_flags; member 293 sample.flags = btsq->sample_flags; in intel_bts_synth_branch_sample() 369 btsq->sample_flags = PERF_IP_FLAG_BRANCH | in intel_bts_get_branch_type() 372 btsq->sample_flags = 0; in intel_bts_get_branch_type() 375 btsq->sample_flags = PERF_IP_FLAG_BRANCH | in intel_bts_get_branch_type() 381 btsq->sample_flags = 0; in intel_bts_get_branch_type() 390 btsq->sample_flags = intel_pt_insn_type(btsq->intel_pt_insn.op); in intel_bts_get_branch_type() 394 btsq->sample_flags != (PERF_IP_FLAG_BRANCH | in intel_bts_get_branch_type() 397 btsq->sample_flags = PERF_IP_FLAG_BRANCH | in intel_bts_get_branch_type() 431 thread_stack__event(thread, btsq->cpu, btsq->sample_flags, in intel_bts_process_buffer() [all …]
|
/linux-6.6.21/tools/perf/util/bpf_skel/ |
D | sample_filter.bpf.c | 24 __u64 sample_flags; member 51 if (!bpf_core_field_exists(data->sample_flags) || in perf_get_sample() 52 (data->sample_flags & entry->flags) == 0) in perf_get_sample()
|
/linux-6.6.21/include/linux/ |
D | perf_event.h | 1152 u64 sample_flags; member 1209 data->sample_flags = PERF_SAMPLE_PERIOD; in perf_sample_data_init() 1215 data->sample_flags |= PERF_SAMPLE_ADDR; in perf_sample_data_init() 1229 data->sample_flags |= PERF_SAMPLE_CALLCHAIN; in perf_sample_save_callchain() 1252 data->sample_flags |= PERF_SAMPLE_RAW; in perf_sample_save_raw_data() 1267 data->sample_flags |= PERF_SAMPLE_BRANCH_STACK; in perf_sample_save_brstack()
|
/linux-6.6.21/arch/x86/events/intel/ |
D | ds.c | 1604 data->sample_flags |= PERF_SAMPLE_TIME; in setup_pebs_time() 1640 data->sample_flags |= PERF_SAMPLE_WEIGHT_TYPE; in setup_pebs_fixed_sample_data() 1648 data->sample_flags |= PERF_SAMPLE_DATA_SRC; in setup_pebs_fixed_sample_data() 1732 data->sample_flags |= PERF_SAMPLE_ADDR; in setup_pebs_fixed_sample_data() 1739 data->sample_flags |= PERF_SAMPLE_WEIGHT_TYPE; in setup_pebs_fixed_sample_data() 1744 data->sample_flags |= PERF_SAMPLE_TRANSACTION; in setup_pebs_fixed_sample_data() 1880 data->sample_flags |= PERF_SAMPLE_WEIGHT_TYPE; in setup_pebs_adaptive_sample_data() 1885 data->sample_flags |= PERF_SAMPLE_DATA_SRC; in setup_pebs_adaptive_sample_data() 1890 data->sample_flags |= PERF_SAMPLE_ADDR; in setup_pebs_adaptive_sample_data() 1896 data->sample_flags |= PERF_SAMPLE_TRANSACTION; in setup_pebs_adaptive_sample_data()
|
/linux-6.6.21/drivers/gpu/drm/i915/ |
D | i915_perf_types.h | 193 u32 sample_flags; member
|
D | i915_perf.c | 365 u32 sample_flags; member 2900 (stream->sample_flags & SAMPLE_OA_REPORT) ? in oag_report_ctx_switches() 3099 if (!(stream->sample_flags & SAMPLE_OA_REPORT)) in gen12_oa_enable() 3126 if (stream->sample_flags & SAMPLE_OA_REPORT) in i915_oa_stream_enable() 3189 if (stream->sample_flags & SAMPLE_OA_REPORT) in i915_oa_stream_disable() 3325 if (!(props->sample_flags & SAMPLE_OA_REPORT) && in i915_oa_stream_init() 3364 stream->sample_flags = props->sample_flags; in i915_oa_stream_init() 3531 if (!stream->enabled || !(stream->sample_flags & SAMPLE_OA_REPORT)) in i915_perf_read() 3932 (props->sample_flags & SAMPLE_OA_REPORT) == 0) in i915_perf_open_ioctl_locked() 3984 if (WARN_ON(stream->sample_flags != props->sample_flags)) { in i915_perf_open_ioctl_locked() [all …]
|
/linux-6.6.21/arch/x86/events/amd/ |
D | ibs.c | 977 data->sample_flags |= PERF_SAMPLE_DATA_SRC; in perf_ibs_parse_ld_st_data() 990 data->sample_flags |= PERF_SAMPLE_WEIGHT_TYPE; in perf_ibs_parse_ld_st_data() 995 data->sample_flags |= PERF_SAMPLE_ADDR; in perf_ibs_parse_ld_st_data() 1000 data->sample_flags |= PERF_SAMPLE_PHYS_ADDR; in perf_ibs_parse_ld_st_data()
|
/linux-6.6.21/drivers/gpu/drm/i915/selftests/ |
D | i915_perf.c | 100 .sample_flags = SAMPLE_OA_REPORT, in test_stream()
|
/linux-6.6.21/kernel/events/ |
D | core.c | 7118 data->sample_flags |= data->type & PERF_SAMPLE_ID_ALL; in __perf_event_header__init_id() 7649 filtered_sample_type &= ~data->sample_flags; in perf_prepare_sample() 7661 data->sample_flags |= PERF_SAMPLE_IP; in perf_prepare_sample() 7670 data->sample_flags |= PERF_SAMPLE_RAW; in perf_prepare_sample() 7676 data->sample_flags |= PERF_SAMPLE_BRANCH_STACK; in perf_prepare_sample() 7687 if ((sample_type & ~data->sample_flags) & PERF_SAMPLE_REGS_USER) { in perf_prepare_sample() 7697 data->sample_flags |= PERF_SAMPLE_REGS_USER; in perf_prepare_sample() 7724 data->sample_flags |= PERF_SAMPLE_STACK_USER; in perf_prepare_sample() 7729 data->sample_flags |= PERF_SAMPLE_WEIGHT_TYPE; in perf_prepare_sample() 7734 data->sample_flags |= PERF_SAMPLE_DATA_SRC; in perf_prepare_sample() [all …]
|
/linux-6.6.21/arch/powerpc/perf/ |
D | core-book3s.c | 2321 data.sample_flags |= PERF_SAMPLE_DATA_SRC; in record_and_restart() 2327 data.sample_flags |= PERF_SAMPLE_WEIGHT_TYPE; in record_and_restart()
|
/linux-6.6.21/tools/perf/ |
D | builtin-script.c | 1609 } sample_flags[] = { variable 1632 for (i = 0; sample_flags[i].name ; i++) { in sample_flags_to_name() 1633 if (sample_flags[i].flags == flags) in sample_flags_to_name() 1634 return sample_flags[i].name; in sample_flags_to_name()
|
/linux-6.6.21/kernel/trace/ |
D | bpf_trace.c | 1766 if (unlikely(!(ctx->data->sample_flags & PERF_SAMPLE_BRANCH_STACK))) in BPF_CALL_4()
|