Changeset 6ce40059 in mainline for kernel/generic/include/debug.h


Ignore:
Timestamp:
2008-12-16T18:55:24Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4406fd65
Parents:
699743c
Message:

rename CONFIG_EDEBUG to CONFIG_LOG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/debug.h

    r699743c r6ce40059  
    6464#endif
    6565
    66 /** Extensive debugging output macro
     66/** Extensive logging output macro
    6767 *
    68  * If CONFIG_EDEBUG is set, the LOG() macro
     68 * If CONFIG_LOG is set, the LOG() macro
    6969 * will print whatever message is indicated plus
    7070 * an information about the location.
     
    7272 */
    7373
    74 #ifdef CONFIG_EDEBUG
     74#ifdef CONFIG_LOG
    7575#       define LOG(format, ...) \
    7676                printf("%s() at %s:%u: " format "\n", __func__, __FILE__, \
     
    8080#endif
    8181
    82 /** Extensive debugging execute macro
     82/** Extensive logging execute macro
    8383 *
    84  * If CONFIG_EDEBUG is set, the LOG_EXEC() macro
     84 * If CONFIG_LOG is set, the LOG_EXEC() macro
    8585 * will print an information about calling a given
    8686 * function and call it.
     
    8888 */
    8989
    90 #ifdef CONFIG_EDEBUG
     90#ifdef CONFIG_LOG
    9191#       define LOG_EXEC(fnc) \
    9292                { \
Note: See TracChangeset for help on using the changeset viewer.