All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] xentrace: fix xentrace for smt=0
@ 2018-10-04 10:51 Juergen Gross
  2018-10-04 10:51 ` [PATCH v2 1/2] xentrace: allow sparse cpu list Juergen Gross
  2018-10-04 10:51 ` [PATCH v2 2/2] xentrace: handle sparse cpu ids correctly in xen trace buffer handling Juergen Gross
  0 siblings, 2 replies; 6+ messages in thread
From: Juergen Gross @ 2018-10-04 10:51 UTC (permalink / raw)
  To: xen-devel; +Cc: George.Dunlap, wei.liu2, ian.jackson, Juergen Gross

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
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-10-04 11:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-04 10:51 [PATCH v2 0/2] xentrace: fix xentrace for smt=0 Juergen Gross
2018-10-04 10:51 ` [PATCH v2 1/2] xentrace: allow sparse cpu list Juergen Gross
2018-10-04 11:22   ` George Dunlap
2018-10-04 11:25     ` Juergen Gross
2018-10-04 10:51 ` [PATCH v2 2/2] xentrace: handle sparse cpu ids correctly in xen trace buffer handling Juergen Gross
2018-10-04 11:39   ` George Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.