All of lore.kernel.org
 help / color / mirror / Atom feed
* dprintk() and gdprintk() to be compiled out when NDEBUG
@ 2015-02-11  7:50 Jan Beulich
  2015-02-11 10:05 ` Andrew Cooper
  2015-02-18 10:58 ` Ian Campbell
  0 siblings, 2 replies; 7+ messages in thread
From: Jan Beulich @ 2015-02-11  7:50 UTC (permalink / raw)
  To: xen-devel

All,

I'd like to propose to honor the 'd' in these functions' names (which
I understand to mean "debug") in that such functions should be
no-ops in non-debug builds. I'd then be inclined to introduce a
gprintk() automatically adding XENLOG_GUEST and the printing of
current using the %pv format. Quite likely the (mis-)use of these
two functions may then temporarily result in messages not meant
to be debugging ones to become hidden in non-debug builds. If
others agree, I'd try to make one pass through the tree to try to
identify such, but I'd like to ask others to also keep an eye on that
aspect.

Jan

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

end of thread, other threads:[~2015-02-18 11:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-11  7:50 dprintk() and gdprintk() to be compiled out when NDEBUG Jan Beulich
2015-02-11 10:05 ` Andrew Cooper
2015-02-11 10:32   ` Jan Beulich
2015-02-11 10:34     ` Andrew Cooper
2015-02-18 10:58 ` Ian Campbell
2015-02-18 11:05   ` Jan Beulich
2015-02-18 11:40     ` Ian Campbell

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.