Searched refs:branch_sample_type (Results 1 – 25 of 51) sorted by relevance
123
68 event.attr.branch_sample_type = 1U << i; in bhrb_filter_map_test()74 event.attr.branch_sample_type = bhrb_filter_map_valid_common[i]; in bhrb_filter_map_test()90 event.attr.branch_sample_type = bhrb_filter_map_valid_p10[i]; in bhrb_filter_map_test()97 event.attr.branch_sample_type = bhrb_filter_map_valid_p10[i]; in bhrb_filter_map_test()108 event.attr.branch_sample_type = PERF_SAMPLE_BRANCH_ANY | PERF_SAMPLE_BRANCH_ANY_CALL; in bhrb_filter_map_test()
37 event.attr.branch_sample_type = PERF_SAMPLE_BRANCH_ANY; in mmcra_bhrb_any_test()
38 event.attr.branch_sample_type = PERF_SAMPLE_BRANCH_ANY; in mmcra_bhrb_disable_test()
41 event.attr.branch_sample_type = PERF_SAMPLE_BRANCH_IND_CALL; in mmcra_bhrb_ind_call_test()
41 event.attr.branch_sample_type = PERF_SAMPLE_BRANCH_COND; in mmcra_bhrb_cond_test()
432 u64 branch_type = event->attr.branch_sample_type; in brbe_branch_attr_valid()464 event->hw.branch_reg.config = branch_type_to_brbfcr(event->attr.branch_sample_type); in brbe_branch_attr_valid()465 event->hw.extra_reg.config = branch_type_to_brbcr(event->attr.branch_sample_type); in brbe_branch_attr_valid()714 static bool filter_branch_privilege(struct perf_branch_entry *entry, u64 branch_sample_type) in filter_branch_privilege() argument718 bool exclude_kernel = !((branch_sample_type & PERF_SAMPLE_BRANCH_KERNEL) || in filter_branch_privilege()719 (is_kernel_in_hyp_mode() && (branch_sample_type & PERF_SAMPLE_BRANCH_HV))); in filter_branch_privilege()732 (branch_sample_type & PERF_SAMPLE_BRANCH_USER)); in filter_branch_privilege()738 if (!(branch_sample_type & PERF_SAMPLE_BRANCH_USER)) { in filter_branch_privilege()779 u64 branch_sample_type = event->attr.branch_sample_type; in brbe_read_filtered_entries() local782 prepare_event_branch_type_mask(branch_sample_type, event_type_mask); in brbe_read_filtered_entries()[all …]
217 static u64 power8_bhrb_filter_map(u64 branch_sample_type) in power8_bhrb_filter_map() argument229 if (branch_sample_type & PERF_SAMPLE_BRANCH_ANY) in power8_bhrb_filter_map()233 if (branch_sample_type & PERF_SAMPLE_BRANCH_ANY_RETURN) in power8_bhrb_filter_map()236 if (branch_sample_type & PERF_SAMPLE_BRANCH_IND_CALL) in power8_bhrb_filter_map()239 if (branch_sample_type & PERF_SAMPLE_BRANCH_CALL) in power8_bhrb_filter_map()242 if (branch_sample_type & PERF_SAMPLE_BRANCH_ANY_CALL) { in power8_bhrb_filter_map()
288 static u64 power9_bhrb_filter_map(u64 branch_sample_type) in power9_bhrb_filter_map() argument300 if (branch_sample_type & PERF_SAMPLE_BRANCH_ANY) in power9_bhrb_filter_map()304 if (branch_sample_type & PERF_SAMPLE_BRANCH_ANY_RETURN) in power9_bhrb_filter_map()307 if (branch_sample_type & PERF_SAMPLE_BRANCH_IND_CALL) in power9_bhrb_filter_map()310 if (branch_sample_type & PERF_SAMPLE_BRANCH_CALL) in power9_bhrb_filter_map()313 if (branch_sample_type & PERF_SAMPLE_BRANCH_ANY_CALL) { in power9_bhrb_filter_map()
302 static u64 power10_bhrb_filter_map(u64 branch_sample_type) in power10_bhrb_filter_map() argument314 if (branch_sample_type & PERF_SAMPLE_BRANCH_ANY) in power10_bhrb_filter_map()318 if (branch_sample_type & PERF_SAMPLE_BRANCH_ANY_RETURN) in power10_bhrb_filter_map()321 if (branch_sample_type & PERF_SAMPLE_BRANCH_IND_CALL) { in power10_bhrb_filter_map()326 if (branch_sample_type & PERF_SAMPLE_BRANCH_COND) { in power10_bhrb_filter_map()331 if (branch_sample_type & PERF_SAMPLE_BRANCH_CALL) in power10_bhrb_filter_map()334 if (branch_sample_type & PERF_SAMPLE_BRANCH_ANY_CALL) { in power10_bhrb_filter_map()
1268 return event->attr.branch_sample_type & PERF_SAMPLE_BRANCH_NO_FLAGS; in branch_sample_no_flags()1273 return event->attr.branch_sample_type & PERF_SAMPLE_BRANCH_NO_CYCLES; in branch_sample_no_cycles()1276 static inline bool branch_sample_type(const struct perf_event *event) in branch_sample_type() function1278 return event->attr.branch_sample_type & PERF_SAMPLE_BRANCH_TYPE_SAVE; in branch_sample_type()1283 return event->attr.branch_sample_type & PERF_SAMPLE_BRANCH_HW_INDEX; in branch_sample_hw_index()1288 return event->attr.branch_sample_type & PERF_SAMPLE_BRANCH_PRIV_SAVE; in branch_sample_priv()1293 return event->attr.branch_sample_type & PERF_SAMPLE_BRANCH_COUNTERS; in branch_sample_counters()1298 return event->attr.branch_sample_type & PERF_SAMPLE_BRANCH_CALL_STACK; in branch_sample_call_stack()1851 return event->attr.branch_sample_type != 0; in needs_branch_stack()
8 branch_sample_type=8
8 branch_sample_type=32
8 branch_sample_type=16
8 branch_sample_type=64
38 branch_sample_type=*
39 branch_sample_type=0
53 branch_sample_type=0
50 branch_sample_type=0
83 u64 type = event->attr.branch_sample_type; in amd_brs_setup_filter()264 int type = event->attr.branch_sample_type; in amd_brs_match_plm()
14 .branch_sample_type = PERF_SAMPLE_BRANCH_USER | in test_get_stackid_cannot_attach()