Lines Matching refs:last_branch
75 struct branch_stack *last_branch; member
295 if (etm->synth_opts.last_branch) { in cs_etm__init_traceid_queue()
300 tidq->last_branch = zalloc(sz); in cs_etm__init_traceid_queue()
301 if (!tidq->last_branch) in cs_etm__init_traceid_queue()
316 zfree(&tidq->last_branch); in cs_etm__init_traceid_queue()
413 if (etm->sample_branches || etm->synth_opts.last_branch || in cs_etm__packet_swap()
593 zfree(&tidq->last_branch); in cs_etm__free_traceid_queues()
914 struct branch_stack *bs_dst = tidq->last_branch; in cs_etm__copy_last_branch_rb()
1193 if (etm->synth_opts.last_branch) in cs_etm__synth_instruction_sample()
1194 sample.branch_stack = tidq->last_branch; in cs_etm__synth_instruction_sample()
1256 if (etm->synth_opts.last_branch) { in cs_etm__synth_branch_sample()
1375 if (etm->synth_opts.last_branch) { in cs_etm__synth_events()
1418 if (etm->synth_opts.last_branch && in cs_etm__sample()
1481 if (etm->synth_opts.last_branch) in cs_etm__sample()
1559 if (etmq->etm->synth_opts.last_branch && in cs_etm__flush()
1596 if (etm->synth_opts.last_branch) in cs_etm__flush()
1616 if (etmq->etm->synth_opts.last_branch && in cs_etm__end_block()