Function report |
Source Code:kernel\stacktrace.c |
Create Date:2022-07-28 10:37:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:stack_trace_save_tsk - Save a task stack trace into a storage array*@task: The task to examine*@store: Pointer to storage array*@size: Size of the storage array*@skipnr: Number of entries to skip at the start of the stack trace
Proto:unsigned int stack_trace_save_tsk(struct task_struct *tsk, unsigned long *store, unsigned int size, unsigned int skipnr)
Type:unsigned int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | tsk | |
| unsigned long * | store | |
| unsigned int | size | |
| unsigned int | skipnr |
| 141 | struct stacktrace_cookie c = {store = store, size = size, skip = skipnr + (current process == tsk), } |
| 148 | If Not try_get_task_stack(tsk) Then Return 0 |
| 151 | arch_stack_walk(consume_entry, & c, tsk, NULL) |
| 152 | put_task_stack(tsk) |
| 153 | Return len |
| Name | Describe |
|---|---|
| __account_scheduler_latency | __account_scheduler_latency - record an occurred latency*@tsk - the task struct of the task hitting the latency*@usecs - the duration of the latency in microseconds*@inter - 1 if the sleep was interruptible, 0 if uninterruptible* This function is the main |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |