Home
last modified time | relevance | path

Searched refs:sample_flags (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.6/tools/perf/util/
Dbpf-filter.c62 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()
Dbpf-filter.h14 unsigned long sample_flags; member
21 struct perf_bpf_filter_expr *perf_bpf_filter_expr__new(unsigned long sample_flags, int part,
Dintel-bts.c77 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-v6.6/tools/perf/util/bpf_skel/
Dsample_filter.bpf.c24 __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-v6.6/include/linux/
Dperf_event.h1148 u64 sample_flags; member
1205 data->sample_flags = PERF_SAMPLE_PERIOD; in perf_sample_data_init()
1211 data->sample_flags |= PERF_SAMPLE_ADDR; in perf_sample_data_init()
1225 data->sample_flags |= PERF_SAMPLE_CALLCHAIN; in perf_sample_save_callchain()
1248 data->sample_flags |= PERF_SAMPLE_RAW; in perf_sample_save_raw_data()
1263 data->sample_flags |= PERF_SAMPLE_BRANCH_STACK; in perf_sample_save_brstack()
/Linux-v6.6/arch/x86/events/intel/
Dds.c1604 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-v6.6/drivers/gpu/drm/i915/
Di915_perf_types.h193 u32 sample_flags; member
Di915_perf.c365 u32 sample_flags; member
2871 (stream->sample_flags & SAMPLE_OA_REPORT) ? in oag_report_ctx_switches()
3070 if (!(stream->sample_flags & SAMPLE_OA_REPORT)) in gen12_oa_enable()
3097 if (stream->sample_flags & SAMPLE_OA_REPORT) in i915_oa_stream_enable()
3160 if (stream->sample_flags & SAMPLE_OA_REPORT) in i915_oa_stream_disable()
3296 if (!(props->sample_flags & SAMPLE_OA_REPORT) && in i915_oa_stream_init()
3335 stream->sample_flags = props->sample_flags; in i915_oa_stream_init()
3502 if (!stream->enabled || !(stream->sample_flags & SAMPLE_OA_REPORT)) in i915_perf_read()
3903 (props->sample_flags & SAMPLE_OA_REPORT) == 0) in i915_perf_open_ioctl_locked()
3955 if (WARN_ON(stream->sample_flags != props->sample_flags)) { in i915_perf_open_ioctl_locked()
[all …]
/Linux-v6.6/arch/x86/events/amd/
Dibs.c977 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-v6.6/drivers/gpu/drm/i915/selftests/
Di915_perf.c100 .sample_flags = SAMPLE_OA_REPORT, in test_stream()
/Linux-v6.6/kernel/events/
Dcore.c7083 data->sample_flags |= data->type & PERF_SAMPLE_ID_ALL; in __perf_event_header__init_id()
7614 filtered_sample_type &= ~data->sample_flags; in perf_prepare_sample()
7626 data->sample_flags |= PERF_SAMPLE_IP; in perf_prepare_sample()
7635 data->sample_flags |= PERF_SAMPLE_RAW; in perf_prepare_sample()
7641 data->sample_flags |= PERF_SAMPLE_BRANCH_STACK; in perf_prepare_sample()
7652 if ((sample_type & ~data->sample_flags) & PERF_SAMPLE_REGS_USER) { in perf_prepare_sample()
7662 data->sample_flags |= PERF_SAMPLE_REGS_USER; in perf_prepare_sample()
7689 data->sample_flags |= PERF_SAMPLE_STACK_USER; in perf_prepare_sample()
7694 data->sample_flags |= PERF_SAMPLE_WEIGHT_TYPE; in perf_prepare_sample()
7699 data->sample_flags |= PERF_SAMPLE_DATA_SRC; in perf_prepare_sample()
[all …]
/Linux-v6.6/arch/powerpc/perf/
Dcore-book3s.c2322 data.sample_flags |= PERF_SAMPLE_DATA_SRC; in record_and_restart()
2328 data.sample_flags |= PERF_SAMPLE_WEIGHT_TYPE; in record_and_restart()
/Linux-v6.6/tools/perf/
Dbuiltin-script.c1609 } 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-v6.6/kernel/trace/
Dbpf_trace.c1763 if (unlikely(!(ctx->data->sample_flags & PERF_SAMPLE_BRANCH_STACK))) in BPF_CALL_4()