Lines Matching refs:last_branch
183 struct branch_stack *last_branch; member
1277 if (pt->synth_opts.last_branch || pt->synth_opts.other_events) { in intel_pt_alloc_queue()
1280 ptq->last_branch = intel_pt_alloc_br_stack(entry_cnt); in intel_pt_alloc_queue()
1281 if (!ptq->last_branch) in intel_pt_alloc_queue()
1361 zfree(&ptq->last_branch); in intel_pt_alloc_queue()
1378 zfree(&ptq->last_branch); in intel_pt_free_queue()
1756 if (pt->synth_opts.last_branch && sort__mode == SORT_MODE__BRANCH) { in intel_pt_synth_branch_sample()
1794 if (pt->synth_opts.last_branch) { in intel_pt_prep_sample()
1795 thread_stack__br_sample(ptq->thread, ptq->cpu, ptq->last_branch, in intel_pt_prep_sample()
1797 sample->branch_stack = ptq->last_branch; in intel_pt_prep_sample()
2249 intel_pt_add_lbrs(ptq->last_branch, items); in intel_pt_do_synth_pebs_sample()
2250 } else if (pt->synth_opts.last_branch) { in intel_pt_do_synth_pebs_sample()
2252 ptq->last_branch, in intel_pt_do_synth_pebs_sample()
2255 ptq->last_branch->nr = 0; in intel_pt_do_synth_pebs_sample()
2257 sample.branch_stack = ptq->last_branch; in intel_pt_do_synth_pebs_sample()
3703 if (pt->synth_opts.last_branch) { in intel_pt_synth_events()
4339 if (pt->synth_opts.last_branch || pt->synth_opts.add_last_branch) { in intel_pt_process_auxtrace_info()
4364 pt->synth_opts.last_branch || in intel_pt_process_auxtrace_info()