| /linux-6.15/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
| H A D | bhrb_no_crash_wo_pmu_test.c | 41 event.attr.sample_type = PERF_SAMPLE_BRANCH_STACK; in bhrb_no_crash_wo_pmu_test()
|
| H A D | mmcra_bhrb_any_test.c | 36 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in mmcra_bhrb_any_test()
|
| H A D | mmcra_bhrb_ind_call_test.c | 40 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in mmcra_bhrb_ind_call_test()
|
| H A D | mmcra_bhrb_disable_test.c | 37 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in mmcra_bhrb_disable_test()
|
| H A D | mmcra_bhrb_cond_test.c | 40 event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in mmcra_bhrb_cond_test()
|
| H A D | bhrb_filter_map_test.c | 59 event.attr.sample_type = PERF_SAMPLE_BRANCH_STACK; in bhrb_filter_map_test()
|
| H A D | misc.c | 281 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 D | sample-parsing.c | 115 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 D | get_stackid_cannot_attach.c | 13 .sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_BRANCH_STACK, in test_get_stackid_cannot_attach()
|
| H A D | perf_event_stackmap.c | 60 .sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_BRANCH_STACK | in test_perf_event_stackmap()
|
| H A D | get_branch_snapshot.c | 42 attr.sample_type = PERF_SAMPLE_BRANCH_STACK; in create_perf_events()
|
| H A D | perf_branches.c | 114 attr.sample_type = PERF_SAMPLE_BRANCH_STACK; in test_perf_branches_hw()
|
| /linux-6.15/tools/perf/util/ |
| H A D | evsel.h | 520 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 D | evsel.c | 2269 .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 D | intel-pt.c | 1262 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 D | synthetic-events.c | 1505 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 D | callchain.c | 1679 } else if (sample_type & PERF_SAMPLE_BRANCH_STACK) in callchain_param_setup()
|
| H A D | arm-spe.c | 1606 attr.sample_type |= PERF_SAMPLE_BRANCH_STACK; in arm_spe_synth_events()
|
| /linux-6.15/tools/perf/ui/browsers/ |
| H A D | scripts.c | 41 if (attr->sample_type & PERF_SAMPLE_BRANCH_STACK) in attr_to_script()
|
| /linux-6.15/include/linux/ |
| H A D | perf_event.h | 1356 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 D | perf_event.h | 151 PERF_SAMPLE_BRANCH_STACK = 1U << 11, enumerator
|
| /linux-6.15/include/uapi/linux/ |
| H A D | perf_event.h | 151 PERF_SAMPLE_BRANCH_STACK = 1U << 11, enumerator
|
| /linux-6.15/arch/x86/kvm/vmx/ |
| H A D | pmu_intel.c | 231 .sample_type = PERF_SAMPLE_BRANCH_STACK, in intel_pmu_create_guest_lbr_event()
|
| /linux-6.15/tools/perf/ |
| H A D | builtin-report.c | 386 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 D | ds.c | 1418 if (sample_type & PERF_SAMPLE_BRANCH_STACK) { in pebs_update_adaptive_cfg() 2747 PERF_SAMPLE_BRANCH_STACK | in intel_ds_init()
|