函数逻辑报告 |
Source Code:kernel\workqueue.c |
Create Date:2022-07-27 10:28:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sed to show worker information through /proc/PID/{comm,stat,status}
函数原型:void wq_worker_comm(char *buf, size_t size, struct task_struct *task)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
char * | buf | |
size_t | size | |
struct task_struct * | task |
4822 | 如果off小于0则返回 |
4826 | mutex_lock( & wq_pool_attach_mutex) |
4829 | worker等于kthread_data(task) |
4830 | pool等于A: the associated pool |
4832 | 如果pool则 |
4833 | spin_lock_irq( & he pool lock ) |
4840 | 如果L: work being processed 则格式化输出字符串 |
4843 | 否则格式化输出字符串 |
4847 | spin_unlock_irq( & he pool lock ) |
4851 | mutex_unlock( & wq_pool_attach_mutex) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |