函数逻辑报告 |
Source Code:kernel\rcu\tree_stall.h |
Create Date:2022-07-27 11:28:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Show the state of the grace-period kthreads.
函数原型:void show_rcu_gp_kthreads(void)
返回类型:void
参数:无
563 | ja等于j减READ_ONCE(Time of last GP kthread ) |
564 | jr等于j减READ_ONCE(Time of last GP request ) |
565 | jw等于j减READ_ONCE(Last GP kthread wake. ) |
566 | 打印信息("%s: wait state: %s(%d) ->state: %#lx delta ->gp_activity %lu ->gp_req_activity %lu ->gp_wake_time %lu ->gp_wake_seq %ld ->gp_seq %ld ->gp_seq_needed %ld ->gp_flags %#x\n", Name of structure. , Convert a ->gp_state value to a character string., GP kthread sleep state. , Task for grace periods. ? 任务状态 : 0x1ffffL, ja, jr, jw, (long)READ_ONCE(->gp_seq at ^^^. ), (long)READ_ONCE(Grace-period sequence #. ), (long)READ_ONCE(Track furthest future GP request. ), READ_ONCE(Commands for GP task. )) |
575 | 如果ULONG_CMP_GE(Grace-period sequence #. , Track furthest future GP request. )则继续下一循环 |
577 | 打印信息("\trcu_node %d:%d ->gp_seq %ld ->gp_seq_needed %ld\n", lowest-numbered CPU or group here. , highest-numbered CPU or group here. , (long)Track rsp->rcu_gp_seq. , (long)Track furthest future GP request. ) |
580 | 如果非Is this rcu_node a leaf? (rnp)则继续下一循环 |
583 | rdp等于per_cpu_ptr( & rcu_data, cpu) |
584 | 如果Possible ->gp_seq wrap. 或ULONG_CMP_GE(Grace-period sequence #. , Track furthest future GP request. )则继续下一循环 |
588 | 打印信息("\tcpu %d ->gp_seq_needed %ld\n", cpu, (long)Track furthest future GP request. ) |
593 | rdp等于per_cpu_ptr( & rcu_data, cpu) |
名称 | 描述 |
---|---|
rcu_torture_cleanup | |
rcu_torture_stats_print | Print torture statistics |
rcu_check_gp_start_stall | This function checks for grace-period requests that fail to motivate* RCU to come out of its idle mode. |
rcu_fwd_progress_check | Do a forward-progress check for rcutorture. This is normally invoked* due to an OOM event. The argument "j" gives the time period during* which rcutorture would like progress to have been made. |
sysrq_show_rcu | Dump grace-period-request information due to commandeered sysrq. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |