aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/rcupreempt_trace.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/rcupreempt_trace.c b/kernel/rcupreempt_trace.c
index 7c2665cac172..11640346a507 100644
--- a/kernel/rcupreempt_trace.c
+++ b/kernel/rcupreempt_trace.c
@@ -236,12 +236,13 @@ static ssize_t rcuctrs_read(struct file *filp, char __user *buffer,
236 236
237 cnt += snprintf(&rcupreempt_trace_buf[cnt], RCUPREEMPT_TRACE_BUF_SIZE, 237 cnt += snprintf(&rcupreempt_trace_buf[cnt], RCUPREEMPT_TRACE_BUF_SIZE,
238 "CPU last cur F M\n"); 238 "CPU last cur F M\n");
239 for_each_online_cpu(cpu) { 239 for_each_possible_cpu(cpu) {
240 long *flipctr = rcupreempt_flipctr(cpu); 240 long *flipctr = rcupreempt_flipctr(cpu);
241 cnt += snprintf(&rcupreempt_trace_buf[cnt], 241 cnt += snprintf(&rcupreempt_trace_buf[cnt],
242 RCUPREEMPT_TRACE_BUF_SIZE - cnt, 242 RCUPREEMPT_TRACE_BUF_SIZE - cnt,
243 "%3d %4ld %3ld %d %d\n", 243 "%3d%c %4ld %3ld %d %d\n",
244 cpu, 244 cpu,
245 cpu_is_offline(cpu) ? '!' : ' ',
245 flipctr[!f], 246 flipctr[!f],
246 flipctr[f], 247 flipctr[f],
247 rcupreempt_flip_flag(cpu), 248 rcupreempt_flip_flag(cpu),