Home
last modified time | relevance | path

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

/Linux-v4.19/tools/perf/util/
Dcs-etm.c85 size_t last_branch_pos; member
470 nr = etmq->etm->synth_opts.last_branch_sz - etmq->last_branch_pos; in cs_etm__copy_last_branch_rb()
472 &bs_src->entries[etmq->last_branch_pos], in cs_etm__copy_last_branch_rb()
485 sizeof(struct branch_entry) * etmq->last_branch_pos); in cs_etm__copy_last_branch_rb()
491 etmq->last_branch_pos = 0; in cs_etm__reset_last_branch_rb()
555 if (!etmq->last_branch_pos) in cs_etm__update_last_branch_rb()
556 etmq->last_branch_pos = etmq->etm->synth_opts.last_branch_sz; in cs_etm__update_last_branch_rb()
558 etmq->last_branch_pos -= 1; in cs_etm__update_last_branch_rb()
560 be = &bs->entries[etmq->last_branch_pos]; in cs_etm__update_last_branch_rb()
Dintel-pt.c141 size_t last_branch_pos; member
1004 nr = ptq->pt->synth_opts.last_branch_sz - ptq->last_branch_pos; in intel_pt_copy_last_branch_rb()
1006 &bs_src->entries[ptq->last_branch_pos], in intel_pt_copy_last_branch_rb()
1012 sizeof(struct branch_entry) * ptq->last_branch_pos); in intel_pt_copy_last_branch_rb()
1018 ptq->last_branch_pos = 0; in intel_pt_reset_last_branch_rb()
1028 if (!ptq->last_branch_pos) in intel_pt_update_last_branch_rb()
1029 ptq->last_branch_pos = ptq->pt->synth_opts.last_branch_sz; in intel_pt_update_last_branch_rb()
1031 ptq->last_branch_pos -= 1; in intel_pt_update_last_branch_rb()
1033 be = &bs->entries[ptq->last_branch_pos]; in intel_pt_update_last_branch_rb()