Lines Matching refs:last_branch
83 struct branch_stack *last_branch; member
200 zfree(&etmq->last_branch); in cs_etm__free_queue()
309 if (etm->synth_opts.last_branch || etm->sample_branches) { in cs_etm__alloc_queue()
315 if (etm->synth_opts.last_branch) { in cs_etm__alloc_queue()
320 etmq->last_branch = zalloc(sz); in cs_etm__alloc_queue()
321 if (!etmq->last_branch) in cs_etm__alloc_queue()
390 zfree(&etmq->last_branch); in cs_etm__alloc_queue()
450 struct branch_stack *bs_dst = etmq->last_branch; in cs_etm__copy_last_branch_rb()
670 if (etm->synth_opts.last_branch) { in cs_etm__synth_instruction_sample()
672 sample.branch_stack = etmq->last_branch; in cs_etm__synth_instruction_sample()
689 if (etm->synth_opts.last_branch) in cs_etm__synth_instruction_sample()
728 if (etm->synth_opts.last_branch) { in cs_etm__synth_branch_sample()
846 if (etm->synth_opts.last_branch) in cs_etm__synth_events()
879 if (etm->synth_opts.last_branch && in cs_etm__sample()
932 if (etm->sample_branches || etm->synth_opts.last_branch) { in cs_etm__sample()
958 if (etmq->etm->synth_opts.last_branch && in cs_etm__flush()
987 if (etmq->etm->synth_opts.last_branch) { in cs_etm__flush()