Searched refs:br_stack (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | intel-pt.c | 159 struct branch_stack *br_stack; member 1268 pt->br_stack = intel_pt_alloc_br_stack(pt->br_stack_sz); in intel_pt_br_stack_init() 1269 if (!pt->br_stack) in intel_pt_br_stack_init() 1282 thread_stack__br_sample_late(thread, sample->cpu, pt->br_stack, in intel_pt_add_br_stack() 1286 sample->branch_stack = pt->br_stack; in intel_pt_add_br_stack() 2274 static void intel_pt_add_lbrs(struct branch_stack *br_stack, in intel_pt_add_lbrs() 2280 br_stack->nr = 0; 2282 to = &br_stack->entries[0].from; 2293 br_stack->nr += 1; 3861 zfree(&pt->br_stack); in intel_pt_process_auxtrace_event() 2252 intel_pt_add_lbrs(struct branch_stack * br_stack,const struct intel_pt_blk_items * items) intel_pt_add_lbrs() argument [all...] |
| /linux/kernel/trace/ |
| H A D | bpf_trace.c | 1539 struct perf_branch_stack *br_stack = ctx->data->br_stack; in BPF_CALL_4() local 1548 if (unlikely(!br_stack)) in BPF_CALL_4() 1552 return br_stack->nr * br_entry_size; in BPF_CALL_4() 1557 to_copy = min_t(u32, br_stack->nr * br_entry_size, size); in BPF_CALL_4() 1558 memcpy(buf, br_stack->entries, to_copy); in BPF_CALL_4()
|
| /linux/kernel/events/ |
| H A D | core.c | 8380 if (data->br_stack) { in perf_output_sample() 8383 size = data->br_stack->nr in perf_output_sample() 8386 perf_output_put(handle, data->br_stack->nr); in perf_output_sample() 8388 perf_output_put(handle, data->br_stack->hw_idx); in perf_output_sample() 8389 perf_output_copy(handle, data->br_stack->entries, size); in perf_output_sample() 8395 size = data->br_stack->nr * sizeof(u64); in perf_output_sample() 8698 data->br_stack = NULL; in perf_prepare_sample()
|