When hyperthreads are disabled via smt=0 Xen boot parameter xentrace is no longer working, but crashing the system.
Patch 1 makes the xentrace user tool work on systems when not all possible cpu ids have an associated trace buffer allocated. Patch 2 corrects xentrace handling by sizing the control structures according to the physical cpus instead of taking online cpus into account only. Juergen Gross (2): xentrace: allow sparse cpu list xentrace: handle sparse cpu ids correctly in xen trace buffer handling tools/xentrace/xentrace.c | 18 ++++++++++++------ xen/common/trace.c | 6 +++--- 2 files changed, 15 insertions(+), 9 deletions(-) -- 2.16.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
