函数逻辑报告 |
Source Code:kernel\tsacct.c |
Create Date:2022-07-27 12:54:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:ll in basic accounting fields
函数原型:void bacct_add_tsk(struct user_namespace *user_ns, struct pid_namespace *pid_ns, struct taskstats *stats, struct task_struct *tsk)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct user_namespace * | user_ns | |
| struct pid_namespace * | pid_ns | |
| struct taskstats * | stats | |
| struct task_struct * | tsk |
| 28 | BUILD_BUG_ON - break compile if a condition is true(should be >= TASK_COMM_LEN* in linux/sched.h < Task command name length: ) |
| 31 | delta等于ktime_get_ns()减进程创建时间戳 |
| 37 | Begin time [sec since 1970] 等于These interfaces are all based on the old timespec type* and should get replaced with the timespec64 based versions* over time so we can remove the file here.减delta |
| 38 | 如果thread_group_leader(tsk)则 |
| 39 | Exit status 等于进程退出时发出的标号 |
| 43 | 如果任务标志按位与使用超级用户权限则 Record flags 或等于... used super-user privileges |
| 45 | 如果任务标志按位与Dumped core 则 Record flags 或等于... dumped core |
| 47 | 如果任务标志按位与Killed by a signal 则 Record flags 或等于... was killed by a signal |
| 51 | Process ID 等于task_pid_nr_ns(tsk, pid_ns) |
| 60 | task_cputime(tsk, & utime, & stime) |
| 64 | task_cputime_scaled(tsk, & utimescaled, & stimescaled) |
| 71 | strncpy( Command name , 是否使用FPU, Command name 的长度) |
| 名称 | 描述 |
|---|---|
| fill_stats |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |