Commit 04b1bd2
argo: define argo_dprintk for subsystem debugging
A convenience for working on development of the argo subsystem:
setting a #define variable enables additional debug messages.
Signed-off-by: Christopher Clark <[email protected]>
Acked-by: Jan Beulich <[email protected]>
Reviewed-by: Roger Pau Monné <[email protected]>
===
Jan's further remark given with the Ack:
"This would better be an inline function, such that arguments passed in
actually get evaluated. Otherwise you risk overlooking variables used
for such logging only, and in particular the compiler then issuing
warnings (breaking the build due to -Werror)."
v3 added Roger's Reviewed-by
v3 added Jan's Ack
v2 xen-project#3 feedback, Jan: fix ifdef/define confusion error
v1 xen-project#4 feedback, Jan: fix dprintk implementation1 parent 7ecc52c commit 04b1bd2
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
22 | 31 | | |
23 | 32 | | |
24 | 33 | | |
| |||
0 commit comments