Function report |
Source Code:kernel\rcu\srcutree.c |
Create Date:2022-07-28 10:19:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:srcu_torture_stats_print
Proto:void srcu_torture_stats_print(struct srcu_struct *ssp, char *tt, char *tf)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct srcu_struct * | ssp | |
| char * | tt | |
| char * | tf |
| 1259 | idx = Current reader array element. & 0x1 |
| 1260 | pr_alert("%s%s Tree SRCU g%ld per-CPU(idx=%d):", tt, tf, Return the current value the update side's sequence number, no ordering. , idx) |
| 1262 | for_each_possible_cpu(cpu) |
| 1268 | sdp = per_cpu_ptr(sda, cpu) |
| 1269 | u0 = srcu_unlock_count[!idx] |
| 1270 | u1 = srcu_unlock_count[idx] |
| 1276 | smp_rmb() |
| 1278 | l0 = srcu_lock_count[!idx] |
| 1279 | l1 = srcu_lock_count[idx] |
| 1289 | Like KERN_CONT, pr_cont() should only be used when continuing* a line with no newline ('\n') enclosed. Otherwise it defaults* back to KERN_DEFAULT.(" T(%ld,%ld)\n", s0, s1) |
| Name | Describe |
|---|---|
| srcu_torture_stats |
| 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 |