Lines Matching refs:last_branch
76 struct branch_stack *last_branch; member
253 if (etm->synth_opts.last_branch) { in cs_etm__init_traceid_queue()
258 tidq->last_branch = zalloc(sz); in cs_etm__init_traceid_queue()
259 if (!tidq->last_branch) in cs_etm__init_traceid_queue()
274 zfree(&tidq->last_branch); in cs_etm__init_traceid_queue()
544 zfree(&tidq->last_branch); in cs_etm__free_traceid_queues()
860 struct branch_stack *bs_dst = tidq->last_branch; in cs_etm__copy_last_branch_rb()
1137 if (etm->synth_opts.last_branch) { in cs_etm__synth_instruction_sample()
1139 sample.branch_stack = tidq->last_branch; in cs_etm__synth_instruction_sample()
1156 if (etm->synth_opts.last_branch) in cs_etm__synth_instruction_sample()
1202 if (etm->synth_opts.last_branch) { in cs_etm__synth_branch_sample()
1320 if (etm->synth_opts.last_branch) in cs_etm__synth_events()
1354 if (etm->synth_opts.last_branch && in cs_etm__sample()
1407 if (etm->sample_branches || etm->synth_opts.last_branch) { in cs_etm__sample()
1450 if (etmq->etm->synth_opts.last_branch && in cs_etm__flush()
1479 if (etm->sample_branches || etm->synth_opts.last_branch) { in cs_etm__flush()
1506 if (etmq->etm->synth_opts.last_branch && in cs_etm__end_block()