Re: [PATCH] lpd: write debug messages to stdout with compile-time or run-time flags
Mauricio Faria de Oliveira <[email protected]> Wed, 9 Nov 2016 11:00:51 -0200
| Newsgroups | gmane.linux.tools.diag.devel |
|---|---|
| Message-ID | <[email protected]> |
On 11/09/2016 10:47 AM, Mauricio Faria de Oliveira wrote: > Submitting a v2 for this, and re-submitting the other patches as v3. BTW, I verified that the debug output is equivalent before/after this v2 ppc64-diag$ rm lpd/files.o; make CFLAGS='-DLPD_DEBUG' Before: ppc64-diag$ sudo ./lpd/usysident > output.old ppc64-diag$ grep -m1 DEBUG output.old DEBUG: mv_indicator_list(): Marvell HDD LED: After: ppc64-diag$ sudo ./lpd/usysident > output.new ppc64-diag$ grep -m1 DEBUG output.new DEBUG: mv_indicator_list(): Marvell HDD LED: Diff is none. (identical output) ppc64-diag$ diff output.old output.new ppc64-diag$ echo $? 0 -- Mauricio Faria de Oliveira IBM Linux Technology Center ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi