All of lore.kernel.org
 help / color / mirror / Atom feed
* [SPDK] SPDK_DEBUGLOG_FLAG_ENABLED behaviour
@ 2022-01-13 17:03 Damien Thenot
  0 siblings, 0 replies; only message in thread
From: Damien Thenot @ 2022-01-13 17:03 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 624 bytes --]

Hello,

I have been tinkering with SPDK code and was trying to use the macro 
`SPDK_DEBUGLOG_FLAG_ENABLED` (defined in `include/spdk/log.h`).

This macro expects a string but other uses of the log interface, e.g.  
`SPDK_DEBULOG`, expects a FLAG that will be turned in a string by the 
macro directly.


For my usage, I modified the macro to stringify the FLAG. Is this 
behaviour the expected one or is the current behaviour the correct one?

Best regards,

Damien Thenot


Damien Thenot | Vates XCP-ng Developer
XCP-ng & Xen Orchestra - Vates solutions
w: vates.fr | xcp-ng.org | xen-orchestra.com


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-13 17:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-13 17:03 [SPDK] SPDK_DEBUGLOG_FLAG_ENABLED behaviour Damien Thenot

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.