Lines Matching refs:max_depth
191 get_callchain_entry_for_task(struct task_struct *task, u32 max_depth) in get_callchain_entry_for_task() argument
203 max_depth, 0); in get_callchain_entry_for_task()
303 u32 max_depth = map->value_size / stack_map_data_size(map); in BPF_CALL_3() local
313 max_depth += skip; in BPF_CALL_3()
314 if (max_depth > sysctl_perf_event_max_stack) in BPF_CALL_3()
315 max_depth = sysctl_perf_event_max_stack; in BPF_CALL_3()
317 trace = get_perf_callchain(regs, 0, kernel, user, max_depth, in BPF_CALL_3()
409 u32 trace_nr, copy_len, elem_size, num_elem, max_depth; in __bpf_get_stack() local
442 max_depth = num_elem + skip; in __bpf_get_stack()
443 if (sysctl_perf_event_max_stack < max_depth) in __bpf_get_stack()
444 max_depth = sysctl_perf_event_max_stack; in __bpf_get_stack()
452 trace = get_callchain_entry_for_task(task, max_depth); in __bpf_get_stack()
454 trace = get_perf_callchain(regs, 0, kernel, user, max_depth, in __bpf_get_stack()