-
- Downloads
Handle debug level by libs in easy_soc_libs
LIBWIFI_DEBUG_LEVEL env variable is created and can be set/get by the
ubus call. All libs in easy_soc_libs have been updated with new
functions
which are printed based on its level.
Debug_level is implemented with the following values
(the same as the linux kernel's log level):
ERR = 3
WARN = 4
INFO = 6
DBG = 7
Signed-off-by:
Grzegorz Sluja <grzegorz.sluja@iopsys.eu>
Showing
- libeasy/Makefile 1 addition, 1 deletionlibeasy/Makefile
- libeasy/debug.c 1 addition, 1 deletionlibeasy/debug.c
- libeasy/debug.h 23 additions, 0 deletionslibeasy/debug.h
- libeasy/easy.h 6 additions, 0 deletionslibeasy/easy.h
- libeasy/event.c 7 additions, 7 deletionslibeasy/event.c
- libeasy/tests/test_event.c 8 additions, 8 deletionslibeasy/tests/test_event.c
- libeasy/utils.c 1 addition, 1 deletionlibeasy/utils.c
- libethernet/bcm/bcm.c 10 additions, 10 deletionslibethernet/bcm/bcm.c
- libethernet/ethernet.c 6 additions, 6 deletionslibethernet/ethernet.c
- libethernet/ethernet.h 5 additions, 0 deletionslibethernet/ethernet.h
- libethernet/ethsw.c 1 addition, 1 deletionlibethernet/ethsw.c
- libwifi/Makefile 1 addition, 1 deletionlibwifi/Makefile
- libwifi/chlist.c 1 addition, 1 deletionlibwifi/chlist.c
- libwifi/modules/bcm.c 12 additions, 17 deletionslibwifi/modules/bcm.c
- libwifi/modules/intel.c 26 additions, 30 deletionslibwifi/modules/intel.c
- libwifi/modules/mtk.c 0 additions, 4 deletionslibwifi/modules/mtk.c
- libwifi/modules/nlwifi.c 12 additions, 16 deletionslibwifi/modules/nlwifi.c
- libwifi/modules/test.c 3 additions, 7 deletionslibwifi/modules/test.c
- libwifi/modules/wext.c 1 addition, 5 deletionslibwifi/modules/wext.c
- libwifi/util.h 4 additions, 0 deletionslibwifi/util.h
Loading
Please register or sign in to comment