xen/trace: Don't dump offline CPUs in debugtrace_dump_worker()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 21 May 2020 08:19:33 +0000 (09:19 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 22 May 2020 19:04:46 +0000 (20:04 +0100)
commitabf378e6483195b98a3f32e2c9d017e0eeeb275f
tree13150781d6ebdef15e8e8f75cbdc2fbfc02a8e2f
parentb72d8870b5f68f06b083e6bfdb28f081bcb6ab3b
xen/trace: Don't dump offline CPUs in debugtrace_dump_worker()

The 'T' debugkey reliably wedges on one of my systems, which has a sparse
APIC_ID layout due to a non power-of-2 number of cores per socket.  The
per_cpu(dt_cpu_data, cpu) calcution falls over the deliberately non-canonical
poison value.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/common/debugtrace.c