函数逻辑报告 |
Source Code:kernel\rcu\tree_stall.h |
Create Date:2022-07-27 11:28:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:print_other_cpu_stall
函数原型:static void print_other_cpu_stall(unsigned long gp_seq)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | gp_seq |
360 | ndetected等于0 |
362 | totqlen等于0 |
366 | 如果rcu_cpu_stall_suppress则返回 |
374 | 打印错误信息("INFO: %s detected stalls on CPUs/tasks:\n", Name of structure. ) |
377 | ndetected加等于Because preemptible RCU does not exist, we never have to check for* tasks blocked within RCU read-side critical sections. |
378 | 如果CPUs or groups that need to switch in 不等于0则 |
389 | totqlen加等于Return the number of callbacks queued on the specified CPU.* Handles both the nocbs and normal cases. |
390 | 打印标准信息("\t(detected by %d, t=%ld jiffies, g=%ld, q=%lu)\n", 当前cpu ID(), (long)(jiffies - Time at which GP started, ), (long)Return the current value the update side's sequence number, no ordering. , totqlen) |
393 | 如果ndetected则 |
399 | 否则 |
401 | 打印错误信息("INFO: Stall ended before state dump start\n") |
402 | 否则 |
404 | gpa等于READ_ONCE(Time of last GP kthread ) |
405 | 打印错误信息("All QSes seen, last %s kthread activity %ld (%ld-%ld), jiffies_till_next_fqs=%ld, root ->qsmask %#lx\n", Name of structure. , j - gpa, j, gpa, READ_ONCE(jiffies_till_next_fqs), CPUs or groups that need to switch in ) |
410 | sched_show_task(当前进程) |
414 | 如果ULONG_CMP_GE(jiffies, READ_ONCE(Time at which to check ))则WRITE_ONCE(Time at which to check , jiffies + 3 * Limit-check stall timeouts specified at boottime and runtime. + 3) |
名称 | 描述 |
---|---|
check_cpu_stall |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |