]> Git Repo - linux.git/commit - lib/nmi_backtrace.c
lib: Add backtrace_idle parameter to force backtrace of idle CPUs
authorPaul E. McKenney <[email protected]>
Wed, 8 Jul 2020 23:25:43 +0000 (16:25 -0700)
committerPaul E. McKenney <[email protected]>
Mon, 24 Aug 2020 21:24:25 +0000 (14:24 -0700)
commit160c7ba34605d9b59ee406a1b4a61b0f942b1ae9
tree6bb20cf2018927bc9fd28b8357a3e7d0410e06fc
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
lib: Add backtrace_idle parameter to force backtrace of idle CPUs

Currently, the nmi_cpu_backtrace() declines to produce backtraces for
idle CPUs.  This is a good choice in the common case in which problems are
caused only by non-idle CPUs.  However, there are occasionally situations
in which idle CPUs are helping to cause problems.  This commit therefore
adds an nmi_backtrace.backtrace_idle kernel boot parameter that causes
nmi_cpu_backtrace() to dump stacks even of idle CPUs.

Signed-off-by: Paul E. McKenney <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: <[email protected]>
Documentation/admin-guide/kernel-parameters.txt
lib/nmi_backtrace.c
This page took 0.055609 seconds and 4 git commands to generate.