Home
last modified time | relevance | path

Searched refs:br_entry_size (Results 1 – 1 of 1) sorted by relevance

/kernel/trace/
Dbpf_trace.c1156 static const u32 br_entry_size = sizeof(struct perf_branch_entry); in BPF_CALL_3()
1157 u32 entry_cnt = size / br_entry_size; in BPF_CALL_3()
1167 return entry_cnt * br_entry_size; in BPF_CALL_3()
1723 static const u32 br_entry_size = sizeof(struct perf_branch_entry); in BPF_CALL_4() local
1737 return br_stack->nr * br_entry_size; in BPF_CALL_4()
1739 if (!buf || (size % br_entry_size != 0)) in BPF_CALL_4()
1742 to_copy = min_t(u32, br_stack->nr * br_entry_size, size); in BPF_CALL_4()