Home
last modified time | relevance | path

Searched refs:br_type (Results 1 – 2 of 2) sorted by relevance

/arch/x86/kernel/cpu/
Dperf_event_intel_lbr.c315 u64 br_type = event->attr.branch_sample_type; in intel_pmu_setup_sw_lbr_filter() local
318 if (br_type & PERF_SAMPLE_BRANCH_USER) in intel_pmu_setup_sw_lbr_filter()
321 if (br_type & PERF_SAMPLE_BRANCH_KERNEL) { in intel_pmu_setup_sw_lbr_filter()
329 if (br_type & PERF_SAMPLE_BRANCH_ANY) in intel_pmu_setup_sw_lbr_filter()
332 if (br_type & PERF_SAMPLE_BRANCH_ANY_CALL) in intel_pmu_setup_sw_lbr_filter()
335 if (br_type & PERF_SAMPLE_BRANCH_ANY_RETURN) in intel_pmu_setup_sw_lbr_filter()
338 if (br_type & PERF_SAMPLE_BRANCH_IND_CALL) in intel_pmu_setup_sw_lbr_filter()
357 u64 br_type = event->attr.branch_sample_type; in intel_pmu_setup_hw_lbr_filter() local
362 if (!(br_type & m)) in intel_pmu_setup_hw_lbr_filter()
Dperf_event.c406 u64 *br_type = &event->attr.branch_sample_type; in x86_pmu_hw_config() local
422 *br_type = PERF_SAMPLE_BRANCH_ANY; in x86_pmu_hw_config()
425 *br_type |= PERF_SAMPLE_BRANCH_USER; in x86_pmu_hw_config()
428 *br_type |= PERF_SAMPLE_BRANCH_KERNEL; in x86_pmu_hw_config()