All of lore.kernel.org
 help / color / mirror / Atom feed
* xentrace_setmask badly broken?
@ 2008-01-02 22:18 Dan Magenheimer
  2008-01-03  1:51 ` Mark Williamson
  0 siblings, 1 reply; 8+ messages in thread
From: Dan Magenheimer @ 2008-01-02 22:18 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com, rdg@hp.com


[-- Attachment #1.1: Type: text/plain, Size: 726 bytes --]

I was just looking at tools/xenmon/setmask.c which gets installed as /usr/sbin/xentrace_setmask.

Am I confused or is this badly broken (both 3.1.x and 3.2)?  Two problems:

1) Command line arguments to set the xentrace mask are completely ignored, and
2) The mask that IS always created and set is a bitwise-or of eight constants that are integers, not bitmasks, resulting in a mask which should be useless, except that the result -- either by accident or devious coding style -- comes out to be a reasonable value for a mask.

Looks like this has been broken since the beginning of (its) time so no rush to fix it, but if someone would be so kind as to confirm I am not seeing things, I will work up a patch.

Dan

[-- Attachment #1.2: Type: text/html, Size: 1845 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

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

end of thread, other threads:[~2008-02-27  3:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-02 22:18 xentrace_setmask badly broken? Dan Magenheimer
2008-01-03  1:51 ` Mark Williamson
2008-01-03  3:42   ` Rob Gardner
2008-01-04  8:13   ` migration and restore? tgh
2008-01-08 12:16     ` Andre Przywara
2008-01-08 12:57       ` Daniel Stodden
2008-02-27  1:36         ` tgh
2008-02-27  3:41           ` failure about xc_save tgh

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.