Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:27:54 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:print_worker_info - print out worker information and description*@log_lvl: the log level to use when printing*@task: target task* If @task is a worker and currently executing a work item, print out the* name of the workqueue being serviced and worker
Proto:void print_worker_info(const char *log_lvl, struct task_struct *task)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | log_lvl | |
| struct task_struct * | task |
| 4606 | work_func_t * fn = NULL |
| 4607 | char name[WQ_NAME_LEN] = {} |
| 4608 | char desc[WORKER_DESC_LEN] = {} |
| 4609 | struct pool_workqueue * pwq = NULL |
| 4610 | struct workqueue_struct * wq = NULL |
| 4613 | If Not ( Per task flags (PF_*), defined further below: & I'm a workqueue worker ) Then Return |
| 4620 | worker = kthread_probe_data(task) |
| Name | Describe |
|---|---|
| sched_show_task |
| 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 |