Home
last modified time | relevance | path

Searched refs:PERF_SAMPLE_BRANCH_STACK (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.15/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dbhrb_no_crash_wo_pmu_test.c41 event.attr.sample_type = PERF_SAMPLE_BRANCH_STACK; in bhrb_no_crash_wo_pmu_test()
H A Dmmcra_bhrb_any_test.c36 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in mmcra_bhrb_any_test()
H A Dmmcra_bhrb_ind_call_test.c40 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in mmcra_bhrb_ind_call_test()
H A Dmmcra_bhrb_disable_test.c37 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in mmcra_bhrb_disable_test()
H A Dmmcra_bhrb_cond_test.c40 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in mmcra_bhrb_cond_test()
H A Dbhrb_filter_map_test.c59 event.attr.sample_type = PERF_SAMPLE_BRANCH_STACK; in bhrb_filter_map_test()
H A Dmisc.c281 if ((type ^ (PERF_SAMPLE_REGS_INTR | PERF_SAMPLE_BRANCH_STACK)) && in get_intr_regs()
289 if (type & PERF_SAMPLE_BRANCH_STACK) { in get_intr_regs()
/linux-6.15/tools/perf/tests/
H A Dsample-parsing.c115 if (type & PERF_SAMPLE_BRANCH_STACK) { in samples_same()
290 if (sample_type & PERF_SAMPLE_BRANCH_STACK) in do_test()
352 if (sample_type == PERF_SAMPLE_BRANCH_STACK) { in do_test()
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dget_stackid_cannot_attach.c13 .sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_BRANCH_STACK, in test_get_stackid_cannot_attach()
H A Dperf_event_stackmap.c60 .sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_BRANCH_STACK | in test_perf_event_stackmap()
H A Dget_branch_snapshot.c42 attr.sample_type = PERF_SAMPLE_BRANCH_STACK; in create_perf_events()
H A Dperf_branches.c114 attr.sample_type = PERF_SAMPLE_BRANCH_STACK; in test_perf_branches_hw()
/linux-6.15/tools/perf/util/
H A Devsel.h520 return evsel->core.attr.sample_type & PERF_SAMPLE_BRANCH_STACK || in evsel__has_br_stack()
521 evsel->synth_sample_type & PERF_SAMPLE_BRANCH_STACK; in evsel__has_br_stack()
H A Devsel.c2269 .sample_type = PERF_SAMPLE_BRANCH_STACK, in evsel__detect_missing_brstack_features()
3116 if (type & PERF_SAMPLE_BRANCH_STACK) { in evsel__parse_sample()
3731 if (evsel->core.attr.sample_type & PERF_SAMPLE_BRANCH_STACK) in evsel__open_strerror()
H A Dintel-pt.c1262 if (!(evsel->core.attr.sample_type & PERF_SAMPLE_BRANCH_STACK)) in intel_pt_br_stack_init()
1263 evsel->synth_sample_type |= PERF_SAMPLE_BRANCH_STACK; in intel_pt_br_stack_init()
2348 if (sample_type & PERF_SAMPLE_BRANCH_STACK) { in intel_pt_do_synth_pebs_sample()
3813 attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in intel_pt_synth_events()
H A Dsynthetic-events.c1505 if (type & PERF_SAMPLE_BRANCH_STACK) { in perf_event__sample_event_size()
1703 if (type & PERF_SAMPLE_BRANCH_STACK) { in perf_event__synthesize_sample()
H A Dcallchain.c1679 } else if (sample_type & PERF_SAMPLE_BRANCH_STACK) in callchain_param_setup()
H A Darm-spe.c1606 attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in arm_spe_synth_events()
/linux-6.15/tools/perf/ui/browsers/
H A Dscripts.c41 if (attr->sample_type & PERF_SAMPLE_BRANCH_STACK) in attr_to_script()
/linux-6.15/include/linux/
H A Dperf_event.h1356 return event->attr.sample_type & PERF_SAMPLE_BRANCH_STACK; in has_branch_stack()
1368 if (WARN_ON_ONCE(data->sample_flags & PERF_SAMPLE_BRANCH_STACK)) in perf_sample_save_brstack()
1389 data->sample_flags |= PERF_SAMPLE_BRANCH_STACK; in perf_sample_save_brstack()
/linux-6.15/tools/include/uapi/linux/
H A Dperf_event.h151 PERF_SAMPLE_BRANCH_STACK = 1U << 11, enumerator
/linux-6.15/include/uapi/linux/
H A Dperf_event.h151 PERF_SAMPLE_BRANCH_STACK = 1U << 11, enumerator
/linux-6.15/arch/x86/kvm/vmx/
H A Dpmu_intel.c231 .sample_type = PERF_SAMPLE_BRANCH_STACK, in intel_pmu_create_guest_lbr_event()
/linux-6.15/tools/perf/
H A Dbuiltin-report.c386 sample_type |= PERF_SAMPLE_BRANCH_STACK; in report__setup_sample_type()
422 !(sample_type & PERF_SAMPLE_BRANCH_STACK)) { in report__setup_sample_type()
/linux-6.15/arch/x86/events/intel/
H A Dds.c1418 if (sample_type & PERF_SAMPLE_BRANCH_STACK) { in pebs_update_adaptive_cfg()
2747 PERF_SAMPLE_BRANCH_STACK | in intel_ds_init()

12