Lines Matching refs:last_branch
73 struct branch_stack *last_branch; member
293 if (etm->synth_opts.last_branch) { in cs_etm__init_traceid_queue()
298 tidq->last_branch = zalloc(sz); in cs_etm__init_traceid_queue()
299 if (!tidq->last_branch) in cs_etm__init_traceid_queue()
314 zfree(&tidq->last_branch); in cs_etm__init_traceid_queue()
411 if (etm->synth_opts.branches || etm->synth_opts.last_branch || in cs_etm__packet_swap()
591 zfree(&tidq->last_branch); in cs_etm__free_traceid_queues()
912 struct branch_stack *bs_dst = tidq->last_branch; in cs_etm__copy_last_branch_rb()
1191 if (etm->synth_opts.last_branch) in cs_etm__synth_instruction_sample()
1192 sample.branch_stack = tidq->last_branch; in cs_etm__synth_instruction_sample()
1254 if (etm->synth_opts.last_branch) { in cs_etm__synth_branch_sample()
1372 if (etm->synth_opts.last_branch) { in cs_etm__synth_events()
1414 if (etm->synth_opts.last_branch && in cs_etm__sample()
1477 if (etm->synth_opts.last_branch) in cs_etm__sample()
1555 if (etmq->etm->synth_opts.last_branch && in cs_etm__flush()
1593 if (etm->synth_opts.last_branch) in cs_etm__flush()
1613 if (etmq->etm->synth_opts.last_branch && in cs_etm__end_block()