Searched refs:stack (Results 1 – 10 of 10) sorted by relevance
/kernel/trace/ |
D | trace_events_filter.c | 720 static int __alloc_pred_stack(struct pred_stack *stack, int n_preds) in __alloc_pred_stack() argument 722 stack->preds = kcalloc(n_preds + 1, sizeof(*stack->preds), GFP_KERNEL); in __alloc_pred_stack() 723 if (!stack->preds) in __alloc_pred_stack() 725 stack->index = n_preds; in __alloc_pred_stack() 729 static void __free_pred_stack(struct pred_stack *stack) in __free_pred_stack() argument 731 kfree(stack->preds); in __free_pred_stack() 732 stack->index = 0; in __free_pred_stack() 735 static int __push_pred_stack(struct pred_stack *stack, in __push_pred_stack() argument 738 int index = stack->index; in __push_pred_stack() 743 stack->preds[--index] = pred; in __push_pred_stack() [all …]
|
D | trace_stack.c | 75 check_stack(unsigned long ip, unsigned long *stack) in check_stack() argument 82 this_size = ((unsigned long)stack) & (THREAD_SIZE-1); in check_stack() 91 if (!object_is_on_stack(stack)) in check_stack() 139 start = stack; in check_stack() 178 tracer_frame = (p - stack) * in check_stack() 208 unsigned long stack; in stack_trace_call() local 220 check_stack(ip, &stack); in stack_trace_call()
|
D | Kconfig | 160 address on the current task structure into a stack of calls. 396 bool "Trace max stack" 402 This special tracer records the maximum stack footprint of the 406 kernel executes, and keeping a maximum stack depth value and 407 stack-trace saved. If this is configured with DYNAMIC_FTRACE 408 then it will not have any overhead while the stack tracer 411 To enable the stack tracer on bootup, pass in 'stacktrace' 414 The stack tracer can also be enabled or disabled via the
|
D | trace_kprobe.c | 135 static void FETCH_FUNC_NAME(stack, type)(struct pt_regs *regs, \ 141 NOKPROBE_SYMBOL(FETCH_FUNC_NAME(stack, type)); 143 DEFINE_BASIC_FETCH_FUNCS(stack)
|
D | trace_probe.h | 228 ASSIGN_FETCH_FUNC(stack, ftype), \
|
D | trace_uprobe.c | 111 static void FETCH_FUNC_NAME(stack, type)(struct pt_regs *regs, \ 117 DEFINE_BASIC_FETCH_FUNCS(stack)
|
/kernel/ |
D | fork.c | 152 void __weak arch_release_thread_stack(unsigned long *stack) in arch_release_thread_stack() argument 176 void *stack; in alloc_thread_stack_node() local 193 stack = __vmalloc_node_range(THREAD_SIZE, THREAD_SIZE, in alloc_thread_stack_node() 204 if (stack) in alloc_thread_stack_node() 205 tsk->stack_vm_area = find_vm_area(stack); in alloc_thread_stack_node() 206 return stack; in alloc_thread_stack_node() 217 kaiser_unmap_thread_stack(tsk->stack); in free_thread_stack() 234 vfree(tsk->stack); in free_thread_stack() 239 __free_pages(virt_to_page(tsk->stack), THREAD_SIZE_ORDER); in free_thread_stack() 252 kmem_cache_free(thread_stack_cache, tsk->stack); in free_thread_stack() [all …]
|
/kernel/debug/kdb/ |
D | kdb_cmds | 3 # processes. Commands that require process data (including stack or
|
/kernel/bpf/ |
D | core.c | 471 u64 stack[MAX_BPF_STACK / sizeof(u64)]; in __bpf_prog_run() local 580 FP = (u64) (unsigned long) &stack[ARRAY_SIZE(stack)]; in __bpf_prog_run()
|
/kernel/events/ |
D | uprobes.c | 1597 ri->stack = user_stack_pointer(regs); in prepare_uretprobe()
|