Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:28:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sed to show worker information through /proc/PID/{comm,stat,status}
Proto:void wq_worker_comm(char *buf, size_t size, struct task_struct *task)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| char * | buf | |
| size_t | size | |
| struct task_struct * | task |
| 4822 | If off < 0 Then Return |
| 4826 | mutex_lock( & wq_pool_attach_mutex) |
| 4829 | worker = kthread_data(task) |
| 4830 | pool = A: the associated pool |
| 4832 | If pool Then |
| 4833 | spin_lock_irq( & he pool lock ) |
| 4847 | spin_unlock_irq( & he pool lock ) |
| 4851 | mutex_unlock( & wq_pool_attach_mutex) |
| 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 |