Symbol: PERF_SAMPLE_BRANCH_STACK
arch/powerpc/perf/core-book3s.c
2331
if (event->attr.sample_type & PERF_SAMPLE_BRANCH_STACK) {
arch/x86/events/intel/core.c
6167
x86_pmu.large_pebs_flags |= PERF_SAMPLE_BRANCH_STACK;
arch/x86/events/intel/ds.c
1753
if (sample_type & PERF_SAMPLE_BRANCH_STACK) {
arch/x86/events/intel/ds.c
3405
PERF_SAMPLE_BRANCH_STACK |
arch/x86/kvm/vmx/pmu_intel.c
267
.sample_type = PERF_SAMPLE_BRANCH_STACK,
include/linux/perf_event.h
1423
return event->attr.sample_type & PERF_SAMPLE_BRANCH_STACK;
include/linux/perf_event.h
1435
if (WARN_ON_ONCE(data->sample_flags & PERF_SAMPLE_BRANCH_STACK))
include/linux/perf_event.h
1456
data->sample_flags |= PERF_SAMPLE_BRANCH_STACK;
kernel/events/core.c
13620
if (attr->sample_type & PERF_SAMPLE_BRANCH_STACK) {
kernel/events/core.c
8331
if (sample_type & PERF_SAMPLE_BRANCH_STACK) {
kernel/events/core.c
8649
if (filtered_sample_type & PERF_SAMPLE_BRANCH_STACK) {
kernel/events/core.c
8652
data->sample_flags |= PERF_SAMPLE_BRANCH_STACK;
kernel/trace/bpf_trace.c
1545
if (unlikely(!(ctx->data->sample_flags & PERF_SAMPLE_BRANCH_STACK)))
tools/perf/builtin-c2c.c
2954
} else if (sample_type & PERF_SAMPLE_BRANCH_STACK)
tools/perf/builtin-inject.c
2597
evsel->core.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
tools/perf/builtin-inject.c
302
attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
tools/perf/builtin-inject.c
478
evsel->core.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
tools/perf/builtin-report.c
382
sample_type |= PERF_SAMPLE_BRANCH_STACK;
tools/perf/builtin-report.c
418
!(sample_type & PERF_SAMPLE_BRANCH_STACK)) {
tools/perf/builtin-script.c
2885
sample_type & PERF_SAMPLE_BRANCH_STACK ||
tools/perf/tests/sample-parsing.c
115
if (type & PERF_SAMPLE_BRANCH_STACK) {
tools/perf/tests/sample-parsing.c
298
if (sample_type & PERF_SAMPLE_BRANCH_STACK)
tools/perf/tests/sample-parsing.c
361
if (sample_type == PERF_SAMPLE_BRANCH_STACK) {
tools/perf/ui/browsers/scripts.c
41
if (attr->sample_type & PERF_SAMPLE_BRANCH_STACK)
tools/perf/util/arm-spe.c
1863
attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
tools/perf/util/aslr.c
953
if (orig_sample_type & PERF_SAMPLE_BRANCH_STACK) {
tools/perf/util/aslr.h
20
PERF_SAMPLE_BRANCH_STACK | \
tools/perf/util/callchain.c
1753
} else if (sample_type & PERF_SAMPLE_BRANCH_STACK)
tools/perf/util/cs-etm.c
1816
attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
tools/perf/util/evsel.c
2649
.sample_type = PERF_SAMPLE_BRANCH_STACK,
tools/perf/util/evsel.c
3615
if (type & PERF_SAMPLE_BRANCH_STACK) {
tools/perf/util/evsel.c
4303
if (evsel->core.attr.sample_type & PERF_SAMPLE_BRANCH_STACK)
tools/perf/util/evsel.h
575
return evsel->core.attr.sample_type & PERF_SAMPLE_BRANCH_STACK ||
tools/perf/util/evsel.h
576
evsel->synth_sample_type & PERF_SAMPLE_BRANCH_STACK;
tools/perf/util/header.c
2185
if ((attr->sample_type & PERF_SAMPLE_BRANCH_STACK) &&
tools/perf/util/intel-pt.c
1264
if (!(evsel->core.attr.sample_type & PERF_SAMPLE_BRANCH_STACK))
tools/perf/util/intel-pt.c
1265
evsel->synth_sample_type |= PERF_SAMPLE_BRANCH_STACK;
tools/perf/util/intel-pt.c
2509
if ((sample_type | evsel->synth_sample_type) & PERF_SAMPLE_BRANCH_STACK) {
tools/perf/util/intel-pt.c
4030
attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
tools/perf/util/synthetic-events.c
1517
if (type & PERF_SAMPLE_BRANCH_STACK) {
tools/perf/util/synthetic-events.c
1723
if (type & PERF_SAMPLE_BRANCH_STACK) {
tools/testing/selftests/bpf/prog_tests/get_branch_snapshot.c
42
attr.sample_type = PERF_SAMPLE_BRANCH_STACK;
tools/testing/selftests/bpf/prog_tests/get_stackid_cannot_attach.c
13
.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_BRANCH_STACK,
tools/testing/selftests/bpf/prog_tests/perf_branches.c
126
attr.sample_type = PERF_SAMPLE_BRANCH_STACK;
tools/testing/selftests/bpf/prog_tests/perf_event_stackmap.c
60
.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_BRANCH_STACK |
tools/testing/selftests/powerpc/pmu/sampling_tests/bhrb_filter_map_test.c
59
event.attr.sample_type = PERF_SAMPLE_BRANCH_STACK;
tools/testing/selftests/powerpc/pmu/sampling_tests/bhrb_no_crash_wo_pmu_test.c
41
event.attr.sample_type = PERF_SAMPLE_BRANCH_STACK;
tools/testing/selftests/powerpc/pmu/sampling_tests/misc.c
281
if ((type ^ (PERF_SAMPLE_REGS_INTR | PERF_SAMPLE_BRANCH_STACK)) &&
tools/testing/selftests/powerpc/pmu/sampling_tests/misc.c
289
if (type & PERF_SAMPLE_BRANCH_STACK) {
tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_bhrb_any_test.c
36
event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_bhrb_cond_test.c
40
event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_bhrb_disable_test.c
37
event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;
tools/testing/selftests/powerpc/pmu/sampling_tests/mmcra_bhrb_ind_call_test.c
40
event.attr.sample_type |= PERF_SAMPLE_BRANCH_STACK;