Home
last modified time | relevance | path

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

/Linux-v5.4/tools/perf/util/
Dcs-etm.c73 size_t last_branch_pos; member
880 nr = etmq->etm->synth_opts.last_branch_sz - tidq->last_branch_pos; in cs_etm__copy_last_branch_rb()
882 &bs_src->entries[tidq->last_branch_pos], in cs_etm__copy_last_branch_rb()
895 sizeof(struct branch_entry) * tidq->last_branch_pos); in cs_etm__copy_last_branch_rb()
902 tidq->last_branch_pos = 0; in cs_etm__reset_last_branch_rb()
972 if (!tidq->last_branch_pos) in cs_etm__update_last_branch_rb()
973 tidq->last_branch_pos = etmq->etm->synth_opts.last_branch_sz; in cs_etm__update_last_branch_rb()
975 tidq->last_branch_pos -= 1; in cs_etm__update_last_branch_rb()
977 be = &bs->entries[tidq->last_branch_pos]; in cs_etm__update_last_branch_rb()
Dintel-pt.c147 size_t last_branch_pos; member
1144 nr = ptq->pt->synth_opts.last_branch_sz - ptq->last_branch_pos; in intel_pt_copy_last_branch_rb()
1146 &bs_src->entries[ptq->last_branch_pos], in intel_pt_copy_last_branch_rb()
1152 sizeof(struct branch_entry) * ptq->last_branch_pos); in intel_pt_copy_last_branch_rb()
1158 ptq->last_branch_pos = 0; in intel_pt_reset_last_branch_rb()
1168 if (!ptq->last_branch_pos) in intel_pt_update_last_branch_rb()
1169 ptq->last_branch_pos = ptq->pt->synth_opts.last_branch_sz; in intel_pt_update_last_branch_rb()
1171 ptq->last_branch_pos -= 1; in intel_pt_update_last_branch_rb()
1173 be = &bs->entries[ptq->last_branch_pos]; in intel_pt_update_last_branch_rb()