Lines Matching refs:last_branch
145 struct branch_stack *last_branch; member
870 if (pt->synth_opts.last_branch) { in intel_pt_alloc_queue()
875 ptq->last_branch = zalloc(sz); in intel_pt_alloc_queue()
876 if (!ptq->last_branch) in intel_pt_alloc_queue()
948 zfree(&ptq->last_branch); in intel_pt_alloc_queue()
964 zfree(&ptq->last_branch); in intel_pt_free_queue()
1136 struct branch_stack *bs_dst = ptq->last_branch; in intel_pt_copy_last_branch_rb()
1294 if (pt->synth_opts.last_branch && sort__mode == SORT_MODE__BRANCH) { in intel_pt_synth_branch_sample()
1330 if (pt->synth_opts.last_branch) { in intel_pt_prep_sample()
1332 sample->branch_stack = ptq->last_branch; in intel_pt_prep_sample()
1346 if (pt->synth_opts.last_branch) in intel_pt_deliver_synth_event()
1785 } else if (pt->synth_opts.last_branch) { in intel_pt_synth_pebs_sample()
1787 sample.branch_stack = ptq->last_branch; in intel_pt_synth_pebs_sample()
1984 if (pt->synth_opts.last_branch) in intel_pt_sample()
2799 if (pt->synth_opts.last_branch) in intel_pt_synth_events()