u-boot/doc/develop
Patrick Delaunay 54e89a8beb log: force DEBUG when LOG_DEBUG is activated
When CONFIG_LOG is activated, if LOG_DEBUG is defined in a file and
DEBUG is not defined the trace with debug() macro are not displayed,
because the parameter cond : _DEBUG = 0 is checked in debug_cond().

With this patch the define DEBUG, used to force the trace generated by
debug() macro, is linked with the define LOG_DEBUG, used to force the
trace generated by other macros (log_debug, dev_dbg, pr_debug).

We only need to define LOG_DEBUG in a file to activate all the
traces generated by any U-Boot debug macro, as it is described in
/doc/develop/logging.rst

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2022-07-26 02:30:56 -06:00
..
devicetree introduce CONFIG_DEVICE_TREE_INCLUDES 2022-01-25 12:35:57 -07:00
driver-model arm: Remove PXA architecture support 2022-07-07 09:29:08 -04:00
package binman: Add documentation for bintools 2022-01-25 12:36:11 -07:00
statistics doc: Add in the historical release statistics found on the wiki 2022-07-14 14:14:47 -04:00
uefi EFI: Update the documentation to reflect the correct value of OsIndications 2022-06-04 08:43:55 +02:00
bloblist.rst bloblist: Describe the design goals 2022-06-28 03:09:51 +01:00
bootstd.rst bootstd: doc: Add documentation 2022-04-25 10:00:04 -04:00
checkpatch.rst scripts/checkpatch.pl: Resync with v5.16 2022-02-03 12:16:00 -05:00
ci_testing.rst doc: Add basic information about running CI tests 2021-08-04 15:58:31 -04:00
coccinelle.rst doc: Coccinelle: move to HTML doc 2020-07-17 08:45:29 -04:00
codingstyle.rst doc: typo 'formatted' in codingstyle.rst 2022-07-18 17:21:49 +02:00
commands.rst linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
config_binding.rst doc: Add mention of the /config binding 2021-09-25 12:30:54 +02:00
crash_dumps.rst doc: correct description of crash dumps 2020-07-17 10:47:19 -04:00
designprinciples.rst designprinciples.rst: Perform minor cleanups 2022-07-14 14:13:50 -04:00
distro.rst bootstd: doc: Add documentation 2022-04-25 10:00:04 -04:00
environment.rst doc: Improve environment documentation further 2021-11-16 14:35:08 -05:00
event.rst Merge branch 'next' 2022-04-04 10:48:44 -04:00
global_data.rst nds32: Remove the architecture 2022-04-25 16:04:05 -04:00
index.rst doc: Add doc/develop/release_cycle.rst 2022-07-14 14:14:27 -04:00
logging.rst log: force DEBUG when LOG_DEBUG is activated 2022-07-26 02:30:56 -06:00
makefiles.rst doc: Bring in Makefile documentation 2021-07-24 10:49:51 +02:00
menus.rst doc: move README.menu to HTML documentation 2021-01-23 09:53:46 -05:00
moveconfig.rst Revert "global: Remove CONFIG_SYS_EXTRA_OPTIONS support" 2022-04-02 18:18:57 -04:00
printf.rst doc: printf() codes 2022-01-19 16:18:09 +01:00
process.rst doc: process: Correct and expand slightly on the Merge Window concept 2022-07-14 14:14:29 -04:00
py_testing.rst pytest: Show a message when sandbox crashes 2021-10-14 19:45:07 -04:00
python_cq.rst patman: Correct pylint errors 2022-03-02 10:28:12 -05:00
release_cycle.rst Prepare v2022.10-rc1 2022-07-25 20:31:12 -04:00
smbios.rst doc: describe generation of SMBIOS table 2022-02-26 07:37:00 +01:00
spl.rst Introduce Verifying Program Loader (VPL) 2022-05-02 09:58:13 -04:00
testing.rst doc: Create an intro section for testing 2021-08-01 09:05:24 -06:00
tests_sandbox.rst doc: Correct position of gdb '--args' parameter 2022-04-29 11:11:36 -04:00
tests_writing.rst doc: Explain briefly how to write new tests 2021-03-12 09:57:31 -05:00
trace.rst trace: sandbox: Use only the Kconfig options 2021-12-05 09:23:15 -07:00
version.rst acpi: Use U-Boot version for OEM_REVISION 2021-10-06 09:15:14 -04:00