Searched refs:br_type (Results 1 – 5 of 5) sorted by relevance
249 u64 br_type = event->attr.branch_sample_type; in amd_pmu_lbr_setup_filter() local257 if (br_type & PERF_SAMPLE_BRANCH_USER) in amd_pmu_lbr_setup_filter()260 if (br_type & PERF_SAMPLE_BRANCH_KERNEL) in amd_pmu_lbr_setup_filter()265 if (br_type & PERF_SAMPLE_BRANCH_ANY) in amd_pmu_lbr_setup_filter()268 if (br_type & PERF_SAMPLE_BRANCH_ANY_CALL) in amd_pmu_lbr_setup_filter()271 if (br_type & PERF_SAMPLE_BRANCH_ANY_RETURN) in amd_pmu_lbr_setup_filter()274 if (br_type & PERF_SAMPLE_BRANCH_IND_CALL) in amd_pmu_lbr_setup_filter()277 if (br_type & PERF_SAMPLE_BRANCH_COND) in amd_pmu_lbr_setup_filter()280 if (br_type & PERF_SAMPLE_BRANCH_IND_JUMP) in amd_pmu_lbr_setup_filter()283 if (br_type & PERF_SAMPLE_BRANCH_CALL) in amd_pmu_lbr_setup_filter()[all …]
1038 u64 br_type = event->attr.branch_sample_type; in intel_pmu_setup_sw_lbr_filter() local1041 if (br_type & PERF_SAMPLE_BRANCH_USER) in intel_pmu_setup_sw_lbr_filter()1044 if (br_type & PERF_SAMPLE_BRANCH_KERNEL) in intel_pmu_setup_sw_lbr_filter()1049 if (br_type & PERF_SAMPLE_BRANCH_ANY) in intel_pmu_setup_sw_lbr_filter()1052 if (br_type & PERF_SAMPLE_BRANCH_ANY_CALL) in intel_pmu_setup_sw_lbr_filter()1055 if (br_type & PERF_SAMPLE_BRANCH_ANY_RETURN) in intel_pmu_setup_sw_lbr_filter()1058 if (br_type & PERF_SAMPLE_BRANCH_IND_CALL) in intel_pmu_setup_sw_lbr_filter()1061 if (br_type & PERF_SAMPLE_BRANCH_ABORT_TX) in intel_pmu_setup_sw_lbr_filter()1064 if (br_type & PERF_SAMPLE_BRANCH_IN_TX) in intel_pmu_setup_sw_lbr_filter()1067 if (br_type & PERF_SAMPLE_BRANCH_NO_TX) in intel_pmu_setup_sw_lbr_filter()[all …]
571 const int *br_type = brbe_type_to_perf_type_map[brbe_type]; in brbe_set_perf_entry_type() local573 entry->type = br_type[0]; in brbe_set_perf_entry_type()574 entry->new_type = br_type[1]; in brbe_set_perf_entry_type()
476 static const struct device_type br_type = { variable490 SET_NETDEV_DEVTYPE(dev, &br_type); in br_dev_setup()
605 u64 *br_type = &event->attr.branch_sample_type; in x86_pmu_hw_config() local621 *br_type = PERF_SAMPLE_BRANCH_ANY; in x86_pmu_hw_config()624 *br_type |= PERF_SAMPLE_BRANCH_USER; in x86_pmu_hw_config()627 *br_type |= PERF_SAMPLE_BRANCH_KERNEL; in x86_pmu_hw_config()