Function report |
Source Code:kernel\rcu\tree_stall.h |
Create Date:2022-07-28 10:27:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:print_other_cpu_stall
Proto:static void print_other_cpu_stall(unsigned long gp_seq)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | gp_seq |
360 | ndetected = 0 |
362 | totqlen = 0 |
366 | If rcu_cpu_stall_suppress Then Return |
374 | pr_err("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 | If CPUs or groups that need to switch in != 0 Then |
388 | for_each_possible_cpu(cpu) |
389 | totqlen += Return the number of callbacks queued on the specified CPU.* Handles both the nocbs and normal cases. |
390 | 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(detected by %d, t=%ld jiffies, g=%ld, q=%lu)\n", smp_processor_id(), (long)(jiffies - Time at which GP started, ), (long)Return the current value the update side's sequence number, no ordering. , totqlen) |
393 | If ndetected Then |
399 | Else |
401 | pr_err("INFO: Stall ended before state dump start\n") |
402 | Else |
404 | gpa = READ_ONCE(Time of last GP kthread ) |
405 | pr_err("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 ) |
414 | If ULONG_CMP_GE(jiffies, READ_ONCE(Time at which to check )) Then WRITE_ONCE(Time at which to check , jiffies + 3 * Limit-check stall timeouts specified at boottime and runtime. + 3) |
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 |