diff options
| author | Zhen Lei <[email protected]> | 2022-11-19 09:25:08 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2023-01-05 20:21:11 +0000 |
| commit | 3ab955de929a53245c89deb7ff9992b6eebbe4e8 (patch) | |
| tree | 1ea3fd70e63c367b60f9420c8447e6bc29a9231c /lib/string.c | |
| parent | rcu: Add RCU stall diagnosis information (diff) | |
| download | kernel-3ab955de929a53245c89deb7ff9992b6eebbe4e8.tar.gz kernel-3ab955de929a53245c89deb7ff9992b6eebbe4e8.zip | |
rcu: Align the output of RCU CPU stall warning messages
Time stamps are added to the output in kernels built with
CONFIG_PRINTK_TIME=y, which causes misaligned output. Therefore,
replace pr_cont() with pr_err(), which fixes alignment and gets
rid of a couple of despised pr_cont() calls.
Before:
[ 37.567343] rcu: INFO: rcu_preempt self-detected stall on CPU
[ 37.567839] rcu: 0-....: (1500 ticks this GP) idle=***
[ 37.568270] (t=1501 jiffies g=4717 q=28 ncpus=4)
[ 37.568668] CPU: 0 PID: 313 Comm: test0 Not tainted 6.1.0-rc4 #8
After:
[ 36.762074] rcu: INFO: rcu_preempt self-detected stall on CPU
[ 36.762543] rcu: 0-....: (1499 ticks this GP) idle=***
[ 36.763003] rcu: (t=1500 jiffies g=5097 q=27 ncpus=4)
[ 36.763522] CPU: 0 PID: 313 Comm: test0 Not tainted 6.1.0-rc4 #9
Signed-off-by: Zhen Lei <[email protected]>
Reviewed-by: Frederic Weisbecker <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions
