Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A 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()
H A 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,
H A 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 …]
/openbmc/linux/tools/perf/util/bpf_skel/
H A 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()
/openbmc/linux/include/linux/
H A Dperf_event.h1153 u64 sample_flags; member
1210 data->sample_flags = PERF_SAMPLE_PERIOD; in perf_sample_data_init()
1216 data->sample_flags |= PERF_SAMPLE_ADDR; in perf_sample_data_init()
1230 data->sample_flags |= PERF_SAMPLE_CALLCHAIN; in perf_sample_save_callchain()
1243 if (WARN_ON_ONCE(data->sample_flags & PERF_SAMPLE_RAW)) in perf_sample_save_raw_data()
1259 data->sample_flags |= PERF_SAMPLE_RAW; in perf_sample_save_raw_data()
1274 data->sample_flags |= PERF_SAMPLE_BRANCH_STACK; in perf_sample_save_brstack()
/openbmc/linux/arch/x86/events/intel/
H A 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()
1884 data->sample_flags |= PERF_SAMPLE_WEIGHT_TYPE; in setup_pebs_adaptive_sample_data()
1889 data->sample_flags |= PERF_SAMPLE_DATA_SRC; in setup_pebs_adaptive_sample_data()
1894 data->sample_flags |= PERF_SAMPLE_ADDR; in setup_pebs_adaptive_sample_data()
1900 data->sample_flags |= PERF_SAMPLE_TRANSACTION; in setup_pebs_adaptive_sample_data()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_perf_types.h193 u32 sample_flags; member
H A Di915_perf.c365 u32 sample_flags; member
2880 (stream->sample_flags & SAMPLE_OA_REPORT) ? in oag_report_ctx_switches()
3066 if (!(stream->sample_flags & SAMPLE_OA_REPORT)) in gen12_oa_enable()
3093 if (stream->sample_flags & SAMPLE_OA_REPORT) in i915_oa_stream_enable()
3156 if (stream->sample_flags & SAMPLE_OA_REPORT) in i915_oa_stream_disable()
3291 if (!(props->sample_flags & SAMPLE_OA_REPORT) && in i915_oa_stream_init()
3330 stream->sample_flags = props->sample_flags; in i915_oa_stream_init()
3497 if (!stream->enabled || !(stream->sample_flags & SAMPLE_OA_REPORT)) in i915_perf_read()
3898 (props->sample_flags & SAMPLE_OA_REPORT) == 0) in i915_perf_open_ioctl_locked()
3950 if (WARN_ON(stream->sample_flags != props->sample_flags)) { in i915_perf_open_ioctl_locked()
[all …]
/openbmc/linux/arch/x86/events/amd/
H A 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()
/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A Di915_perf.c100 .sample_flags = SAMPLE_OA_REPORT, in test_stream()
/openbmc/linux/kernel/events/
H A Dcore.c7181 data->sample_flags |= data->type & PERF_SAMPLE_ID_ALL; in __perf_event_header__init_id()
7712 filtered_sample_type &= ~data->sample_flags; in perf_prepare_sample()
7724 data->sample_flags |= PERF_SAMPLE_IP; in perf_prepare_sample()
7733 data->sample_flags |= PERF_SAMPLE_RAW; in perf_prepare_sample()
7739 data->sample_flags |= PERF_SAMPLE_BRANCH_STACK; in perf_prepare_sample()
7750 if ((sample_type & ~data->sample_flags) & PERF_SAMPLE_REGS_USER) { in perf_prepare_sample()
7760 data->sample_flags |= PERF_SAMPLE_REGS_USER; in perf_prepare_sample()
7787 data->sample_flags |= PERF_SAMPLE_STACK_USER; in perf_prepare_sample()
7792 data->sample_flags |= PERF_SAMPLE_WEIGHT_TYPE; in perf_prepare_sample()
7797 data->sample_flags | in perf_prepare_sample()
[all...]
/openbmc/linux/arch/powerpc/perf/
H A Dcore-book3s.c2321 data.sample_flags |= PERF_SAMPLE_DATA_SRC; in record_and_restart()
2327 data.sample_flags |= PERF_SAMPLE_WEIGHT_TYPE; in record_and_restart()
/openbmc/linux/tools/perf/
H A 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()
/openbmc/linux/kernel/trace/
H A Dbpf_trace.c1769 if (unlikely(!(ctx->data->sample_flags & PERF_SAMPLE_BRANCH_STACK))) in BPF_CALL_4()