Lines Matching full:trace

5  * Stack trace management functions
18 * stack_trace_print - Print the entries in the stack trace
37 * stack_trace_snprint - Print the entries in the stack trace into a buffer
104 * stack_trace_save - Save a stack trace into a storage array
107 * @skipnr: Number of entries to skip at the start of the stack trace
109 * Return: Number of trace entries stored.
127 * stack_trace_save_tsk - Save a task stack trace into a storage array
131 * @skipnr: Number of entries to skip at the start of the stack trace
133 * Return: Number of trace entries stored.
155 * stack_trace_save_regs - Save a stack trace based on pt_regs into a storage array
159 * @skipnr: Number of entries to skip at the start of the stack trace
161 * Return: Number of trace entries stored.
185 * stack. Otherwise it guarantees that the stack trace is
215 * stack_trace_save_user - Save a user space stack trace into a storage array
219 * Return: Number of trace entries stored.
230 /* Trace user stack if not a kernel thread */ in stack_trace_save_user()
250 save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() argument
256 save_stack_trace_regs(struct pt_regs *regs, struct stack_trace *trace) in save_stack_trace_regs() argument
262 * stack_trace_save - Save a stack trace into a storage array
265 * @skipnr: Number of entries to skip at the start of the stack trace
267 * Return: Number of trace entries stored
272 struct stack_trace trace = { in stack_trace_save() local
278 save_stack_trace(&trace); in stack_trace_save()
279 return trace.nr_entries; in stack_trace_save()
284 * stack_trace_save_tsk - Save a task stack trace into a storage array
288 * @skipnr: Number of entries to skip at the start of the stack trace
290 * Return: Number of trace entries stored
296 struct stack_trace trace = { in stack_trace_save_tsk() local
303 save_stack_trace_tsk(task, &trace); in stack_trace_save_tsk()
304 return trace.nr_entries; in stack_trace_save_tsk()
308 * stack_trace_save_regs - Save a stack trace based on pt_regs into a storage array
312 * @skipnr: Number of entries to skip at the start of the stack trace
314 * Return: Number of trace entries stored
319 struct stack_trace trace = { in stack_trace_save_regs() local
325 save_stack_trace_regs(regs, &trace); in stack_trace_save_regs()
326 return trace.nr_entries; in stack_trace_save_regs()
337 * stack. Otherwise it guarantees that the stack trace is
345 struct stack_trace trace = { in stack_trace_save_tsk_reliable() local
349 int ret = save_stack_trace_tsk_reliable(tsk, &trace); in stack_trace_save_tsk_reliable()
351 return ret ? ret : trace.nr_entries; in stack_trace_save_tsk_reliable()
357 * stack_trace_save_user - Save a user space stack trace into a storage array
361 * Return: Number of trace entries stored
365 struct stack_trace trace = { in stack_trace_save_user() local
370 save_stack_trace_user(&trace); in stack_trace_save_user()
371 return trace.nr_entries; in stack_trace_save_user()