mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 01:39:44 +08:00
fs/ and lib/ debug can be selectively enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@406 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -112,6 +112,26 @@
|
||||
# define nvdbg(x...)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
# define fdbg(format, arg...) dbg(format, ##arg)
|
||||
# define flldbg(format, arg...) lldbg(format, ##arg)
|
||||
# define fvdbg(format, arg...) vdbg(format, ##arg)
|
||||
#else
|
||||
# define fdbg(x...)
|
||||
# define flldbg(x...)
|
||||
# define fvdbg(x...)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_LIB
|
||||
# define ldbg(format, arg...) dbg(format, ##arg)
|
||||
# define llldbg(format, arg...) lldbg(format, ##arg)
|
||||
# define lvdbg(format, arg...) vdbg(format, ##arg)
|
||||
#else
|
||||
# define ldbg(x...)
|
||||
# define llldbg(x...)
|
||||
# define lvdbg(x...)
|
||||
#endif
|
||||
|
||||
/************************************************************
|
||||
* Public Type Declarations
|
||||
************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user